loblao / libpandadna

A parser for Disney's DNA files. It focus primarily on Toontown's DNA.
Other
38 stars 17 forks source link

Building libpandadna fails with latest panda3d on windows 11 #73

Open DarthMDev opened 2 years ago

DarthMDev commented 2 years ago
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 commented 2 years ago

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