These are chat archives for highfidelity/hifi

21st
Jan 2015
Leonardo Murillo
@murillodigital
Jan 21 2015 15:41
@nbq what’s your username in the alphas forum?
Jason Hawks
@nbq
Jan 21 2015 15:42
@murillodigital Coal
I found something very interesting here: https://github.com/sinkingsugar/bullet2-sharp-mobile which has bulletsim 2.82 in it that compiles static with vs2013
also got it to compile manually myself with this change: https://devhacksandgoodies.wordpress.com/2014/09/20/compiling-bullet-phyisics-2-82-on-visual-studio-2013/ so it will be interesting to see your method
Leonardo Murillo
@murillodigital
Jan 21 2015 15:45
that link includes one of the two “patches” you need to do
Jason Hawks
@nbq
Jan 21 2015 15:45
okie, I got the file you linked there so I will check it out now
oh I also had to remove from one .h file the fmin and fmax it used
Leonardo Murillo
@murillodigital
Jan 21 2015 15:47
these are the two changes I applied for it to build:
bulletphysics/bullet3#193
the first one’s the one on that other link you sent
Jason Hawks
@nbq
Jan 21 2015 15:48
okie thanks, I will check it out, thanks, and yeah, I tried to do a little detective work on my own while I waited, though it was not hifi specific
what that patch mentions in cl_MiniCL_Defs.h doing with namespace, I just commented it out and it compiled fine
Leonardo Murillo
@murillodigital
Jan 21 2015 15:51
yeah its basically the same effect I think
it simply will use the “stock” ones ;)
Jason Hawks
@nbq
Jan 21 2015 15:53
yep, so look at that, to be honest, not too aweful hard to do as long as hifi compiles
Leonardo Murillo
@murillodigital
Jan 21 2015 15:54
rebooting into windows, brb
Jason Hawks
@nbq
Jan 21 2015 15:54
k
Jason Hawks
@nbq
Jan 21 2015 16:32
@murillodigital, hifi compiled fine on my end with that lib
Leonardo Murillo
@murillodigital
Jan 21 2015 16:32
great
i'll have build instructions shortly
there's also a change you need to do on the cmakelists file
so it compiles with the proper flags
(bullet that is)
Jason Hawks
@nbq
Jan 21 2015 16:33
great, thanks and yeah, I remember seeing that mentioned, I use used the cmake from that first project I linked
cmake ........\bullet-2.82-r2704\ -G "Visual Studio 12" -DUSE_MSVC_RUNTIME_LIBRARY_DLL=ON -DBUILD_MULTITHREADING=OFF
msbuild BULLET_PHYSICS.sln /p:Configuration=Release /t:LinearMath:Rebuild;BulletCollision:Rebuild;BulletDynamics:Rebuild;BulletFileLoader:Rebuild;BulletSoftBody:Rebuild;BulletWorldImporter:Rebuild;BulletXmlWorldImporter:Rebuild
didnt paste 100% right but you get the idea