Hi.
I like to compile freecat to test PR, I start with these guide.
https://wiki.freecadweb.org/Compile_on_Windows
C make no errors, but when copiling have lot of warnings 62+ but not errors.
Finally when execute freecad.exe I have some errors and freecat not start.
freecad.exe system error not found
python38.dll
qt5widgets.dll
qt5gui.dll
qt5core.dll
Info:
W10Home
install GIT Git-2.32.0.2-64-bit
clone: https://github.com/FreeCAD/FreeCAD.git with tortoise GUI
Libpack: FreeCADLibs_12.5.2_x64_VC17.7z
Install Visual Studio Community vs_community__2002586652.1627323458 and install Visual C++ tools for CMake in VSC
install cmake-3.21.1-windows-x86_64, make configure ( no red flags ) make generate and open project.
IN VSC select release and all_build build.
Help Compiling FC to test PR.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Help Compiling FC to test PR.
I guess that this is what is explained in https://wiki.freecadweb.org/Compile_on_ ... ng_FreeCAD
Re: Help Compiling FC to test PR.
I have used those instructions numerous times. The warnings are not important; they just say that some code constructions are not the preferred method.
It is essential that the instructions on the referenced wiki page are followed exactly. Every time I have had a failure I went back and discoved I had skipped something.
The missing files issue indicates you may have skipped the section that says:
Gene
It is essential that the instructions on the referenced wiki page are followed exactly. Every time I have had a failure I went back and discoved I had skipped something.
The missing files issue indicates you may have skipped the section that says:
Code: Select all
FREECAD_COPY_DEPEND_DIRS_TO_BUILD
FREECAD_COPY_LIBPACK_BIN_TO_BUILD
FREECAD_COPY_PLUGINS_BIN_TO_BUILD
Re: Help Compiling FC to test PR.
Ok, thanks, I can now build freecad, but how to test a PR for example "Add Preference Pack support #4787"
Re: Help Compiling FC to test PR.
bieber, you can follow the instructions given by wmayer in this ticket but apply it to the relevant PR.
This is assuming you have previously cloned FreeCAD
This is assuming you have previously cloned FreeCAD
Code: Select all
cd Path_to_FreeCAD
git fetch https://github.com/chennes/FreeCAD/ addThemeSupport:addThemeSupport
mkdir ../build_addThemeSupport
git worktree add ../build_addThemeSupport addThemeSupport
cd ../build_addThemeSupport
mkdir build
cd build
cmake .. # eventually pass any parameters or run the GUI of cmake
make
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Help Compiling FC to test PR.
IMO using a worktree is a bit overkill for this.
The simple method is (for PR 4752 as an example) :
Code: Select all
git fetch origin pull/4752/head:MY_SUPER_TEST
git checkout MY_SUPER_TEST