[solved] [TD] master not compilable

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

[solved] [TD] master not compilable

Post by uwestoehr »

current master is no longer compilable because of this bug:

Code: Select all

25>D:\FreeCADGit\src\Mod\TechDraw\App\Cosmetic.h(177,24): error C2653: 'CLMODE': is not a class or namespace name (compiling source file D:\FreeCADGit\src\Mod\TechDraw\App\AppTechDraw.cpp)
25>D:\FreeCADGit\src\Mod\TechDraw\App\Cosmetic.h(183,24): error C2653: 'CLMODE': is not a class or namespace name (compiling source file D:\FreeCADGit\src\Mod\TechDraw\App\AppTechDraw.cpp)
I performed a complete recompilation but the problem persists.

@wandererfan, can you please have a look?
user1234
Veteran
Posts: 3512
Joined: Mon Jul 11, 2016 5:08 pm

Re: [TD] master not compilable

Post by user1234 »

uwestoehr wrote: Sat Jul 16, 2022 9:39 pm current master is no longer compilable because of this bug
Since i today work heavy with TechDraw (drawings, not programming), i pulled the master every 2 hours and compiled it (with ccache, so it is fast). Have not found any issue while compiling (or anything else).

Code: Select all

OS: Debian GNU/Linux 11 (bullseye) (X-Cinnamon/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.21.29598 (Git)
Build type: Release
Branch: master
Hash: e80e8bf7311c93b9c037ffa29062f182817bc884
Python 3.9.2, Qt 5.15.2, Coin 4.0.0, Vtk 9.0.1, OCC 7.6.2
Locale: English/United States (en_US)

Greetings
user1234
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: [TD] master not compilable

Post by uwestoehr »

I found the issue: git commit a4ec6d4f8
User avatar
adrianinsaval
Veteran
Posts: 5552
Joined: Thu Apr 05, 2018 5:15 pm

Re: [solved] [TD] master not compilable

Post by adrianinsaval »

Would be nice to have CI for windows too, if someone can provide a script to compile FreeCAD from a clean installation I can try to get into a github action
user1234
Veteran
Posts: 3512
Joined: Mon Jul 11, 2016 5:08 pm

Re: [solved] [TD] master not compilable

Post by user1234 »

adrianinsaval wrote: Sat Jul 16, 2022 11:24 pm Would be nice to have CI for windows too
There was a Windows CI before, this is what make me wonder. As i looked in the logs of the CI (can only see the check per default, for more i must allow cookies from gitlab), there was no Windows, also not a few moths ago. Is it dropped or was on gitlab never a Windows CI?


Greetings
user1234
User avatar
adrianinsaval
Veteran
Posts: 5552
Joined: Thu Apr 05, 2018 5:15 pm

Re: [solved] [TD] master not compilable

Post by adrianinsaval »

there was windows CI when travis was used, but we never implemented it on gitlab AFAIK. I think they have support for windows CI but we would need a machine to run it.
user1234
Veteran
Posts: 3512
Joined: Mon Jul 11, 2016 5:08 pm

Re: [solved] [TD] master not compilable

Post by user1234 »

adrianinsaval wrote: Sat Jul 16, 2022 11:43 pm but we never implemented it on gitlab AFAIK
OK, i did not know that. Thanks

Greetings
user1234
Post Reply