IRC log for #brlcad on 20110731

06:01.21 ``Erik hm
09:55.10 abhi2011 ok figured out the build system, seems like i have to add all include directories to the configure script with checks
10:54.11 abhi2011 hi
10:54.46 abhi2011 I have inserted some headers from the bullet library into brlcad and I have modified the build logic to look in the include library
10:55.19 abhi2011 however the compile stops when it sees the 'class' c++ keyword in one of the bullet headers
10:55.53 abhi2011 i think perhaps libged is not being compiled with some c++ compiler flag being appropriately set
11:08.05 abhi2011 http://bin.cakephp.org/view/1255993858
13:05.08 abhi2011 Generally successful compiles with Bullet go as follows : g++ -I/usr/local/include/bullet main.cpp -L/usr/local/lib -lBulletDynamics -lBulletCollision -lLinearMath
13:20.26 brlcad abhi2011: you can't include a c++ header into a .c file
13:20.58 brlcad you'll have to layer the interface so that the c++ is encapsulated
13:21.48 brlcad one way would be to have the src/libged/yourfile.c call functions from a src/libged/implfile.cpp (which includes the bullet header)
13:28.04 abhi2011 right
13:28.30 abhi2011 and the libraries need to be added to the configure script as well ?
14:01.51 ``Erik when the symbols are needed, they will need to be linked against the library or binary, yes... (might be better to use cmake instead of automake at this point)
14:12.39 CIA-62 BRL-CAD: 03kunigami * r45736 10/brlcad/trunk/src/liboptical/liboslrend.cpp: discovered how to get the object color from the closures. the next step is how to make the closure tell me to perform reflection
14:37.59 CIA-62 BRL-CAD: 03brlcad * r45737 10/brlcad/trunk/CMakeLists.txt: CAD_VERSION was only needed to bridge an m4 variable to a shell variable, cmake can just set BRLCAD_VERSION. on that note, use it where triplets are called for and keeping with our naming guidelines.
15:21.55 abhi2011 right, thanks brlcad and Erik
15:22.28 abhi2011 yah I would use cmake as soon as the issues with gcc 4.6.0 are resolved
16:56.48 brlcad abhi2011: most if not all of the issues should be resolved now
16:56.56 brlcad as of a couple days ago
16:58.03 abhi2011 cool, i will give it a try :)
17:33.01 *** join/#brlcad Stattrav (~Stattrav@117.192.137.213)
17:33.01 *** join/#brlcad Stattrav (~Stattrav@unaffiliated/stattrav)
17:38.29 *** join/#brlcad Stattrav_ (~Stattrav@117.192.139.18)
17:40.09 *** join/#brlcad Stattrav (~Stattrav@unaffiliated/stattrav)
20:32.53 brlcad starseeker: ``Erik: ping
22:04.58 brlcad ~seen tharis20
22:05.08 ibot tharis20 <~tharis@2.83.244.20> was last seen on IRC in channel #brlcad, 4d 21h 27m 46s ago, saying: 'oh man, I don't know how I'm going to wake up early tomorrow...'.
22:17.11 *** join/#brlcad brlcad (~sean@BZ.BZFLAG.BZ)
22:29.39 CIA-62 BRL-CAD: 03brlcad * r45738 10/brlcad/trunk/TODO: document initial thoughts on a 'simulate' command syntax
22:55.25 CIA-62 BRL-CAD: 03brlcad * r45739 10/brlcad/trunk/TODO: options for applying or not applying standard gravity in a simplified form (-g being default)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.