yoshinoToylogic / bulletsharp

Automatically exported from code.google.com/p/bulletsharp
MIT License
0 stars 0 forks source link

Where to get 'BulletMultiThreaded' project for compile ?? #45

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello!

I try to compile your library for x64 platform, but at current Solution of the 
"bullet"(https://code.google.com/p/bullet/) is not have finished 
BulletMultiThreaded  project.

I found folder "BulletMultiThreaded" and make new project, but it does not 
compile - now not present folder "CL":
Error   2   error C1083: Cannot open include file: 'CL/cl.h': No such file or 
directory   w:\bullet\src\bulletmultithreaded\gpusoftbodysolvers\opencl\btsoftbody
solverbuffer_opencl.h   27  1   BulletMultiThreaded

#ifdef USE_MINICL
    #include "MiniCL/cl.h"
#else //USE_MINICL
    #ifdef __APPLE__
        #include <OpenCL/OpenCL.h>
    #else
        #include <CL/cl.h> <<== this folder not found
    #endif //__APPLE__
#endif//USE_MINICL

I tried to use the folder cl.h MiniCL, but it does not contain more than one 
function and the project does not compile

Tell me where it is fashionable to take the correct version BulletMultiThreaded 
to be fashionable skompelirovat your wonderful library

Original issue reported on code.google.com by wlas...@mail.ru on 22 Dec 2012 at 4:12

GoogleCodeExporter commented 8 years ago
Hi!

Do you need BulletMultiThreaded? If not, you can disable it in CMake by 
removing BUILD_MULTITHREADING.

If you need BulletMultiThreaded and don't have an OpenCL SDK from AMD, Nvidia 
or Intel, then use MiniCL. In CMake you need to have:
BUILD_MINICL_OPENCL_DEMOS  [x]
BUILD_AMD_OPENCL_DEMOS     [ ]
BUILD_INTEL_OPENCL_DEMOS   [ ]
BUILD_NVIDIA_OPENCL_DEMOS  [ ]

Since this is strictly a Bullet question, then you might get better help in the 
Bullet forums: http://www.bulletphysics.org/Bullet/phpBB3/

Original comment by andres.traks on 26 Dec 2012 at 11:08

GoogleCodeExporter commented 8 years ago

Original comment by andres.traks on 28 Dec 2012 at 5:26

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Many thanks for the tip about the CMake - I knew nothing about this program and 
to build the project using vs2010.bat

using CMake I got all the right projects, and they are compiled

bulletsharp now finds all Lib but gives the following error:

 WorldImporter.cpp
1>  Generating Code...
1>  .NETFramework,Version=v4.0.AssemblyAttributes.cpp
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2022: metadata operation failed 
(80131195) : Custom attributes are not consistent: (0x0c00001c).
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2022: metadata operation failed 
(80131195) : Custom attributes are not consistent: (0x0c00002e).
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2022: metadata operation failed 
(80131195) : Custom attributes are not consistent: (0x0c000127).
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2022: metadata operation failed 
(80131195) : Custom attributes are not consistent: (0x0c00012e).
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2022: metadata operation failed 
(80131195) : Custom attributes are not consistent: (0x0c000131).
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2022: metadata operation failed 
(80131195) : Custom attributes are not consistent: (0x0c00015f).
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2022: metadata operation failed 
(80131195) : Custom attributes are not consistent: (0x0c000164).
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2022: metadata operation failed 
(80131195) : Custom attributes are not consistent: (0x0c000169).
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2022: metadata operation failed 
(80131195) : Custom attributes are not consistent: (0x0c00017d).
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2022: metadata operation failed 
(80131195) : Custom attributes are not consistent: (0x0c000182).
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2022: metadata operation failed 
(80131195) : Custom attributes are not consistent: (0x0c00018b).
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2022: metadata operation failed 
(80131195) : Custom attributes are not consistent: (0x0c000190).
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2022: metadata operation failed 
(80131195) : Custom attributes are not consistent: (0x0c0001c1).
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2022: metadata operation failed 
(80131195) : Custom attributes are not consistent: (0x0c0001c6).
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2022: metadata operation failed 
(80131195) : Custom attributes are not consistent: (0x0c0001d6).
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2022: metadata operation failed 
(80131195) : Custom attributes are not consistent: (0x0c0001dc).
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2022: metadata operation failed 
(80131195) : Custom attributes are not consistent: (0x0c000206).
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2022: metadata operation failed 
(80131195) : Custom attributes are not consistent: (0x0c000213).
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2022: metadata operation failed 
(80131195) : Custom attributes are not consistent: (0x0c0002de).
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2022: metadata operation failed 
(80131195) : Custom attributes are not consistent: (0x0c0002e2).
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2022: metadata operation failed 
(80131195) : Custom attributes are not consistent: (0x0c0002e5).
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2022: metadata operation failed 
(80131195) : Custom attributes are not consistent: (0x0c0002ed).
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2022: metadata operation failed 
(80131195) : Custom attributes are not consistent: (0x0c0002f2).
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2034: metadata inconsistent with 
COFF symbol table: symbol '??1logic_error@std@@$$FUAE@XZ' (06000010) has 
inconsistent metadata with (0A0003AC) in Stdafx.obj
1>MSVCMRTD.lib(locale0_implib.obj) : error LNK2034: metadata inconsistent with 
COFF symbol table: symbol '??0logic_error@std@@$$FQAE@ABV01@@Z' (0600002B) has 
inconsistent metadata with (0A000413) in Stdafx.obj
1>LINK : error LNK2034: metadata inconsistent with COFF symbol table: symbol 
'??0?$_DebugHeapAllocator@D@std@@$$FQAE@ABV01@@Z' (060011D0) has inconsistent 
metadata with (0A000164) in MSVCMRTD.lib(locale0_implib.obj)
1>LINK : error LNK2034: metadata inconsistent with COFF symbol table: symbol 
'??0?$allocator@D@std@@$$FQAE@ABV01@@Z' (060011D1) has inconsistent metadata 
with (0A000173) in MSVCMRTD.lib(locale0_implib.obj)
1>LINK : error LNK2034: metadata inconsistent with COFF symbol table: symbol 
'??3@$$FYAXPAX@Z' (0600117E) has inconsistent metadata with (0A000236) in 
MSVCMRTD.lib(locale0_implib.obj)
1>LINK : error LNK2034: metadata inconsistent with COFF symbol table: symbol 
'??_V@$$FYAXPAX@Z' (0600117C) has inconsistent metadata with (0A00023E) in 
MSVCMRTD.lib(locale0_implib.obj)
1>LINK : error LNK2034: metadata inconsistent with COFF symbol table: symbol 
'?free@@$$J0YAXPAX@Z' (06001743) has inconsistent metadata with (0A000260) in 
MSVCMRTD.lib(locale0_implib.obj)
1>LINK : error LNK2034: metadata inconsistent with COFF symbol table: symbol 
'??0_Lockit@std@@$$FQAE@H@Z' (060011D3) has inconsistent metadata with 
(0A000281) in MSVCMRTD.lib(locale0_implib.obj)
1>LINK : error LNK2034: metadata inconsistent with COFF symbol table: symbol 
'??1_Lockit@std@@$$FQAE@XZ' (060011D4) has inconsistent metadata with 
(0A000282) in MSVCMRTD.lib(locale0_implib.obj)
1>LINK : error LNK2034: metadata inconsistent with COFF symbol table: symbol 
'??0exception@std@@$$FQAE@ABV01@@Z' (060011D5) has inconsistent metadata with 
(0A00028A) in MSVCMRTD.lib(locale0_implib.obj)
1>LINK : error LNK2034: metadata inconsistent with COFF symbol table: symbol 
'??1exception@std@@$$FUAE@XZ' (060011D6) has inconsistent metadata with 
(0A00028E) in MSVCMRTD.lib(locale0_implib.obj)
1>LINK : error LNK2034: metadata inconsistent with COFF symbol table: symbol 
'?_Debug_message@std@@$$FYAXPB_W0I@Z' (060011D7) has inconsistent metadata with 
(0A00029B) in MSVCMRTD.lib(locale0_implib.obj)
1>LINK : fatal error LNK1255: link failed because of metadata errors

Original comment by wlas...@mail.ru on 7 Jan 2013 at 5:18