Search found 35 matches

by Yasser
Sat Jun 18, 2022 9:10 pm
Forum: Install / Compile
Topic: Coin warning in cc_glglue_instance(): Error when setting up the GL context
Replies: 0
Views: 879

Coin warning in cc_glglue_instance(): Error when setting up the GL context

Hello, After compiling then launching freecad 0.20.0 from terminal using win 7-64 with msys2 and clang it gives these lines with an error Sheet Metal workbench loaded Coin warning in cc_glglue_instance(): Error when setting up the GL context. This can happen if there is no current context, or if the...
by Yasser
Sat Jun 18, 2022 4:35 pm
Forum: Install / Compile
Topic: Win 7 Msys2 : How can i get all FreeCAD project .exe files using CLang and Ninja
Replies: 6
Views: 712

Re: Win 7 Msys2 : How can i get all FreeCAD project .exe files using CLang and Ninja

There is a file named ninja_deps already exist in the build folder.
so how can i run freecad from msys2 console (Terminal) !!
Okay it is running now
sorry guys i'm new :)

Code: Select all

cd build
./bin/freecad
by Yasser
Sat Jun 18, 2022 4:20 pm
Forum: Install / Compile
Topic: Win 7 Msys2 : How can i get all FreeCAD project .exe files using CLang and Ninja
Replies: 6
Views: 712

Re: Win 7 Msys2 : How can i get all FreeCAD project .exe files using CLang and Ninja

adrianinsaval wrote: Sat Jun 18, 2022 4:14 pm Are you running by double clicking on the exe or are you calling it from within msys, my guess is that it doesn't find the libraries by default
Yes i am running it by double clicking on the freecad.exe file.
by Yasser
Sat Jun 18, 2022 3:51 pm
Forum: Install / Compile
Topic: Win 7 Msys2 : How can i get all FreeCAD project .exe files using CLang and Ninja
Replies: 6
Views: 712

Re: Win 7 Msys2 : How can i get all FreeCAD project .exe files using CLang and Ninja

The portable version has a lot of exe because those are from the libraries, FreeCAD itself only has two exe AFAIK When i run freecad.exe it gives me nothing, it doesn't start up as usual as the downloaded one !! the building of freecad ended successfully (with some warnings and notes). what i know ...
by Yasser
Sat Jun 18, 2022 12:12 am
Forum: Install / Compile
Topic: Win 7 Msys2 : How can i get all FreeCAD project .exe files using CLang and Ninja
Replies: 6
Views: 712

Win 7 Msys2 : How can i get all FreeCAD project .exe files using CLang and Ninja

Hello, I'v got an .obj files after building by CMake and Ninja using these commands Note: the bin directory contains 7 files only, 2 freecad .exe files with 2 .pyd and 3 .dll. mkdir build cd build cmake -G "Ninja" ../FreeCAD -DBUILD_FEM=OFF ninja -j 4 Now .. how can i get the .exe files di...
by Yasser
Fri Jun 17, 2022 11:28 pm
Forum: Install / Compile
Topic: Win 7 Msys2 : during building this error shows up 'fatal: not a git repository ...' !!
Replies: 6
Views: 661

Re: Win 7 Msys2 : during building this error shows up 'fatal: not a git repository ...' !!

version_check tries to detect what version control system is used in the source and then extract the revision count, hash and last revision date from that, FreeCAD has been using git for years so that's the only version control relevant there really. Did you make a git clone of the project or downl...
by Yasser
Fri Jun 17, 2022 12:07 pm
Forum: Install / Compile
Topic: Win 7 Msys2 : during building this error shows up 'fatal: not a git repository ...' !!
Replies: 6
Views: 661

Re: Win 7 Msys2 : during building this error shows up 'fatal: not a git repository ...' !!

' /home/Baba/FreeCAD/src/Build/ C:/msys64/home/Baba/FreeCAD ' doesn't exist Set you one (green or red) of this paths? Okay i got it, but where to set it ?? this error happened between copying AddonManager and building E57Format (Generating version_checking) anyway i'll try to find it, then write it...
by Yasser
Fri Jun 17, 2022 11:19 am
Forum: Install / Compile
Topic: Win 7 Msys2 : during building this error shows up 'fatal: not a git repository ...' !!
Replies: 6
Views: 661

Re: Win 7 Msys2 : during building this error shows up 'fatal: not a git repository ...' !!

Ad hoc, do not use absolute paths with windows style. E.g.: C:/msys64/home/ I mean msys2 use chroot. So, it should be: /home/ But i didn't change anything yet in the sources or even cmakelists.txt except that i added these lines before project(FreeCAD) at the main cmakelists # Change compiler type ...
by Yasser
Fri Jun 17, 2022 10:36 am
Forum: Install / Compile
Topic: Win 7 Msys2 : during building this error shows up 'fatal: not a git repository ...' !!
Replies: 6
Views: 661

Win 7 Msys2 : during building this error shows up 'fatal: not a git repository ...' !!

Hello, during building by clang and clang++ compilers, this error message shows up [16/3398] Copying C:/msys64/home/Baba/FreeCAD/src/Mod/AddonManager/compact_view.py to C:/msys64/home/Baba/Build/Mod/AddonManager/compact_view.py [17/3398] Generating version_check fatal: not a git repository (or any o...
by Yasser
Wed Jun 15, 2022 6:34 pm
Forum: Install / Compile
Topic: Win 7 msys2 MinGW64: PythonStuff.cpp building error
Replies: 4
Views: 713

Re: Win 7 msys2 MinGW64: PythonStuff.cpp building error

The linker of msys2 is on windows very very slow (fork() topic [1].). What ever, with clang I get better result[2]. export CC=clang export CXX=clang++ Then: cmake -DBUILD_FEM=OFF ../freecad I think the following line use single build. cmake --build ./ Explicit single build: cmake --build . -j 1 Par...