From: Florian S. <fsc...@te...> - 2010-01-25 10:24:51
|
Sorry, for double sending, forgot to keep scgraph-users on the CC.. On Thu, 2010-01-21 at 19:04 +0100, Martin . wrote: > Hi there, > Hi, i must admit that scgraph as of now is abandon-ware. I don't really have much time to look into it. It's interesting, that _XOPEN_SOURCE is redefined at that point. Can you try this change: Replace #define _XOPEN_SOURCE 600 by: #ifndef _XOPEN_SOURCE #define _XOPEN_SOURCE 600 #endif in the offending file [plugin_pool.cc line 7] and see if it compiles then? Regards, Flo > I would like to try out scgraph but I get this error when compiling: > > --- Building dependency: plugin_pool.cc => deps/plugin_pool.dep > g++ -M -o deps/plugin_pool.dep plugin_pool.cc -pedantic -Wall > -Wno-long-long -ansi -Werror -DPREFIX=\"/usr/local\" > -DSC3_INCLUDE_PATH=\"/usr//include/SuperCollider/\" > -I/usr/share/qt4/include -DQT_THREAD_SUPPORT > -I/usr//include/SuperCollider//plugin_interface > -I/usr//include/SuperCollider//server > -I/usr//include/SuperCollider//common `pkg-config sndfile > GraphicsMagick++ --cflags` -DSC3_PLUGIN_PATH= > \"/usr//lib/SuperCollider/plugins\" -I./glew/ -DGLEW_MX -I./oscpack/ > -pthread > plugin_pool.cc:7:1: error: "_XOPEN_SOURCE" redefined > In file included from /usr/include/c > ++/4.4/i486-linux-gnu/bits/os_defines.h:39, > from /usr/include/c++/4.4/i486-linux-gnu/bits/c > ++config.h:243, > from /usr/include/c++/4.4/bits/stl_algobase.h:60, > from /usr/include/c++/4.4/vector:61, > from plugin_pool.h:4, > from plugin_pool.cc:1: > /usr/include/features.h:160:1: error: this is the location of the > previous definition > make[1]: *** No rule to make target `deps/plugin_pool.dep', needed by > `plugin_pool.o'. Stop. > make[1]: Leaving directory > `/media/sda7/home/martin/sc/DOWNL/scgraph/trunk/server' > make: *** [server] Error 2 > zsh: exit 2 make > > and dont really know how to attack the problem. any ideas? > > cheers, > martin > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ Scgraph-users mailing list Scg...@li... https://lists.sourceforge.net/lists/listinfo/scgraph-users -- Dipl.-Inform. Florian Paul Schmidt University of Bielefeld, Neuroinformatics Group, CITEC Contact: http://ekvv.uni-bielefeld.de/pers_publ/publ/personDetailAct?id=5504453 |