Hi Blessing! On Oct 7, 2014, at 1:34 PM, Blessing Atie wrote:
> Im Blessing Atie a student at University of Buea Cameroon and I would love to > hack Brlcad code. > I did an SVN checkout and read through the INSTALL and HACKING files as > recommended by brlcad on #brlcad and im getting this error when i run make: > ......... > [ 35%] Built target libpc > [ 35%] Building C object src/librtserver/CMakeFiles/rtserver.dir/rtserver.c.o > In file included from /usr/lib/jvm/default-java/include/jni.h:45:0, > from > /home/dario/Desktop/brlcad-7.24.2/src/librtserver/rtserver.c:45: > /usr/lib/jvm/default-java/include/jni_md.h:40:0: error: "UNUSED" redefined > [-Werror] > #define UNUSED(x) UNUSED_ ## x __attribute__((__unused__)) > ^ > In file included from > /home/dario/Desktop/brlcad-7.24.2/src/librtserver/rtserver.c:26:0: > /home/dario/Desktop/brlcad-7.24.2/include/common.h:220:0: note: this is the > location of the previous definition > # define UNUSED(parameter) UNUSED_ ## parameter __attribute__((unused)) > ^ Hah, now that's annoying. It's even an identical macro. Gosh darn it Java! > cc1: all warnings being treated as errors > make[2]: *** [src/librtserver/CMakeFiles/rtserver.dir/rtserver.c.o] Error 1 > make[1]: *** [src/librtserver/CMakeFiles/rtserver.dir/all] Error 2 > make: *** [all] Error 2 > > I will really appreciate help from anyone here. My immediate suggestion is to turn off the compilation of our Java code (nothing uses it) or just run "svn up" to get the change I just made. Looking at your compile line, though, you seem to have downloaded our 7.24.2 sources instead of our latest trunk sources. I suggest downloading from Subversion. See http://brlcad.org/wiki/Compiling Cheers! Sean ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ BRL-CAD Developer mailing list brlcad-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-devel