Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building libpandadna fails with latest panda3d on windows 11 #73

Open
DarthMDev opened this issue Jan 12, 2022 · 1 comment
Open

Building libpandadna fails with latest panda3d on windows 11 #73

DarthMDev opened this issue Jan 12, 2022 · 1 comment

Comments

@DarthMDev
Copy link
Contributor

DarthMDev commented Jan 12, 2022

Build started...
1>------ Build started: Project: ZERO_CHECK, Configuration: Release x64 ------
1>Checking Build System
2>------ Build started: Project: libpandadna, Configuration: Release x64 ------
2>Interrogate
2>/d/Github/TTG/Galaxy/dependencies/panda/include/DNAStorage.h(94,68): error G7418736E: syntax error, unexpected IDENTIFIER, expecting ')'
2>  PT(DNASuitPoint) store_suit_point(DNASuitPoint::DNASuitPointType type, LPoint3f pos);
2>                                                                   ^~~~
2>Error parsing file: 'SuitLegList.h'
2>Interrogating base
2>Interrogating suit
2>
2>The following command return a non-zero value (1): D:\Github\TTG\Galaxy\dependencies\panda\bin\interrogate -D__inline -DCPPPARSER -DP3_INTERROGATE=1 -D__cplusplus -fnames -string -refcount -assert -S"D:\Github\TTG\Galaxy\dependencies\panda/include/parser-inc" -S"D:\Github\TTG\Galaxy\dependencies\panda/include" -I"D:\Github\TTG\Galaxy\dependencies\panda/include" -I"D:\Github\TTG\libpandadna\src/base" -I"D:\Github\TTG\libpandadna\src/suit" -I"D:\Github\TTG\libpandadna\src/components" -srcdir "D:\Github\TTG\libpandadna\src/suit" -oc "D:\Github\TTG\libpandadna\src/suit_igate.cxx" -od "D:\Github\TTG\libpandadna\src/suit.in" -python-native -DCPPPARSER -D__STDC__=1 -D__cplusplus -D__inline -D_X86_ -DWIN32_VC -DWIN32 -module libpandadna -library suit -Dvolatile= DNASuitEdge.h DNASuitPath.h DNASuitPoint.h SuitLeg.h SuitLegList.h
2>H:\Developer-tools\Visual Studio\2022\professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(146,5): error MSB3073: The command "setlocal
2>H:\Developer-tools\Visual Studio\2022\professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(146,5): error MSB3073: D:\Github\TTG\Galaxy\dependencies\panda\python\python.exe D:/Github/TTG/libpandadna/src/run_interrogate.py D:/Github/TTG/Galaxy/dependencies/panda
2>H:\Developer-tools\Visual Studio\2022\professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(146,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
2>H:\Developer-tools\Visual Studio\2022\professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(146,5): error MSB3073: :cmEnd
2>H:\Developer-tools\Visual Studio\2022\professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(146,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
2>H:\Developer-tools\Visual Studio\2022\professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(146,5): error MSB3073: :cmErrorLevel
2>H:\Developer-tools\Visual Studio\2022\professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(146,5): error MSB3073: exit /b %1
2>H:\Developer-tools\Visual Studio\2022\professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(146,5): error MSB3073: :cmDone
2>H:\Developer-tools\Visual Studio\2022\professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(146,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
2>H:\Developer-tools\Visual Studio\2022\professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(146,5): error MSB3073: :VCEnd" exited with code 1.
2>Done building project "libpandadna.vcxproj" -- FAILED.
3>------ Skipped Build: Project: ALL_BUILD, Configuration: Release x64 ------
3>Project not selected to build for this solution configuration 
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 1 skipped ==========

@DarthMDev
Copy link
Contributor Author

This must be an issue with latest panda3d because visual studio 2019 also doesn't work

@DarthMDev DarthMDev changed the title Building libpandadna fails with visual studio 2022 Building libpandadna fails with latest panda3d Jan 12, 2022
@DarthMDev DarthMDev changed the title Building libpandadna fails with latest panda3d Building libpandadna fails with latest panda3d on windows 11 Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant