IRC log for #brlcad on 20110821

01:12.52 *** join/#brlcad abhi2011 (~chatzilla@ip170-79-211-87.adsl2.static.versatel.nl)
01:12.59 *** join/#brlcad Don_desk (~dtidrow@c-68-84-167-135.hsd1.mi.comcast.net)
03:18.39 CIA-62 BRL-CAD: 03abhi2011 * r46304 10/brlcad/trunk/src/mged/titles.c: Check if illuminated solid still exists or it has been killed, illump and es_edflag both need to be checked
03:18.44 *** join/#brlcad abhi2011 (~chatzilla@ip170-79-211-87.adsl2.static.versatel.nl)
06:09.47 *** join/#brlcad Yoshi47 (~jan@64.235.102.210)
06:51.47 *** join/#brlcad archivist (~archivist@host81-149-189-98.in-addr.btopenworld.com)
12:57.30 CIA-62 BRL-CAD: 03Abhi2011 07http://brlcad.org * r3080 10/wiki/User:Abhijit: /* Log */
12:59.44 CIA-62 BRL-CAD: 03Abhi2011 07http://brlcad.org * r3081 10/wiki/User:Abhijit: /* Log */
13:24.19 *** join/#brlcad kunigami (~kunigami@201.53.206.27)
13:48.49 abhi2011 starseeker: is there any way to check what flags are being used by the compiler when mged is being linked during the cmake build
13:50.08 abhi2011 if the entire command used to compile is printed then I could make out if its looking at the wrong place for the libs with the -L option
14:48.35 starseeker make VERBOSE=1
16:43.25 *** join/#brlcad ibot (~ibot@rikers.org)
16:43.25 *** topic/#brlcad is BRL-CAD Open Source Solid Modeling || http://brlcad.org || http://sf.net/projects/brlcad || #brlcad logs: http://ibot.rikers.org/%23brlcad/ || BRL-CAD release 7.20.2 is posted (20110701) || BRL-CAD is participating in the ESA Summer of Code in Space!
17:25.10 abhi2011 ok some progress on the linking issue
17:25.54 abhi2011 so in the top level cmake file I have specified : FIND_PACKAGE(Bullet)
17:25.56 abhi2011 LINK_DIRECTORIES("/usr/local/lib")
17:28.19 abhi2011 apparently include_directories("/usr/local/include/bullet") is no longer needed since I am using the FindBullet.cmake file that comes with the standard cmake modules
17:56.19 abhi2011 in the libged CMakeLists.txt file I have added BRLCAD_ADDLIB(libged "${LIBGED_SOURCES}" "libwdb librt libfb libbu libanalyze ${REGEX_LIBRARY} ${WINSOCK_LIB} ${M_LIBRARY} BulletDynamics BulletCollision LinearMath ")
17:56.37 abhi2011 and include_directories(....${BULLET_INCLUDE_DIR})
18:04.15 abhi2011 however when linking libged it asks for the -fPIC flag now : (btTypedConstraint.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
18:04.41 abhi2011 will try adding it using C_FLAGS in cmake
18:06.30 *** join/#brlcad DarkCalfz (DC@173.231.40.98)
18:53.55 *** join/#brlcad abhi2011 (~chatzilla@ip170-79-211-87.adsl2.static.versatel.nl)
18:59.30 CIA-62 BRL-CAD: 03bhinesley * r46305 10/brlcad/trunk/doc/docbook/system/mann/en/edit.xml: The edit manual is complete, unless I think of something else to add as I'm finishing up the translate manual.
20:02.49 abhi2011 ok I have finally got Bullet linked with libged : http://bin.cakephp.org/view/1033978153
20:03.45 abhi2011 Bullet produces static libs which were causing issues while compiling libged ..related to the fpic flag
20:04.02 abhi2011 so now I have bullet dynamic libs
20:04.09 abhi2011 and libged compiled ok
20:05.01 abhi2011 its not recommended to link dynamically with bullet however, so have to look into why later
20:41.35 *** join/#brlcad kunigami (~kunigami@201.53.206.27)
20:47.39 *** join/#brlcad DarkCalf (DC@173.231.40.98)
21:13.21 *** join/#brlcad DarkCalff (DC@173.231.40.98)
21:16.39 *** join/#brlcad DarkCalf (~DC@173.231.40.98)
21:23.50 *** join/#brlcad merzo (~merzo@25-83-132-95.pool.ukrtel.net)
21:24.17 *** join/#brlcad DarkCalf (DC@173.231.40.98)
21:25.49 *** join/#brlcad DarkCalff (~DC@173.231.40.98)
21:28.32 CIA-62 BRL-CAD: 03bhinesley * r46306 10/brlcad/trunk/src/libged/edit.c: Deleted mock manuals for the edit command and the translate subcommand.
21:29.31 *** join/#brlcad DarkCalfz (DC@173.231.40.98)
21:29.34 CIA-62 BRL-CAD: 03bhinesley * r46307 10/brlcad/trunk/doc/docbook/system/mann/en/edit_translate.xml: Added several examples.
21:34.47 *** join/#brlcad DarkCalfz (DC@173.231.40.98)
21:36.53 *** join/#brlcad DarkCalfz (DC@173.231.40.98)
21:40.06 *** join/#brlcad DarkCalff (DC@173.231.40.98)
21:42.20 CIA-62 BRL-CAD: 03bhinesley * r46308 10/brlcad/trunk/doc/docbook/system/mann/en/edit.xml: Remove testing junk left behind.
21:42.38 CIA-62 BRL-CAD: 03bhinesley * r46309 10/brlcad/trunk/doc/docbook/system/mann/en/edit_translate.xml: Several corrections and clarifications.
21:43.37 bhinesley starseeker: I think that about does it for the documentation
21:58.32 *** join/#brlcad DarkCalfz (~DC@173.231.40.98)
22:08.57 *** join/#brlcad DarkCalf (DC@173.231.40.98)
22:29.11 *** join/#brlcad abhi2011 (~chatzilla@ip170-79-211-87.adsl2.static.versatel.nl)
22:29.44 abhi2011 yipee ! just ran a bullet simulation inside mged and it gave the right values !
22:29.48 abhi2011 so things have linked correctly
22:33.54 CIA-62 BRL-CAD: 03Abhi2011 07http://brlcad.org * r3082 10/wiki/User:Abhijit: /* Log */
22:53.29 abhi2011 cant commit this code yet however because it will fail to compile on machines which do not have bullet installed or installed in a non-std location
22:54.27 abhi2011 have to add a condition in the libged/CMakeLists.txt file to exclude compiling simphysics.cpp if bullet is not detected
23:47.28 CIA-62 BRL-CAD: 03Kunigami 07http://brlcad.org * r3083 10/wiki/User:Kunigami/GSoc2011/Reports: /* Reports */

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