Fixes to compile MiniCL under Linux.
OpenCL fixes for Linux not processed yet (TBD)
This commit is contained in:
@@ -18,6 +18,7 @@ subject to the following restrictions:
|
|||||||
|
|
||||||
#include "bmpLoader.h"
|
#include "bmpLoader.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <cstring>
|
||||||
#include "LinearMath/btScalar.h"
|
#include "LinearMath/btScalar.h"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ subject to the following restrictions:
|
|||||||
3. This notice may not be removed or altered from any source distribution.
|
3. This notice may not be removed or altered from any source distribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "clstuff.h"
|
#include "clstuff.h"
|
||||||
#include "gl_win.h"
|
#include "gl_win.h"
|
||||||
|
|||||||
@@ -20,6 +20,9 @@ ELSE(CMAKE_CL_64)
|
|||||||
ENDIF(CMAKE_CL_64)
|
ENDIF(CMAKE_CL_64)
|
||||||
ENDIF(WIN32)
|
ENDIF(WIN32)
|
||||||
|
|
||||||
|
IF(UNIX AND NOT APPLE)
|
||||||
|
SET(CMAK_GLEW_LIBRARY /usr/lib/libGLEW.so )
|
||||||
|
ENDIF(UNIX AND NOT APPLE)
|
||||||
|
|
||||||
IF (USE_GLUT)
|
IF (USE_GLUT)
|
||||||
LINK_LIBRARIES(
|
LINK_LIBRARIES(
|
||||||
|
|||||||
@@ -329,4 +329,4 @@ public:
|
|||||||
virtual void copySoftBodyToVertexBuffer( const btSoftBody *const softBody, btVertexBufferDescriptor *vertexBuffer );
|
virtual void copySoftBodyToVertexBuffer( const btSoftBody *const softBody, btVertexBufferDescriptor *vertexBuffer );
|
||||||
}; // btOpenCLSoftBodySolver
|
}; // btOpenCLSoftBodySolver
|
||||||
|
|
||||||
#endif #ifndef BT_SOFT_BODY_SOLVER_OPENCL_H
|
#endif // #ifndef BT_SOFT_BODY_SOLVER_OPENCL_H
|
||||||
|
|||||||
Reference in New Issue
Block a user