Search found 200 matches

by waebbl
Sun Apr 30, 2023 12:12 am
Forum: Developers corner
Topic: FreeCAD Dependency Study
Replies: 3
Views: 1265

Re: FreeCAD Dependency Study

5.4.2. FLANN is needed by Gentoo. Apparently also included in LibPack. Where is it used? Looks like that's an incorrect dependency. I didn't find any occurence when grepping the FC sources and don't remember why I added it to the Gentoo build in the first place. However, the package builds without ...
by waebbl
Wed Apr 05, 2023 4:51 pm
Forum: Install / Compile
Topic: cmake, fetchcontent from github
Replies: 18
Views: 3108

Re: cmake, fetchcontent from github

One of the most purpose of cmake is, to INFORM which dependencies are missing, If you have a install of any package manager usable OS, after you get the sources and run the first time cmake, that it does not automatic download something, without informing from reasons (missing dependencies) and int...
by waebbl
Wed Apr 05, 2023 5:36 am
Forum: Install / Compile
Topic: cmake, fetchcontent from github
Replies: 18
Views: 3108

Re: cmake, fetchcontent from github

@chennes : in considering to annoy you to get this question answered, Can it be opt-in? To be explicit, opt-in as default, means -DFETCHCONTENT_FULL_DISCONNECTED = 1 Greetings user1234 edit: blue What do you expect from such a change? The configuration would still fail, if the fmt library isn't ins...
by waebbl
Sun Apr 02, 2023 10:51 pm
Forum: Install / Compile
Topic: cmake, fetchcontent from github
Replies: 18
Views: 3108

Re: cmake, fetchcontent from github

wmayer wrote: Sun Apr 02, 2023 2:34 pm So, then if the fmt package is installed things should work without internet connection, no?
Yes it should. And it did work for me in the sandboxed environment a couple of days ago.
by waebbl
Sun Apr 02, 2023 9:38 am
Forum: Install / Compile
Topic: cmake, fetchcontent from github
Replies: 18
Views: 3108

Re: cmake, fetchcontent from github

We should change the check for the fmt in FreeCAD. Instead of relying on how fetch_content works we should explicitly check for the fmt package with find_package and only if this fails we try fetch_content as fallback. This is already done in the current SetupLibFmt.cmake file. So if the package is...
by waebbl
Sat Apr 01, 2023 11:48 pm
Forum: Install / Compile
Topic: cmake, fetchcontent from github
Replies: 18
Views: 3108

Re: cmake, fetchcontent from github

Does not make this implementation better. For what is this new dependency? I'm not a fan of the fetch_content method either. It's not very distribution friendly and won't run without issues inside a sandbox. Haven't checked where the library is used within FC. But it's increasingly used with C++ pr...
by waebbl
Sat Apr 01, 2023 10:38 am
Forum: Install / Compile
Topic: cmake, fetchcontent from github
Replies: 18
Views: 3108

Re: cmake, fetchcontent from github

If you install the fmt library (using your package manager) before configuring FC, it should work. Cmake first uses a find_package(fmt) before using the fetch_content approach.
by waebbl
Sat Feb 25, 2023 8:26 pm
Forum: Developers corner
Topic: Contributing Requirements requiring a 'Platform' account
Replies: 9
Views: 1081

Re: Contributing Requirements requiring a 'Platform' account

There were extended discussions on this topic[1][2][3], yet the document isn't fixed and open for improvement. The FCP was based on the ZeroMQ C4 (Collective Code Construction Contract), hence the legal language that is being used. [1] https://forum.freecad.org/viewtopic.php?f=10&t=72769 [2] htt...
by waebbl
Sun Feb 12, 2023 7:12 pm
Forum: Install / Compile
Topic: Several issues / inconsistencies with building
Replies: 0
Views: 318

Several issues / inconsistencies with building

Today I started to add support for netgen to the Gentoo package of FC. To get the minimal needed dependencies, I set up a build with almost all options disabled but some basic workbenches which are always enabled on Gentoo, and additionally the netgen (BUILD_FEM_NETGEN) and tests (BUILD_TESTS). The ...
by waebbl
Tue Feb 07, 2023 6:46 pm
Forum: Developers corner
Topic: C++ Unit testing framework up and running
Replies: 35
Views: 4476

Re: C++ Unit testing framework up and running

These are separate executables and a user must run them from the command line in order to see any results. Another thing is that the packages will get quite bloated if each class has its own test executable. The files wont get installed onto the system. They are just run during the test phase of th...