Oh right I did the copy_libpack but forgot about the 2 others. I'm finishing building and will try that thanks.openBrain wrote: ↑Fri Oct 07, 2022 11:28 amDid you add all the appropriate lib paths to Windows PATH ?
If you didn't, you may have to instruct cmake withCode: Select all
-DFREECAD_COPY_DEPEND_DIRS_TO_BUILD=ON -DFREECAD_COPY_LIBPACK_BIN_TO_BUILD=ON -DFREECAD_COPY_PLUGINS_BIN_TO_BUILD=ON
[resolved] Build freecad broken !
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Build freecad broken !
Support me on Patreon: https://www.patreon.com/FreeCadDevDiary
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
Re: Build freecad broken !
It finally works.
For reference:
I think the root problem initially was that the libpack was out of date. Then when I installed the new pack, I changed the url to the libpack in cmake, but I didn't delete from the bin the libpack.
Then I deleted the whole bin, but in the new one I copied only the libpack and not the other 2 (DFREECAD_COPY_DEPEND_DIRS_TO_BUILD & DFREECAD_COPY_PLUGINS_BIN_TO_BUILD)
For reference:
I think the root problem initially was that the libpack was out of date. Then when I installed the new pack, I changed the url to the libpack in cmake, but I didn't delete from the bin the libpack.
Then I deleted the whole bin, but in the new one I copied only the libpack and not the other 2 (DFREECAD_COPY_DEPEND_DIRS_TO_BUILD & DFREECAD_COPY_PLUGINS_BIN_TO_BUILD)
Support me on Patreon: https://www.patreon.com/FreeCadDevDiary
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
Re: Build freecad broken !
@paddle There was already a (somehow hidden in the table) note about the update of the LibPack.
I improved this now by adding a new section:
https://wiki.freecadweb.org/Compile_on_ ... he_LibPack
I just made the latest LibPack we already use for the 0.20.1 builds "official":
https://github.com/FreeCAD/FreeCAD-LibPack/releases
Can you therefore please test if my instructions work for you when you update the LibPack?
Re: Build freecad broken !
Thanks for adding this paragraph. I'm sure it will be useful.uwestoehr wrote: ↑Fri Oct 07, 2022 7:11 pm@paddle There was already a (somehow hidden in the table) note about the update of the LibPack.
I improved this now by adding a new section:
https://wiki.freecadweb.org/Compile_on_ ... he_LibPack
I just made the latest LibPack we already use for the 0.20.1 builds "official":
https://github.com/FreeCAD/FreeCAD-LibPack/releases
Can you therefore please test if my instructions work for you when you update the LibPack?
It does work, the instruction are clear. Maybe you can add that instead of building INSTALL, one can select the build options in cmake? Though they may not appear so your way may be the best.
Support me on Patreon: https://www.patreon.com/FreeCadDevDiary
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
Re: [resolved] Build freecad broken !
Just an FYI, I am getting an error report on startup. Recent fresh overwrite install. I had a use for it and thought I'd try to teach myself how to use it finally.
A web search led me to this thread.
21:34:17 During initialization the error "module 'FreeCAD' has no attribute 'EndingAdd'" occurred in C:\apps\productivity\freecad\Mod\Image\InitGui.py
21:34:17 Please look into the log file for further information
As you can see, I am not using default path. I don't know if that is part of the problem or not.
A search of the folder reveals that there are multiple log files. I don't know which one to look into.
As long as the software works, I'm not too worried about it.
If someone is interested in cleaning it up, I would try to fill any data requests.
A web search led me to this thread.
21:34:17 During initialization the error "module 'FreeCAD' has no attribute 'EndingAdd'" occurred in C:\apps\productivity\freecad\Mod\Image\InitGui.py
21:34:17 Please look into the log file for further information
As you can see, I am not using default path. I don't know if that is part of the problem or not.
A search of the folder reveals that there are multiple log files. I don't know which one to look into.
As long as the software works, I'm not too worried about it.
If someone is interested in cleaning it up, I would try to fill any data requests.