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