From: Martin . <bli...@gm...> - 2010-01-21 18:04:24
|
Hi there, 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 |
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 |
From: Martin . <bli...@gm...> - 2010-01-25 21:58:55
|
Hi again, now, with the replacing code, the compilation got further, but stopped here: --- Building plugin: gl_renderer.cc => gl_renderer.so g++ -I../glew/ -I../oscpack/ -DGLEW_MX -shared -fpic -L/usr/share/qt4/lib -lQtGui -lQtCore -lQtOpenGL -lQtUiTools -export-dynamic -rdynamic -ldl -o gl_renderer.so gl_renderer.cc gl_renderer_moc.cc -I/usr/share/qt4/include -DQT_THREAD_SUPPORT -L/usr/share/qt4/lib -lQtGui -lQtCore -lQtOpenGL -lQtUiTools -pthread gl_renderer.cc: In member function ‘virtual void GLRenderWidget::initializeGL()’: gl_renderer.cc:73: error: ‘stderr’ was not declared in this scope gl_renderer.cc:73: error: ‘fprintf’ was not declared in this scope make[2]: *** [gl_renderer.so] Error 1 make[2]: Leaving directory `/media/sda7/home/martin/sc/DOWNL/scgraph/trunk/server/plugins' make[1]: *** [plugins] Error 2 make[1]: Leaving directory `/media/sda7/home/martin/sc/DOWNL/scgraph/trunk/server' make: *** [server] Error 2 zsh: exit 2 make i searched it and found this http://bbs.archlinux.org/viewtopic.php?id=59885 which suggests that we should add #include <cstdio> in a file, but im unsure which one many thanks, martin On Mon, Jan 25, 2010 at 11:24 AM, Florian Schmidt < fsc...@te...> wrote: > 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 > > > |
From: nescivi <ne...@gm...> - 2010-01-25 17:05:41
|
On Monday 25 January 2010 05:24:42 Florian Schmidt wrote: > 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. should we adopt it? I really like the concept, but have to admit that with the recent changes in SC, I've opted to not use it for my visualisation stuff, considering the time it would take to fix it.. ... but I think it is still an interesting little program and it would be sad to see it abandoned... sincerely, Marije > 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 > |