This is the patch the fixes the build errors:
- Code: Select all
diff --git a/applications/demosSandbox/CMakeLists.txt b/applications/demosSandbox/CMakeLists.txt
index bb0e475..1877e99 100644
--- a/applications/demosSandbox/CMakeLists.txt
+++ b/applications/demosSandbox/CMakeLists.txt
@@ -34,9 +34,9 @@ include_directories(${OPENGL_INCLUDE_DIRS})
target_link_libraries(demosSandbox ${OPENGL_LIBRARIES})
# julio commented this out for now
-#find_package(OpenAL REQUIRED)
-#include_directories(${OPENAL_INCLUDE_DIR})
-#target_link_libraries(demosSandbox ${OPENAL_LIBRARY})
+find_package(OpenAL REQUIRED)
+include_directories(${OPENAL_INCLUDE_DIR})
+target_link_libraries(demosSandbox ${OPENAL_LIBRARY})
if (WIN32 OR APPLE)
target_link_libraries(demosSandbox glfw tinyxml)
diff --git a/applications/demosSandbox/sdkDemos/toolBox/dSoundManager.cpp b/applications/demosSandbox/sdkDemos/toolBox/dSoundManager.cpp
index 4c5167b..73958aa 100644
--- a/applications/demosSandbox/sdkDemos/toolBox/dSoundManager.cpp
+++ b/applications/demosSandbox/sdkDemos/toolBox/dSoundManager.cpp
@@ -276,7 +276,7 @@ void* dSoundManager::CreateSound (const char* const fileName)
{
if (m_device) {
char path[2048];
- GetWorkingFileName (fileName, path);
+ dGetWorkingFileName (fileName, path);
dCRCTYPE code = dCRC64 (path);
dSoundAssetList::dTreeNode* assetNode = m_assets.Find(code);
Some of the demos are crashing or not working:
- Simple soft body: Crashing
- Simple cloth patch: Doesn't seem to do anything
- Advanced player controller: Doesn't move
- Basic player controller: Doesn't move
- Heavy vehicles: The tank is missing the caterpillar track. Doesn't seem to be able to move.
- Basic car: The camera is bellow the plane. There is no car
- Dynamic rag doll: Crashing
- Passive rag doll: Doesn't work right. The legs come off and the rest of the body doesn't collide correctly
- Structured convex fracture: Crashing
- Simple boolean operations: Crashing
- Paper wall continuous collision: Doesn't seem to work