[CM] trying to compile grace
James Baker
cycle.code.media@gmail.com
Tue, 4 Sep 2007 00:07:07 +1000
ahh theres a config flag in one of the juce header
files..juce_Config.h i think. Set it to zero to disable it and build
juce again
James
On 9/4/07, padovani <josepadovani@yahoo.com.br> wrote:
> So, I think I'm closer now... but, when trying to compile grace there is a
> Xinerama issue that I don't understand...
> Thanks again.
>
> root@ubuntu:/usr/local/lisp/grace# scons JUCEDIR=/usr/local/juce/juce-1.43 /
> scons: Reading SConscript files ...
> Checking for C library freetype... (cached) yes
> Checking for C library GLU... (cached) yes
> Checking for C library GL... (cached) yes
> Checking for C library asound... (cached) yes
> Checking for C++ header file juce.h... (cached) yes
> Checking for C library juce... (cached) yes
> scons: done reading SConscript files.
> scons: Building targets ...
> g++ -o build/grace build/Audio.o build/Buffer.o build/Console.o
> build/Editor.o build/FontList.o build/Grace.o build/Layer.o build/Lisp.o
> build/Resources.o build/Plotter.o build/Syntab.o build/Syntax.o
> -L/usr/X11R6/lib -L/usr/local/juce/juce- 1.43/bin -lfreetype -lGLU -lGL
> -lasound -ljuce
> /usr/local/juce/juce-1.43/bin/libjuce.a(juce_linux_Windowing.o):
> In function
> `juce::juce_updateMultiMonitorInfo(juce::Array<juce::Rectangle,
> juce::DummyCriticalSection>&, bool)':
> juce_linux_Windowing.cpp:(.text+0x1d39): undefined
> reference to `XineramaIsActive'
> juce_linux_Windowing.cpp:(.text+0x1d5c): undefined
> reference to `XineramaQueryScreens'
> collect2: ld returned 1 exit status
> scons: *** [build/grace] Error 1
> scons: building terminated because of errors.
>
>
> 2007/9/3, James Baker <cycle.code.media@gmail.com >:
> > you need to build juce with the command ->
> >
> > make CONFIG=Release
> >
> > otherwise you get the debug version
> >
> > James
> >
> > On 9/3/07, padovani <josepadovani@yahoo.com.br> wrote:
> > > So...
> > > When I compile Juce 1.43 (/juce/build/linux/ ... then "./runpremake" and
> > > "make"), I get a "/juce/bin/" structure that doesn't have a libjuce.a
> file..
> > > All I get is a "libjuce_debug.a".
> > > So I tried to compile it renaming libjuce_debug.a to libjuce.a and that
> is
> > > what I get...
> > > Probably I'm doing something stupid, but I can't see what is it... :P
> > >
> > > Zé
> > >
> > > root@ubuntu:/usr/local/lisp/grace# scons JUCEDIR=/usr/local/juce/juce-
> 1.43/
> > > scons: Reading SConscript files ...
> > > Checking for C library freetype... (cached) yes
> > > Checking for C library GLU... (cached) yes
> > > Checking for C library GL... (cached) yes
> > > Checking for C library asound... (cached) yes
> > > Checking for C++ header file juce.h... yes
> > > Checking for C library juce... yes
> > > scons: done reading SConscript files.
> > > scons: Building targets ...
> > > g++ -o build/Audio.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG
> > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Audio.cpp
> > > g++ -o build/Buffer.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG
> > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Buffer.cpp
> > > g++ -o build/Console.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG
> > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Console.cpp
> > > g++ -o build/Editor.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG
> > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Editor.cpp
> > > src/Editor.cpp:207: warning: non-local variable '<anonymous struct>
> > > syntaxFileTypes [32]' uses anonymous type
> > > g++ -o build/FontList.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG
> > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/FontList.cpp
> > > g++ -o build/Grace.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG
> > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Grace.cpp
> > > g++ -o build/Layer.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG
> > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Layer.cpp
> > > g++ -o build/Lisp.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG
> -I/usr/X11R6/include
> > > -Isrc -I/usr/local/juce/juce- 1.43 src/Lisp.cpp
> > > g++ -o build/Plotter.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG
> > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Plotter.cpp
> > > g++ -o build/Resources.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG
> > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43
> src/Resources.cpp
> > > g++ -o build/Syntab.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG
> > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Syntab.cpp
> > > g++ -o build/Syntax.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG
> > > -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Syntax.cpp
> > > src/Syntax.cpp:12:15: warning: extra tokens at end of #include directive
> > > g++ -o build/grace build/Audio.o build/Buffer.o build/Console.o
> > > build/Editor.o build/FontList.o build/Grace.o build/Layer.o build/Lisp.o
> > > build/Resources.o build/Plotter.o build/Syntab.o build/Syntax.o
> > > -L/usr/X11R6/lib -L/usr/local/juce/juce- 1.43/bin -lfreetype -lGLU -lGL
> > > -lasound -ljuce
> > >
> /usr/local/juce/juce-1.43/bin/libjuce.a(juce_linux_Windowing.o):
> > > In function
> > >
> `juce::juce_updateMultiMonitorInfo(juce::Array<juce::Rectangle,
> > > juce::DummyCriticalSection>&, bool)':
> > >
> /usr/local/juce/juce-1.43/build/linux/platform_specific_code/juce_linux_Windowing.cpp:2444:
> > > undefined reference to `XineramaIsActive'
> > > /usr/local/juce/juce-
> 1.43/build/linux/platform_specific_code/juce_linux_Windowing.cpp:2448:
> > > undefined reference to `XineramaQueryScreens'
> > > collect2: ld returned 1 exit status
> > > scons: *** [build/grace] Error 1
> > > scons: building terminated because of errors.
> > >
> > >
> > >
> > >
> > > 2007/9/3, padovani < josepadovani@yahoo.com.br>:
> > > > Oh... ok. I will try with the 1.43 version...
> > > > thanks!
> > > >
> > > > todd ingalls escreveu:
> > > > > i believe you might be trying to build against juce 1.44 . we still
> > > > > need to move to that version - could you try building against juce
> > > > > 1.43? we hope to have this updated soon!
> > > > >
> > > > > todd
> > > > >
> > > > >
> > > > > On Sep 2, 2007, at 6:11 PM, padovani wrote:
> > > > >
> > > > >> hi, I'm getting this error while trying to compile grace... Any
> Idea?
> > > > >> Zé
> > > > >>
> > > > >> root@ubuntu:/usr/local/lisp/grace# scons JUCEDIR=/usr/local/juce/
> > > > >> scons: Reading SConscript files ...
> > > > >> Checking for C library freetype... yes
> > > > >> Checking for C library GLU... yes
> > > > >> Checking for C library GL... yes
> > > > >> Checking for C library asound... yes
> > > > >> Checking for C++ header file juce.h... yes
> > > > >> Checking for C library juce... yes
> > > > >> scons: done reading SConscript files.
> > > > >> scons: Building targets ...
> > > > >> g++ -o build/Audio.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG
> > > > >> -I/usr/X11R6/include -Isrc -I/usr/local/juce src/Audio.cpp
> > > > >> src/Grace.h:20: error: 'ShinyLookAndFeel' does not name a type
> > > > >> scons: *** [build/Audio.o] Error 1
> > > > >> scons: building terminated because of errors.
> > > > >>
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
>
>