Front Page › Forums › Installing and compiling › The Command setlocal Errored with Error Code -1073741515
- This topic has 3 replies, 2 voices, and was last updated 3 years, 9 months ago by EmDash00.
-
AuthorPosts
-
July 2, 2020 at 8:40 pm #747437EmDash00Participant
After trying to compile for H3D on Linux for a while. I decided to switch to Windows and try to compile for Python3 since I had good success getting tests working there; however, I’m getting an error in the final build for H3DAPI.
Severity Code Description Project File Line Suppression State Error MSB3073 The command "setlocal C:\Users\draso\Downloads\Container\h3d\H3DAPI\H3DLoad\build\..\..\build\UpdateResourceFile H3DLoad C:/Users/draso/Downloads/Container/h3d/H3DAPI/build/windows/H3DLoad/H3DLoad.rc C:/Users/draso/Downloads/Container/h3d/H3DAPI/H3DLoad/build/H3DLoad.rc.cmake 2 4 1 $WCREV$ H3DLoad_SOURCE_DIR C:/Users/draso/Downloads/Container/h3d/H3DAPI/H3DLoad/build H3DLoad_Output_Name H3DLoad_d.exe if %errorlevel% neq 0 goto :cmEnd :cmEnd endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone :cmErrorLevel exit /b %1 :cmDone if %errorlevel% neq 0 goto :VCEnd setlocal "C:\Program Files\TortoiseSVN\bin\SubWCRev.exe" C:/Users/draso/Downloads/Container/h3d/H3DAPI/H3DLoad/build/../ C:/Users/draso/Downloads/Container/h3d/H3DAPI/build/windows/H3DLoad/H3DLoad.rc C:/Users/draso/Downloads/Container/h3d/H3DAPI/build/windows/H3DLoad/H3DLoad.rc if %errorlevel% neq 0 goto :cmEnd :cmEnd endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone :cmErrorLevel exit /b %1 :cmDone if %errorlevel% neq 0 goto :VCEnd :VCEnd" exited with code -1073741515. H3DLoad C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets 139
Similar errors occur in H3DLoad and H3DViewer.
July 3, 2020 at 12:30 pm #747438MarkusKeymasterOk.
Either an old version of the UpdatedResourceFile.exe file is being used so it requires some msvc 2010 dlls.
Or the command is somehow wrong or getting the wrong input. Either way the workaround is:Go to CMakeLists.txt for H3DLoad (or any other cmakelists.txt that has this problem) and remove the line(s) that call the function “setupResourceFile”.
That should fix this.Also your post contains your local computer user name. Not sure you want that.
July 3, 2020 at 4:41 pm #747441EmDash00ParticipantGood catch; however, I don’t know why but I can’t edit my message.
July 3, 2020 at 7:57 pm #747442EmDash00ParticipantAlright it seems to compile; however, it’s saying that python38.dll was not found when I try to launch H3DLoad. Currently using pyenv to manage my python version, so my installation is located under ~\.pyenv\.pyenv-win\versions\3.8.0-amd64
-
AuthorPosts
- You must be logged in to reply to this topic.