I'm new to Bullet. I'm trying to set it up for use in my school term project.
I used CMake as described in the wiki with "Visual Studio 11" as the compiler. When I add the Bullet projects to my solution in VS2012, I then get this popup pretty much any time I try to do anything afterwards.
In other words, I'm stuck at the "Project Dependencies..." part because it gives me that popup if I try to open that menu. Trying to run the debugger also becomes broken after adding any of the three projects.
You have to delete all of the following entries under Project-properties-framework and then it will work again. (I'm using the german version so I hope you will find it with my discription)
2>e:\users\david\downloads\bullet-2.79-rev2440\bullet-2.79\src\linearmath\btAlignedObjectArray.h(304): error C2719: 'CompareFunc' : le paramètre formel avec __declspec(align('16')) ne sera pas aligné
2> E:/Users/David/Downloads/bullet-2.79-rev2440/bullet-2.79/src\LinearMath/btGrahamScan2dConvexHull.h(88) : voir la référence à l'instanciation de la fonction modèle 'void btAlignedObjectArray<T>::quickSortInternal<btAngleCompareFunc>(L,int,int)' en cours de compilation
2> with
2> [
2> T=GrahamVector2,
2> L=btAngleCompareFunc
2> ]
2> E:/Users/David/Downloads/bullet-2.79-rev2440/bullet-2.79/src\LinearMath/btGrahamScan2dConvexHull.h(88) : voir la référence à l'instanciation de la fonction modèle 'void btAlignedObjectArray<T>::quickSortInternal<btAngleCompareFunc>(L,int,int)' en cours de compilation
2> with
2> [
2> T=GrahamVector2,
2> L=btAngleCompareFunc
2> ]
2>
2>ÉCHEC de la build.
I get this when I try and compile. I tried to clean and rebuild at least a dozen times, and always one of the files will get mad about the pdb. I've never seen this before. Any ideas?
@Granyte, you are using an out-of-date version of Bullet. Bullet is now 2.81, please upgrade.
@MaxGhost, that is likely some MSVC bug. Have you installed the latest service pack? Also, sometimes it helps to simply start the compiler again or rebuild all.
Also, it might be worth trying either cmake or premake generated projects.
Thanks,
Erwin
Everything's up to date. I've tried to rebuild all, clean, rebuild, etc. but it still gives that error on a random file when it compiles. I have no idea why.
Edit: Well, ok... Windows will always baffle me. Restarted my computer and now it seems to work. Good times.