These are chat archives for highfidelity/hifi

20th
Jan 2015
David Rowe
@ctrlaltdavid
Jan 20 2015 01:14
What's the trick to getting the latest source building on Windows? ... I've downloaded Bullet .82 SDK, unzipped it, then copied all files into \HighFidelity\lib\bullet alongside my other libraries. But cmake says it can't find Bullet.
Have also tried setting BULLET_ROOT_DIR to the directory, and to the src subdirectory, but both give the same cmake failure.
Stephen Birarda
@birarda
Jan 20 2015 01:25
hey @ctrlaltdavid I’ll see if I can help you
which things does cmake report it can’t find?
David Rowe
@ctrlaltdavid
Jan 20 2015 01:28
Could NOT find Bullet, try to set the path to Bullet root folder in the
system variable BULLET_ROOT_DIR (missing: BULLET_DYNAMICS_LIBRARY
BULLET_COLLISION_LIBRARY BULLET_MATH_LIBRARY)
I've tried putting different combinations of bullet folders in \HighFidelity\lib\bullet but haven't hit on a combination that works yet. ... Would be good to confirm the directory setup on the Windows build PC, perhaps?
Stephen Birarda
@birarda
Jan 20 2015 01:34
okay - so it finds the include
mind showing me what bullet/lib looks like?
David Rowe
@ctrlaltdavid
Jan 20 2015 01:36
It has the directories from the bullet Zip file ... build, Demos, docs, Extras, Glut, lib, src, Test, UnitTests ... plus a bunch of files from the root directory.
I've also tried putting the directories from the src folder directly in bullet/lib but same complaint
Stephen Birarda
@birarda
Jan 20 2015 01:38
can you send me a link to the sdk you downloaded?
I’ll peek at the structure and see why it would be tripping
(That's the Windows line endings one I downloaded)
Stephen Birarda
@birarda
Jan 20 2015 01:48
right
so bullet doesn’t actually include binaries
you’ve gotta build em
Leonardo Murillo
@murillodigital
Jan 20 2015 01:48
here now
yeah you gotta build
David Rowe
@ctrlaltdavid
Jan 20 2015 01:48
Ahhh!!
Stephen Birarda
@birarda
Jan 20 2015 01:48
and @murillodigital has steps specific to getting it working with hifi
we need to put that in build guide @murillodigital
Leonardo Murillo
@murillodigital
Jan 20 2015 01:48
yeap
however I’m not sure how to properly say
“copy a bunch of stuff manually cause that thing just doesnt build right!"
lol
anyways, there’s some manual labour I had to do go get it properly in place
since the install target just didnt work as expected
also, you need to patch bullet for it to build on VS2012
2013 sorry
and you need to edit the cmake file for it compiles with the proper flags
how about i document it @ctrlaltdavid and just ping you when done
David Rowe
@ctrlaltdavid
Jan 20 2015 01:51
Heh. ... Sounds great: I can be the guinea pig for the new, improved Windows build guide : )
Leonardo Murillo
@murillodigital
Jan 20 2015 01:51
cool, maybe you can figure out why the install target really didnt install, or what I was doing wrong
also I only managed to build as static libs, I tried dozens of things to get it built as dlls all unsuccessfully
David Rowe
@ctrlaltdavid
Jan 20 2015 01:52
I'll do my best
Leonardo Murillo
@murillodigital
Jan 20 2015 01:52
anyways, I’ll document tomorrow and ping you
and we can do some tag teaming see if we enhance the process
David Rowe
@ctrlaltdavid
Jan 20 2015 01:52
Sounds like a plan!
Jason Hawks
@nbq
Jan 20 2015 12:19
I also have a build setup with vs2013 under windows server 2012 r2 so once you get it published I would love to take a whack at it also