| 01:11.49 | *** join/#brlcad merzo_ (~merzo@102-0-133-95.pool.ukrtel.net) | |
| 01:14.23 | CIA-55 | BRL-CAD: 03brlcad * r51217 10/brlcad/trunk/doc/docbook/articles/en/oed.xml: fix a couple obvious typos |
| 01:37.06 | *** join/#brlcad stas (~stas@89.121.155.7) | |
| 01:58.51 | CIA-55 | BRL-CAD: 03crdueck * r51218 10/brlcad/trunk/src/librt/primitives/rpc/rpc.c: added a centroid function for rpc |
| 02:39.00 | CIA-55 | BRL-CAD: 03crdueck * r51219 10/brlcad/trunk/src/librt/primitives/rpc/rpc.c: added surface area function for rpc |
| 02:40.31 | CIA-55 | BRL-CAD: 03crdueck * r51220 10/brlcad/trunk/src/librt/primitives/table.c: updated rt_functab entry for rpc to use the new callbacks |
| 03:13.20 | *** join/#brlcad Guest9720 (~stas@89.121.155.7) | |
| 03:26.08 | CIA-55 | BRL-CAD: 03crdueck * r51221 10/brlcad/trunk/src/libged/analyze.c: updated analyze_rpc() to use the new callbacks, use print_volume_table() for displaying results |
| 04:04.48 | *** join/#brlcad Guest9720 (~stas@89.121.155.7) | |
| 04:05.01 | CIA-55 | BRL-CAD: 03crdueck * r51222 10/brlcad/trunk/src/librt/primitives/rpc/rpc.c: combined 'VSCALE then VADD2' operations with VJOIN1 macro |
| 04:08.30 | CIA-55 | BRL-CAD: 03phoenixyjll * r51223 10/brlcad/trunk/src/librt/primitives/ (5 files in 5 dirs): |
| 04:08.31 | CIA-55 | BRL-CAD: M primitives/rpc/rpc.c |
| 04:08.31 | CIA-55 | BRL-CAD: M primitives/brep/brep_debug.cpp |
| 04:08.31 | CIA-55 | BRL-CAD: M primitives/arb8/arb8.c |
| 04:08.31 | CIA-55 | BRL-CAD: M primitives/tgc/tgc.c |
| 04:08.31 | CIA-55 | BRL-CAD: M primitives/ell/ell.c |
| 06:06.36 | CIA-55 | BRL-CAD: 03phoenixyjll * r51224 10/brlcad/trunk/src/librt/primitives/ (arb8/arb8_brep.cpp arbn/arbn_brep.cpp): Modify wrong comments. |
| 06:11.12 | CIA-55 | BRL-CAD: 03phoenixyjll * r51225 10/brlcad/trunk/src/librt/primitives/brep/brep_debug.cpp: Remove unnecessary logic. |
| 06:19.30 | CIA-55 | BRL-CAD: 03phoenixyjll * r51226 10/brlcad/trunk/src/librt/ (4 files in 3 dirs): Add brep conversion function to ars. |
| 06:27.47 | *** join/#brlcad stas (~stas@89.121.155.7) | |
| 07:05.17 | *** join/#brlcad d_rossberg (~rossberg@BZ.BZFLAG.BZ) | |
| 08:42.01 | CIA-55 | BRL-CAD: 03d_rossberg * r51227 10/brlcad/trunk/src/librt/CMakeLists.txt: corrected a typing mistake: .c => .cpp |
| 08:51.45 | *** join/#brlcad merzo_ (~merzo@103-208-200-46.pool.ukrtel.net) | |
| 10:03.44 | starseeker | hmm... http://people.freedesktop.org/~steckdenis/clover/index.html |
| 10:08.18 | *** join/#brlcad ksuzee (~ksuzee91@46.149.82.166) | |
| 10:55.55 | *** join/#brlcad andrei_ (~andrei@5-12-67-226.residential.rdsnet.ro) | |
| 10:58.20 | CIA-55 | BRL-CAD: 03phoenixyjll * r51228 10/brlcad/trunk/src/librt/Makefile.am: correct .c => .cpp |
| 11:14.43 | CIA-55 | BRL-CAD: 03Phoenix 07http://brlcad.org * r3925 10/wiki/User:Phoenix/GSoc2012/Reports: /* Week 5 */ |
| 11:15.11 | CIA-55 | BRL-CAD: 03Phoenix 07http://brlcad.org * r3926 10/wiki/User:Phoenix/GSoc2012/Reports: /* Week 4 */ |
| 11:45.59 | CIA-55 | BRL-CAD: 03d_rossberg * r51229 10/brlcad/trunk/ (CMakeLists.txt include/common.h): |
| 11:45.59 | CIA-55 | BRL-CAD: build error in MSVS: asinh() is C99, implement it with log() and sqrt() if not present |
| 11:45.59 | CIA-55 | BRL-CAD: (and there where lots of trailing white spaces removed) |
| 11:57.37 | *** join/#brlcad ksuzee (~ksuzee91@46.149.82.166) | |
| 12:03.18 | CIA-55 | BRL-CAD: 03bob1961 * r51230 10/brlcad/trunk/src/libged/wdb_obj.c: Don't need the call to bu_log_hook_delete_all() because the previous call to bu_log_hook_save_all() empties the list. |
| 12:11.55 | d_rossberg | BRLCAD_FUNCTION_EXISTS does not find asinh() on Linux |
| 12:14.20 | starseeker | yeah, noticed |
| 12:14.38 | starseeker | d_rossberg: what suddenly prompted the asinh build error on MSVC? |
| 12:15.42 | d_rossberg | src/librt/primitives/rpc/rpc.c |
| 12:15.47 | starseeker | ah |
| 12:16.17 | starseeker | BRLCAD_FUNCTION_EXISTS just wraps CHECK_FUNCTION_EXISTS |
| 12:16.30 | starseeker | which is a standard CMake routine |
| 12:17.40 | d_rossberg | yes, i saw it; there is a message during the test :warning: conflicting types for built-in function 'asinh' [enabled by default] |
| 12:19.20 | d_rossberg | maybe i can change it to a win32-only test like for hypot() |
| 12:19.59 | starseeker | what about check_symbol_exists? |
| 12:20.06 | starseeker | gmt seems to use that variation |
| 12:21.18 | starseeker | ah, right - that's what we did for hypot too |
| 12:21.29 | starseeker | yeah, if that works let's go with that for now |
| 12:22.44 | starseeker | asinh definition would move to config_win header |
| 12:27.38 | andrei_ | hello |
| 12:27.54 | andrei_ | I recompiled tpkg from source and added a smalll modification to my script |
| 12:27.58 | andrei_ | and now the server won't start at all |
| 12:28.20 | andrei_ | the only modification made was to add another parameter to pass the shell pid |
| 12:28.28 | andrei_ | I ll get it up on sourceforge now. |
| 12:28.42 | starseeker | andrei_: what's the error? |
| 12:29.04 | andrei_ | pkg_permserver: bind: errno=98 |
| 12:29.09 | andrei_ | it acts like the socket remained opened |
| 12:29.15 | andrei_ | but I tried several sockets. |
| 12:29.18 | starseeker | I think that error is something else... |
| 12:29.19 | andrei_ | I mean ports. |
| 12:29.48 | andrei_ | 'bind'. Error (98): Address already in use |
| 12:30.21 | starseeker | ``Erik: you around? I'm not much good with libpkg... |
| 12:31.30 | andrei_ | wierd |
| 12:31.49 | andrei_ | I changed it to 8000 and now it partially works. |
| 12:32.22 | CIA-55 | BRL-CAD: 03starseeker * r51231 10/brlcad/trunk/ (3 files in 2 dirs): asinh is like hypot test - can't handle it as a check_function_exists call. needs testing on Windows |
| 12:32.39 | starseeker | d_rossberg: probably something along those lines... |
| 12:34.11 | CIA-55 | BRL-CAD: 03starseeker * r51232 10/brlcad/trunk/INSTALL: Sync minor install file changes |
| 12:35.23 | starseeker | d_rossberg: that's not intended to be "final form" - just needed to get a change in there to get the "main" dev platforms going again |
| 12:43.02 | d_rossberg | now you were faster than myself, i'll have a look at it |
| 12:48.45 | ``Erik | jawhol? |
| 12:49.50 | andrei_ | hmm, I m getting a wierd ERROR: bu_malloc(0) |
| 12:51.03 | ``Erik | andrei_: that bind() address error means something is still listening on the socket, if you do netstat -na, you should find a line regarding that port... if you don't close a listening socket cleanly, the port will still be listening for a couple minutes in a semi-zombied state |
| 12:51.47 | ``Erik | bu_malloc() explicitely checks for a 0 sized alloc and fails, someone seemed to think that it didn't make sense |
| 12:51.47 | andrei_ | I know, but I was getting that error |
| 12:51.59 | andrei_ | even on "new " sockets |
| 12:52.15 | andrei_ | I tried from 2000 to 2005 or something like that |
| 12:52.21 | andrei_ | 8000 works, for example |
| 12:52.21 | ``Erik | something (maybe not your process) was already using the port |
| 12:52.46 | andrei_ | brlcad said that I should replace the sleep(1) after the server |
| 12:52.58 | andrei_ | with signal handling, so client starts only when server is ready |
| 12:53.16 | andrei_ | to do this, I passed the shell pid to tpkg server as an argument |
| 12:53.26 | andrei_ | then used kill() for the signal |
| 12:53.40 | ``Erik | ehhh, what he was talking about is unrelated to the error you just mentioned... the 'sleep' would be to give the server time to start up |
| 12:54.16 | ``Erik | SERVERPID=$(server -opts &) |
| 12:54.18 | ``Erik | sleep 1 |
| 12:54.25 | ``Erik | client -tops |
| 12:54.28 | ``Erik | wait $SERVERPID |
| 12:54.59 | andrei_ | I managed to fix the bind() error. |
| 12:55.50 | andrei_ | I get the bu_malloc(0) |
| 12:55.57 | andrei_ | because I added a second parameter to run_server |
| 12:56.09 | andrei_ | run_server(int port, pid_t shell_pid) { |
| 12:56.13 | ``Erik | (one 'elegant' solution to the listen/return daemon issue is use interthread communication and a '-d' option to background the process, the parent thread spinlocks on a global that the listening thread sets, so it returns after the socket is actually listening) |
| 12:57.37 | ``Erik | I don't think that's incredibly clear... let me psuedocode something |
| 12:59.54 | *** part/#brlcad ksuzee (~ksuzee91@46.149.82.166) | |
| 13:04.51 | ``Erik | http://brlcad.org/~erik/srv.c |
| 13:05.20 | ``Erik | psuedocode in a very C fashion, let me know if you get what I mean |
| 13:06.04 | *** join/#brlcad ksuzee (~ksu@46.149.82.166) | |
| 13:07.44 | andrei_ | so basically you have a server and a client in the same process |
| 13:07.53 | ``Erik | fork() creates a new process |
| 13:08.05 | ``Erik | and this is server only |
| 13:08.26 | ``Erik | this is how to make a -d option that backgrounds the process and returns AFTER the socket is live |
| 13:08.49 | ``Erik | so you can do "./server -d && ./client" without worrying about if the socket is up yet |
| 13:09.52 | ``Erik | note that it's not "./server -d & && ./client", the server process itself is responsible for backgrounding, not the shell |
| 13:10.11 | andrei_ | I did understand the idea behind of what you wrote |
| 13:10.23 | andrei_ | however, I don t really understand what does a sleep(0) do? |
| 13:10.51 | andrei_ | nervermind, found a docummentation |
| 13:11.01 | andrei_ | Thanks, I ll get to work now :) |
| 13:11.07 | ``Erik | heh, tha'ts a bit of unix-fu :) it surrenders the current run quanta and nothing else. it takes the process out of running state and puts it at the back of the run queue |
| 13:14.10 | andrei_ | ah, that makes sense. Really interesting approach |
| 13:14.45 | ``Erik | it's a class unix pattern, not terribly obvious until you've seen it |
| 13:14.48 | ``Erik | classic |
| 13:15.58 | CIA-55 | BRL-CAD: 03d_rossberg * r51233 10/brlcad/trunk/ (3 files in 2 dirs): made the asinh() handling a twin of hypot() |
| 13:22.28 | CIA-55 | BRL-CAD: 03erikgreenwald * r51234 10/brlcad/trunk/src/libpkg/ (CMakeLists.txt tpkg.c): |
| 13:22.28 | CIA-55 | BRL-CAD: Apply Andrei's tpkg patch to set the packet size. |
| 13:22.28 | CIA-55 | BRL-CAD: http://sourceforge.net/tracker/index.php?func=detail&aid=3529853&group_id=105292&atid=640804 |
| 13:23.32 | andrei_ | I didn't manage to find in man getopt |
| 13:23.52 | andrei_ | can getopt recycle the argument parsing |
| 13:24.22 | andrei_ | I mean, for example can I use it once to determine various parameters( such as package size) and then call it again in another function? |
| 13:25.05 | andrei_ | ah, found the answer myself. |
| 13:25.43 | ``Erik | splitting argument parsing between functions might make it difficult to follow the logic... |
| 13:26.46 | andrei_ | I want to make a wrapper for run_server that acts like the main in pseudocode |
| 13:27.24 | andrei_ | and I was going to check for the argument in function, will just pass a ok value from main instead. |
| 13:29.15 | andrei_ | actually, now everything looks rather clear. |
| 13:47.19 | andrei_ | ``Erik: thanks, now both tpkg and the script work. |
| 13:49.40 | ``Erik | cool beans |
| 13:50.15 | andrei_ | just testing for some high number of iterations now to see if anything breaks |
| 13:51.50 | ``Erik | do you have 2 machines on your local network that can run BRL-CAD? testing without using loopback would be a good idea |
| 13:53.32 | andrei_ | yes |
| 13:54.16 | ``Erik | cool, seeing a graph of mb/s vs packet size would be interesting |
| 13:55.00 | andrei_ | this is a bit wierd |
| 13:55.05 | andrei_ | when I tested I forgot to remove the & |
| 13:55.11 | andrei_ | calling like this : ./$path/tpkg -p 8000 -R -d >> log_file 2>&1 |
| 13:55.28 | andrei_ | now remains stuck at listen |
| 13:55.47 | andrei_ | I think I might know why |
| 13:56.02 | ``Erik | might still have one running, "ps aux" and look? |
| 13:58.22 | andrei_ | there were some, killed them. |
| 13:58.26 | andrei_ | Restared and same issue |
| 14:00.08 | andrei_ | a moment, I m trying to provide a relevant paste |
| 14:00.51 | andrei_ | what I did was change run server like this |
| 14:00.53 | andrei_ | run_server(int port, int* is_listening) { |
| 14:01.12 | andrei_ | and set *is_listening to 1 before the listen loop |
| 14:01.42 | andrei_ | and this is the " main" function |
| 14:01.43 | andrei_ | http://slexy.org/view/s2y4vw6tsN |
| 14:03.45 | ``Erik | heh, ya didn't look up the actual details of fork() |
| 14:05.50 | andrei_ | hm, what do you mean |
| 14:05.57 | andrei_ | I know it creates an identical process with a different id |
| 14:06.19 | ``Erik | yes, but the return values aren't handled right in your code |
| 14:08.15 | andrei_ | it returns 0 and the child pid |
| 14:08.35 | andrei_ | going to read more about fork, I don t really understand it |
| 14:12.38 | andrei_ | I think I found the problem |
| 14:12.45 | andrei_ | should I close " the listening" for the childs |
| 14:12.51 | andrei_ | I don t think it's needed anymore |
| 14:23.17 | crdueck | starseeker: is there an issue with using asinh in primitives/rpc/rpc.c? i'm responsible for adding that. |
| 14:44.48 | d_rossberg | asinh isn't available in MSVC |
| 14:46.10 | crdueck | d_rossberg: well asinh can be rewritten with just log and sqrt. that would solve the problem yes? |
| 14:49.04 | crdueck | or has it already been fixed? |
| 14:49.35 | starseeker | crdueck: d_rossberg fixed it |
| 14:50.10 | *** join/#brlcad Technicus (~Technicus@108-209-12-110.lightspeed.oshkwi.sbcglobal.net) | |
| 14:55.48 | d_rossberg | that's not true: starseeker fixed it and i polished it a little bit ;) |
| 15:07.29 | CIA-55 | BRL-CAD: 03Plussai 07http://brlcad.org * r3927 10/wiki/User:Plussai/GSoC_2012_log: /* 16 June 2014 */ |
| 15:07.35 | CIA-55 | BRL-CAD: 03Plussai 07http://brlcad.org * r3928 10/wiki/User:Plussai/GSoC_2012_log: /* 18 June 2014 */ |
| 15:08.04 | CIA-55 | BRL-CAD: 03Plussai 07http://brlcad.org * r3929 10/wiki/User:Plussai/GSoC_2012_log: /* 18 June 2014 */ |
| 15:12.23 | CIA-55 | BRL-CAD: 03n_reed * r51235 10/brlcad/trunk/src/ (8 files in 4 dirs): Use scl_memmgr in generated schema libraries. Since scl_memmgr.h makes "new" a macro, it has to be included after uses of placement new to avoid breakage. SCL git d8d293b. |
| 15:19.46 | CIA-55 | BRL-CAD: 03n_reed * r51236 10/brlcad/trunk/src/other/step/src/fedex_plus/ (classes.c selects.c): avoid generating 'else if' to avoid MSVC limit of 128; SCL git dea7f8c |
| 15:39.47 | CIA-55 | BRL-CAD: 03r_weiss * r51237 10/brlcad/trunk/doc/docbook/system/mann/en/ (CMakeLists.txt reid.xml): Add documentation for the mged reid command. |
| 15:47.25 | *** join/#brlcad kane__ (~kane@dsbg-4d0a3cd2.pool.mediaWays.net) | |
| 15:53.09 | CIA-55 | BRL-CAD: 03n_reed * r51238 10/brlcad/trunk/src/other/step/ (20 files in 2 dirs): add fedex_plus/express memory cleanup function; SCL git f5d0cc5 |
| 15:57.05 | *** join/#brlcad jbschw (~jbschw@ool-4355ee10.dyn.optonline.net) | |
| 16:09.56 | CIA-55 | BRL-CAD: 03n_reed * r51239 10/brlcad/trunk/src/other/step/src/fedex_plus/ (classes.c classes_wrapper.cc selects.c): fix memory leaks reported by scl_memmgr; SCL git 3010afa |
| 16:11.05 | *** join/#brlcad msg (~John@unaffiliated/john) | |
| 16:19.40 | CIA-55 | BRL-CAD: 03n_reed * r51240 10/brlcad/trunk/src/other/step/src/fedex_plus/multpass.c: fix memory leaks reported by scl_memmgr; SCL git f7cde9f |
| 16:22.14 | *** part/#brlcad msg (~John@unaffiliated/john) | |
| 16:24.47 | CIA-55 | BRL-CAD: 03n_reed * r51241 10/brlcad/trunk/src/other/step/src/express/resolve.c: remove #if 0 code; SCL git ee13cda |
| 16:31.34 | CIA-55 | BRL-CAD: 03n_reed * r51242 10/brlcad/trunk/src/other/step/src/base/scl_memmgr.cc: more verbose warning message; SCL git c84330b |
| 16:48.38 | CIA-55 | BRL-CAD: 03Crdueck 07http://brlcad.org * r3930 10/wiki/User:Crdueck/log: |
| 16:49.36 | CIA-55 | BRL-CAD: 03r_weiss * r51243 10/brlcad/trunk/doc/docbook/system/mann/en/ (CMakeLists.txt bot_sync.xml): Added documentation for mged command bot_sync. |
| 16:53.54 | CIA-55 | BRL-CAD: 03r_weiss * r51244 10/brlcad/trunk/doc/docbook/system/mann/en/bot_face_sort.xml: Correct a syntax error in the xml file of the bot_face_sort command documentation. |
| 17:31.17 | *** join/#brlcad cristina (~quassel@188.24.50.251) | |
| 17:32.23 | CIA-55 | BRL-CAD: 03r_weiss * r51245 10/brlcad/trunk/doc/docbook/system/mann/en/ (CMakeLists.txt bot_flip.xml): Add documentation for the mged bot_flip command. |
| 17:32.23 | *** join/#brlcad cristina (~quassel@unaffiliated/cristina) | |
| 17:45.22 | *** part/#brlcad kane__ (~kane@dsbg-4d0a3cd2.pool.mediaWays.net) | |
| 17:47.54 | *** join/#brlcad kane_ (~Mesut@dsbg-4d0a3cd2.pool.mediaWays.net) | |
| 18:03.49 | CIA-55 | BRL-CAD: 03bob1961 * r51246 10/brlcad/trunk/src/tclscripts/archer/Archer.tcl: Save the nonedge color, occlusion mode and ghost intensity in the preferences file. |
| 18:17.08 | CIA-55 | BRL-CAD: 03n_reed * r51247 10/brlcad/trunk/src/other/step/src/ (6 files in 4 dirs): partial support for aggregate bounds that aren't compile-time constants; SCL git 7425e55d |
| 18:25.20 | crdueck | whats the general consensus on using macros vs inline functions? is there a preference one way or the other? |
| 18:40.12 | CIA-55 | BRL-CAD: 03crdueck * r51248 10/brlcad/trunk/src/librt/primitives/tgc/tgc.c: fixed error in rt_tgc_centroid() not accounting for the actual position of the tgc. made use of VJOIN1 to combine some operations. some ws and formatting changes |
| 18:40.41 | CIA-55 | BRL-CAD: 03r_weiss * r51249 10/brlcad/trunk/doc/docbook/system/mann/en/ (CMakeLists.txt bot_split.xml): Add documentation for the mged bot_split command. |
| 18:46.28 | CIA-55 | BRL-CAD: 03n_reed * r51250 10/brlcad/trunk/src/other/step/src/ (3 files in 2 dirs): cleanup from SCL git a86b035 and 6f60a8a |
| 18:50.52 | CIA-55 | BRL-CAD: 03Crdueck 07http://brlcad.org * r3931 10/wiki/User:Crdueck/log: |
| 18:51.31 | CIA-55 | BRL-CAD: 03bob1961 * r51251 10/brlcad/trunk/src/tclscripts/archer/ (Archer.tcl ArcherCore.tcl): Archer::buildObjRtImageView now returns a value (i.e. the last row occupied). Minor cleanup. |
| 18:54.50 | CIA-55 | BRL-CAD: 03n_reed * r51252 10/brlcad/trunk/src/other/step/src/fedex_plus/ (classes.c classes.h): print aggregate name instead of data member name; SCL git a72fa6e |
| 19:01.22 | *** join/#brlcad andrei_ (~andrei@5-12-67-226.residential.rdsnet.ro) | |
| 19:01.26 | andrei_ | hello |
| 19:02.24 | brlcad | helo |
| 19:02.34 | andrei_ | brlcad |
| 19:02.58 | andrei_ | opposing to your signal handling method, ``Erik explained me how to do the client-server testing |
| 19:03.00 | andrei_ | with threads |
| 19:03.09 | brlcad | very well |
| 19:03.27 | andrei_ | He did give me a pretty clear pseudocode, however I don't really understand threads |
| 19:03.47 | brlcad | now is this threading inside tpkg or inside your script? |
| 19:03.53 | andrei_ | inside tpkg |
| 19:04.04 | brlcad | so that's a bit of a problem then |
| 19:04.16 | brlcad | I presume you're wither calling pthreads or fork |
| 19:04.28 | brlcad | neither of which is portable as tpkg currently stands |
| 19:05.14 | andrei_ | ``Erik told me to use fork, I might not fully understand what he meant but I thought I needed pthreads |
| 19:05.27 | brlcad | fork() is great to learn, but not portable |
| 19:05.44 | brlcad | (nor is signal handling) |
| 19:06.05 | brlcad | what's the goal trying to be accomplished, or what's the problem? |
| 19:06.25 | andrei_ | I m trying to remove the sleep(1) after the server |
| 19:07.15 | andrei_ | (in the script) |
| 19:08.13 | andrei_ | if I m not mistaken, pthreads is portable |
| 19:08.38 | brlcad | sort of, not to windows |
| 19:09.19 | brlcad | pkg can use libbu, so you could use the parallelism we provide there |
| 19:09.40 | andrei_ | what I need is to have the server tell the client when it is ready |
| 19:10.11 | andrei_ | is there any way to achieve this without parallelism? |
| 19:11.50 | brlcad | lots of ways |
| 19:13.54 | brlcad | two simple ways, use a file semaphore |
| 19:14.45 | brlcad | add a server option to tpkg to create a file when it's ready, then the client just waits for that file to exist |
| 19:15.18 | andrei_ | join rosedu |
| 19:15.23 | andrei_ | meh |
| 19:16.03 | brlcad | this could be an actual semaphore file option or it could be a log file, for example |
| 19:16.17 | brlcad | then you know if the log exists when it previously didn't the server is running |
| 19:16.34 | brlcad | all easily testable from within a script or within C/libbu |
| 19:16.41 | brlcad | bu_file_exists() |
| 19:18.27 | CIA-55 | BRL-CAD: 03n_reed * r51253 10/brlcad/trunk/src/other/step/src/ (cleditor/STEPfile.inline.cc clstepcore/Registry.inline.cc): fix Registry memory leaks; SCL git a9173c8 and 626bb73 |
| 19:18.56 | andrei_ | also, I don't know if I should find out myself or ask. Could you provide some additional task ? I get stuck pretty often with this tpkg script and would be useful to have something else to work on |
| 19:25.13 | andrei_ | also, the script, in it's current status works only on one machine. Shouldn't I find some way of testing on a remote station aswell? |
| 19:44.17 | CIA-55 | BRL-CAD: 03n_reed * r51254 10/brlcad/trunk/src/other/step/src/clstepcore/ (4 files): free attributes list; SCL git c77471a |
| 19:53.36 | CIA-55 | BRL-CAD: 03n_reed * r51255 10/brlcad/trunk/src/other/step/src/ (4 files in 3 dirs): stash unnamed types in a list so they can be freed; SCL git 04f4c1d |
| 20:02.21 | CIA-55 | BRL-CAD: 03n_reed * r51256 10/brlcad/trunk/src/other/step/src/ (clstepcore/STEPaggregate.cc fedex_plus/classes.c): fix STEPaggregate memory leaks; SCL git 8a2665e |
| 20:08.05 | cristina | can anyone help me with this error: http://pastebin.mozilla.org/1668038 |
| 20:10.59 | cristina | I want to link my source code file dag.cpp (which doesn't need an executable yet) to the libavoid library. Therefore, I added ${AVOID_LIBRARY} by using BRLCAD_ADDLIB -- this generates the error above |
| 20:11.19 | cristina | I think it's because libavoid is a static library |
| 20:12.32 | cristina | however, when I have a main function inside my dag.cpp file and use BRLCAD_ADDEXEC(dag dag.cpp avoid) the brlcad compiles 100% |
| 20:19.26 | CIA-55 | BRL-CAD: 03n_reed * r51257 10/brlcad/trunk/src/other/step/src/clstepcore/ (ExpDict.cc ExpDict.h ExpDict.inline.cc): fix memory leaks; SCL git a1d6b25 |
| 21:09.12 | CIA-55 | BRL-CAD: 03Cprecup 07http://brlcad.org * r3932 10/wiki/User:Cprecup/GSoC2012_progress: 19/06/2012 tried to fix compilation error generated by lack of access to libavoid elements |
| 21:19.06 | brlcad | andrei_: when you get stuck, you should ask a question ;) |
| 21:19.18 | brlcad | otherwise, your proposal outlined a few tasks |
| 21:20.56 | brlcad | andrei_: a simple task worth adding would be a unit test for the libpkg API .. see src/libbu/test_*.c for examples of other API unit tests |
| 21:21.24 | brlcad | in the process of creating a unit test, try to break the library .. then fix it |
| 21:22.32 | brlcad | cristina: you cannot (and should not) add symbols to an existing installed library, especially a third-party library like libavoid |
| 21:23.42 | brlcad | now linking in the libavoid library with your dag.c WITHIN libged (which is what I think you meant?) is fine |
| 21:24.15 | brlcad | if that's what the error is from, then you're right -- the problem is due to the attempt to link against a static library |
| 21:24.40 | brlcad | sounds like either libavoid needs to be recompiled differently or needs to be linked differently in our cmake logic |
| 22:22.27 | *** join/#brlcad crdueck_ (~cdk@d173-238-127-19.home4.cgocable.net) | |
| 22:23.36 | *** join/#brlcad crdueck (~cdk@d173-238-127-19.home4.cgocable.net) | |