| 00:11.10 | *** join/#brlcad xth1 (~thiago@201.82.133.112) | |
| 02:01.24 | CIA-55 | BRL-CAD: 03phoenixyjll * r51258 10/brlcad/trunk/src/librt/primitives/tgc/tgc.c: Fix typo. |
| 03:11.43 | brlcad | crdueck: there are cases for both, "it depends" |
| 07:32.42 | *** join/#brlcad stas (~stas@89.121.155.7) | |
| 07:58.26 | *** join/#brlcad petaflot (~root@85-218-19-88.dclient.lsne.ch) | |
| 07:58.44 | *** join/#brlcad ksuzee (~ksu@193.151.105.83) | |
| 08:00.12 | petaflot | hello! I recently (yesterday..) learned to play with brlcad. today, I tried to make use of the "hex" library. I generated a bolt M10x50, imported it, typed "B Bolt_M10x50.c". the bolt showed up, and as I tried to rotate it mged crashed. now mged crashes on every start, even when no file is opened. what can I do? |
| 08:05.35 | petaflot | gdb output: Starting program: /usr/brlcad/bin/mged |
| 08:05.35 | petaflot | [Thread debugging using libthread_db enabled] |
| 08:05.35 | petaflot | Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". |
| 08:05.35 | petaflot | [New Thread 0x7fffe1aad700 (LWP 18283)] |
| 08:05.35 | petaflot | Program received signal SIGABRT, Aborted. |
| 08:05.37 | petaflot | 0x00007fffe3ceb475 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 |
| 08:26.02 | *** join/#brlcad stas (~stas@89.121.155.7) | |
| 08:58.22 | *** join/#brlcad Mahi (~Mahi@li364-30.members.linode.com) | |
| 08:58.39 | brlcad | petaflot: that's very interesting but will take some time to debug -- stick around if you can, and perhaps post a full backtrace |
| 08:58.47 | brlcad | the lines after __GI_raise |
| 08:59.53 | brlcad | one thing you can try is to delete your ~/.mgedrc if you have one |
| 09:08.57 | *** join/#brlcad stas (~stas@82.137.14.47) | |
| 09:10.47 | petaflot | brlcad: ok, got back. a reboot fixed it - apparently I got short of resources somewhere |
| 09:12.42 | petaflot | now.. is it normal that allenbolts and nuts have no hole inside them? |
| 10:09.04 | *** join/#brlcad stas (~stas@89.121.155.7) | |
| 11:18.54 | cristina | brlcad: thank you for the response. I didn't mean to suggest that I want to add symbols to libavoid. Yes, you are right, I wanted to say that I want it linked within libged. |
| 11:19.40 | cristina | I looked through other CMakeLists.txt files but didn't find an example on how to link it differently |
| 12:30.33 | CIA-55 | BRL-CAD: 03Ksuzee 07http://brlcad.org * r3933 10/wiki/User:Ksuzee/Reports: |
| 12:30.53 | CIA-55 | BRL-CAD: 03Ksuzee 07http://brlcad.org * r3934 10/wiki/User:Ksuzee/Reports: |
| 13:01.22 | *** join/#brlcad Matt____ (792dacc6@gateway/web/freenode/ip.121.45.172.198) | |
| 13:02.23 | Matt____ | Hello. |
| 13:06.54 | CIA-55 | BRL-CAD: 03bob1961 * r51259 10/brlcad/trunk/src/tclscripts/archer/Archer.tcl: Added an optional argument to Archer::raytracePlus (i.e. _batch_list) which allows raytracePlus to write render commands to a file |
| 13:41.38 | *** join/#brlcad anuragmurty (~anurag@14.139.128.11) | |
| 13:42.11 | anuragmurty | brlcad : hi |
| 13:57.05 | CIA-55 | BRL-CAD: 03bob1961 * r51260 10/brlcad/trunk/src/tclscripts/archer/Archer.tcl: Added --no-gui and --input options to the rtwizard commands that are being written out to a file. |
| 14:21.21 | CIA-55 | BRL-CAD: 03n_reed * r51261 10/brlcad/trunk/src/other/step/src/ (3 files in 2 dirs): fix memory leaks; SCL git 5aca337 and dd6ef88 |
| 14:51.12 | CIA-55 | BRL-CAD: 03phoenixyjll * r51262 10/brlcad/trunk/src/librt/ (6 files in 5 dirs): Use ft_brep functions for half and pnts, returning a NULL brep pointer, and check within brep_conversion() and brep_conversion_tree(). |
| 15:04.24 | CIA-55 | BRL-CAD: 03Phoenix 07http://brlcad.org * r3935 10/wiki/User:Phoenix/GSoc2012/Reports: /* Week 5 */ |
| 15:06.09 | *** join/#brlcad stas (~stas@89.121.155.7) | |
| 15:15.53 | cristina | brlcad: I found two solutions for my issue regarding the linking in of libavoid with my dag.cpp file within libged. They both imply using the -fPIC flag when compiling libavoid and one other thing: |
| 15:17.27 | cristina | 1. I've checked the misc/CMake/BRLCAD_Targets.cmake file and found out from there that the command BRLCAD_ADDEXEC allows one to give a NO_INSTALL option as an argument -- with this command BRL-CAD compiled 100% |
| 15:18.45 | cristina | and 2. as an alternative, I can just add ${AVOID_LIBRARY} inside the BRLCAD_ADDLIB command but then I need to create if/else statements inside the if/else statements where BULLET_FOUND is checked |
| 15:18.52 | cristina | which one of them is preferable? |
| 15:23.27 | CIA-55 | BRL-CAD: 03n_reed * r51263 10/brlcad/trunk/src/other/step/src/ (cleditor/instmgr.h clutils/gennodearray.h): mark some member functions const; SCL git 225180f |
| 16:35.22 | CIA-55 | BRL-CAD: 03Stattrav 07http://brlcad.org * r3936 10/wiki/User:Stattrav/GSoC2012_log: Updation of the logs. |
| 16:36.40 | CIA-55 | BRL-CAD: 03Stattrav 07http://brlcad.org * r3937 10/wiki/User:Stattrav/GSoC2012_log: Undo revision 3936 by [[Special:Contributions/Stattrav|Stattrav]] ([[User talk:Stattrav|Talk]]) |
| 16:40.56 | CIA-55 | BRL-CAD: 03Stattrav 07http://brlcad.org * r3938 10/wiki/User:Stattrav/GSoC2012_log: Updation of the logs. |
| 16:46.12 | CIA-55 | BRL-CAD: 03bob1961 * r51264 10/brlcad/trunk/src/tclscripts/archer/Archer.tcl: In Archer::raytracePlus, need to add braces around the orientation and eye_pt. |
| 16:48.52 | CIA-55 | BRL-CAD: 03r_weiss * r51265 10/brlcad/trunk/doc/docbook/system/mann/en/ (CMakeLists.txt rtarea.xml): Add documentation for mged rtarea command. |
| 16:57.39 | CIA-55 | BRL-CAD: 03r_weiss * r51266 10/brlcad/trunk/doc/docbook/system/mann/en/rtarea.xml: Update to mged rtarea command documentation. |
| 17:10.19 | *** part/#brlcad anuragmurty (~anurag@14.139.128.11) | |
| 17:18.01 | CIA-55 | BRL-CAD: 03bob1961 * r51267 10/brlcad/trunk/src/tclscripts/archer/Archer.tcl: Disabling tree attributes. |
| 17:18.38 | *** join/#brlcad jbschw (~jbschw@ool-4355ee10.dyn.optonline.net) | |
| 17:53.30 | CIA-55 | BRL-CAD: 03n_reed * r51268 10/brlcad/trunk/src/other/step/src/cleditor/ (STEPfile.cc STEPfile.h STEPfile.inline.cc): support for checking read/write progress; SCL git 0bea3ef |
| 17:54.23 | *** join/#brlcad anuragmurty (~anurag@14.139.128.11) | |
| 17:55.25 | *** join/#brlcad ksuzee (~ksu@46.149.81.166) | |
| 18:04.33 | *** join/#brlcad andrei__ (~andrei@5-12-67-226.residential.rdsnet.ro) | |
| 18:40.12 | andrei__ | hello |
| 18:41.00 | andrei__ | a while loop from brlcad/sh ( more precise, in ws.sh) causes an error on my system |
| 18:41.42 | andrei__ | nevermind, was my mistake. |
| 18:45.04 | ``Erik | http://cvdazzle.com/ |
| 19:23.24 | brlcad | cristina: which target did you mark as NO_INSTALL? |
| 19:24.19 | cristina | brlcad: the command was BRLCAD_ADDEXEC(dag dag.cpp "avoid;libbu;librt;libged" NO_INSTALL) |
| 19:24.28 | cristina | so dag |
| 19:24.39 | cristina | I am not sure this is ok |
| 19:25.05 | brlcad | it's not clear to me what a dag executable does |
| 19:25.40 | brlcad | I thought the idea was to add function(s) to libged |
| 19:26.01 | cristina | it shouldn't be an executable. I thought I can use this to specify it, but yes, the command BRLCAD_ADDEXEC says it pretty clearly that it should be an executable |
| 19:26.07 | cristina | so my approach is wrong |
| 19:26.46 | cristina | is the other solution correct? |
| 19:27.04 | brlcad | without knowing the details, it sounds sort of what I would expect |
| 19:27.24 | brlcad | your going to perform some test for libavoid |
| 19:27.39 | brlcad | if that library is available, your code is turned on (somehow) |
| 19:28.50 | cristina | find_package(ADAPTAGRAMS) |
| 19:28.50 | cristina | if(ADAPTAGRAMS_FOUND) |
| 19:28.50 | cristina | set(AVOID_SRCS |
| 19:28.50 | cristina | dag.cpp |
| 19:28.50 | cristina | ) |
| 19:28.52 | cristina | else(ADAPTAGRMS_FOUND) |
| 19:28.53 | brlcad | as a libged function, that ideally means adding a compile-time preprocessor define like HAVE_AVOID and enabling linkage against the LIBAVOID_LIBRARY in a CMakeLists.txt file |
| 19:28.54 | cristina | set(AVOID_SRCS "") |
| 19:28.56 | cristina | set(ged_ignore_files ${ged_ignore_files} dag.cpp) |
| 19:28.58 | cristina | endif(ADAPTAGRAMS_FOUND) |
| 19:29.36 | cristina | this is what I am using to see if I should ignore the source code file or not depending on the fact the library is found. |
| 19:29.55 | brlcad | so my suggested approach is slightly different |
| 19:30.26 | brlcad | from a usability perspective, it's really bizarre when a command is sometimes there, sometimes not |
| 19:30.48 | brlcad | more useful is for the command to always exist, but tell me that it's not available |
| 19:31.57 | brlcad | for that, you'd always compile dag.cpp .. but then have wrap much/most of the implementation in that file with #ifdef HAVE_ADAPTAGRAMS or something similar, and making the #else case provide that useful note that when it's not available |
| 19:32.54 | cristina | ah, I understand, I've seen this in the src/libged/simulate folder |
| 19:33.40 | brlcad | speaking of which, all your stuff should probably be in a subfolder too |
| 19:33.51 | brlcad | but don't do that right now, we're trying to prepare a release |
| 19:35.38 | cristina | alright. In conclusion, should I keep adding the dag.cpp file to ged_ignore_files if the library is found or just let it compile and ignore the source code inside ifdef HAVE_AVOID? |
| 19:37.15 | cristina | I am sorry, add the file to ged_ignore_files if libavoid isn't found |
| 19:39.21 | andrei__ | brlcad, I added a printf before the listen loop in the tpkg server, if I call it from the terminal the printf message is displayed correctly |
| 19:39.47 | andrei__ | however, if I call it like this : ./$path/tpkg -p 2000 -R >> log_file 2>&1 & . I only get the "listening on *" |
| 19:40.35 | andrei__ | ( I did rebuild tpkg ) |
| 19:48.23 | andrei__ | seems the same using either printf/bu_log |
| 20:10.17 | brlcad | cristina: if it's going to always compile dag.cpp, then it shouldn't be in ged_ignore_files |
| 20:10.47 | cristina | brlcad: ok, it's all clear now, thank you |
| 20:13.14 | brlcad | you're quite welcome |
| 20:28.11 | CIA-55 | BRL-CAD: 03tbrowder2 * r51269 10/brlcad/trunk/src/libbu/redblack.3: change man catergory number to remove B suffix |
| 20:56.53 | CIA-55 | BRL-CAD: 03Ksuzee 07http://brlcad.org * r3939 10/wiki/User:Ksuzee/Reports: |
| 21:31.45 | *** join/#brlcad andrei_ (~andrei@5-12-67-226.residential.rdsnet.ro) | |
| 21:37.33 | andrei_ | I still don't manage to figure out how that can happen, when the script runs the message isn't written in the file |
| 21:37.36 | andrei_ | as it should be |
| 21:48.08 | CIA-55 | BRL-CAD: 03n_reed * r51270 10/brlcad/trunk/src/other/step/src/fedex_plus/classes.c: remove extra semicolons; SCL git 17cec63 |
| 22:08.25 | CIA-55 | BRL-CAD: 03anrgmrty * r51271 10/brlcad/trunk/src/conv/g-voxel.c: g-voxel.c modified so it gives voxels.txt with co-ordinates and fill distances of each region |
| 22:14.47 | CIA-55 | BRL-CAD: 0314.139.128.11 07http://brlcad.org * r3940 10/wiki/User:Anuragmurty: /* Development Log */ |
| 22:19.21 | CIA-55 | BRL-CAD: 03n_reed * r51272 10/brlcad/trunk/src/other/step/src/base/scl_memmgr.h: s/cstddef/stddef.h/ for benefit of borland; SCL git e45d705 |
| 22:32.48 | *** part/#brlcad anuragmurty (~anurag@14.139.128.11) | |
| 23:15.55 | *** join/#brlcad dtidrow (~dtidrow@c-68-84-167-135.hsd1.mi.comcast.net) | |
| 23:18.13 | *** join/#brlcad xth1 (~thiago@201.82.133.32) | |