First time posting here, as it's the first time I've run into a problem with bullet not found on the forums or via google.
Just for reference, C++ compiler issues are far from being a strong suit of mine (mainly Java ..I know, I know)
Setup
Windows 7 64bit
Bullet 2.78 (trunk latest - r2395)
Cmake 2.8
Code: Select all
cmake . -G "MinGW Makefiles" -DCMAKE_CXX_FLAGS:STRING=-DUSE_ADDR64 -DBUILD_SHARED_LIBS=OFF -DBUILD_DEMOS:BOOL=OFF -DBUILD_EXTRAS:BOOL=OFF -DCMAKE_BUILD_TYPE=Release
MinGW64 build fails (with the the MinGW64 binaries on the %PATH%).
Code: Select all
[ 1%] Building CXX object src/MiniCL/CMakeFiles/MiniCL.dir/MiniCL.obj
C:\Data\Development\bullet-trunk\src\MiniCL\MiniCL.cpp: In function 'void* localBufMalloc(int)':
C:\Data\Development\bullet-trunk\src\MiniCL\MiniCL.cpp:467:24: error: cast from 'int*' to 'long unsigned int' loses precision
C:\Data\Development\bullet-trunk\src\MiniCL\MiniCL.cpp: In function '_cl_context* clCreateContextFromType(cl_context_properties*, cl_device_type, void d*, cl_int*)':
mingw32-make[2]: *** [src/MiniCL/CMakeFiles/MiniCL.dir/MiniCL.obj] Error 1
mingw32-make[1]: *** [src/MiniCL/CMakeFiles/MiniCL.dir/all] Error 2
mingw32-make: *** [all] Error 2
Thanks in advance