MADEAPPS / newton-dynamics

Newton Dynamics is an integrated solution for real time simulation of physics environments.
http://www.newtondynamics.com
Other
938 stars 182 forks source link

fails to compile #194

Closed j4riv closed 2 years ago

j4riv commented 4 years ago

"The CXX compiler identification is GNU 9.2.0" " newton-dynamics/applications/demosSandbox/sdkDemos/toolBox/dSoundManager.cpp:279:3: ”GetWorkingFileName” was not declared in this scope; did you mean ”dGetWorkingFileName”? 279 | GetWorkingFileName (fileName, path); | ^~~~~~ | dGetWorkingFileName make[2]: *** [applications/demosSandbox/CMakeFiles/demosSandbox.dir/build.make:752: applications/demosSandbox/CMakeFiles/demosSandbox.dir/sdkDemos/toolBox/dSoundManager.cpp.o] "

branch: newton-3.14 https://github.com/MADEAPPS/newton-dynamics/blob/d533ea459c99c6b8f5c95e764958f7e1945367ce/applications/demosSandbox/sdkDemos/toolBox/dSoundManager.cpp#L279

JulioJerez commented 4 years ago

no sure how you get that error the entire file is under

if 0

endif

I was trying to add the sound for the vehicle demo, but I have not done yet. Make sure you are sync to the later, in case you have a dSound that is no ifdef 0