Fixes to compile MiniCL under Linux.

OpenCL fixes for Linux not processed yet (TBD)
This commit is contained in:
erwin.coumans
2010-08-24 21:35:28 +00:00
parent 1955d08f1b
commit 6a9e16501c
4 changed files with 6 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ subject to the following restrictions:
#include "bmpLoader.h"
#include <string>
#include <cstring>
#include "LinearMath/btScalar.h"

View File

@@ -13,7 +13,7 @@ subject to the following restrictions:
3. This notice may not be removed or altered from any source distribution.
*/
#include <stdio.h>
#include "clstuff.h"
#include "gl_win.h"

View File

@@ -20,6 +20,9 @@ ELSE(CMAKE_CL_64)
ENDIF(CMAKE_CL_64)
ENDIF(WIN32)
IF(UNIX AND NOT APPLE)
SET(CMAK_GLEW_LIBRARY /usr/lib/libGLEW.so )
ENDIF(UNIX AND NOT APPLE)
IF (USE_GLUT)
LINK_LIBRARIES(

View File

@@ -329,4 +329,4 @@ public:
virtual void copySoftBodyToVertexBuffer( const btSoftBody *const softBody, btVertexBufferDescriptor *vertexBuffer );
}; // btOpenCLSoftBodySolver
#endif #ifndef BT_SOFT_BODY_SOLVER_OPENCL_H
#endif // #ifndef BT_SOFT_BODY_SOLVER_OPENCL_H