You don't need a separate Python installation. The LibPack provides everything you need.I have Python 3.8.9 installed
Now you need to extend the PATH environment variable by the LibPack's bin directory. You don't need to do this system-wide but you can do this within VS. Therefore right-click on the FreeCADMain target in the Solution Explorer and go to Properties. There switch to Debugging and write this to the environment section:build was successful but when I try to launch the app I get the following errors (in order):
Code: Select all
Instead of getting a failure that Qt dlls cannot be found you get that an entry point isn't found. This looks like a binary incompatible Qt version is loaded. If you press F5 inside VS you should get some hints (see VS's Output window) about where the Qt dlls are located.But at least I'm getting new errors (sigh):
Don't give up!I'm getting tired.
Code: Select all
Build started... 1>------ Build started: Project: fc_version, Configuration: Release x64 ------ 1>Generating version_check 1>git 1>E:/Dev/FreeCAD19_Output/src/Build/Version.h.out written 1>Generating Version.h 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(240,5): warning MSB8065: Custom build for item "E:\Dev\FreeCAD19_Output\CMakeFiles\bfc1867e28e48ff3ba6cde6689ec44ff\version_check.rule" succeeded, but specified output "e:\dev\freecad19_output\src\build\version_check" has not been created. This may cause incremental build to work incorrectly. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(240,5): warning MSB8064: Custom build for item "E:\Dev\FreeCAD19_Output\CMakeFiles\bfc1867e28e48ff3ba6cde6689ec44ff\Version.h.rule" succeeded, but specified dependency "e:\dev\freecad19_output\src\build\version_check" does not exist. This may cause incremental build to work incorrectly. 1>Done building project "fc_version.vcxproj". ========== Build: 1 succeeded, 0 failed, 109 up-to-date, 0 skipped ==========
This can be fixed by setting FREECAD_COPY_PLUGINS_BIN_TO_BUILD with CMake-gui and then configure and generate.
That's not what I meant. If you press F5 to start debugging you should see the list of loaded dlls and their absolute paths. Then you should be able to see where are the incompatible dlls are located.Here's the output window from VS2019:
You have almost reached the goal. In the bin directory there must be a directory platforms with the qwindows.dll.I MUST have something truly weird about my machine/dev configuration. I can't believe the Master branch is in this state