[CM] trying to compile grace

padovani josepadovani@yahoo.com.br
Mon, 3 Sep 2007 11:02:01 -0300


------=_Part_8534_6787280.1188828121116
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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=3D/usr/local/juce/juce-1.4=
3/
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 functio=
n
`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=3DRelease
>
> 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" an=
d
> > "make"), I get a "/juce/bin/" structure that doesn't have a libjuce.afi=
le..
> >  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=E9
> >
> > root@ubuntu:/usr/local/lisp/grace# scons JUCEDIR=3D/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.43src/Resources.cp=
p
> > 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 directiv=
e
> > 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=E9
> > > >>
> > > >> root@ubuntu:/usr/local/lisp/grace# scons JUCEDIR=3D/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.
> > > >>
> > > >
> > > >
> > >
> > >
> >
> >
>

------=_Part_8534_6787280.1188828121116
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

So, I think I&#39;m closer now... but, when trying to compile grace there i=
s a Xinerama issue that I don&#39;t understand...<br>Thanks again.<br><br>r=
oot@ubuntu:/usr/local/lisp/grace# scons JUCEDIR=3D/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... (cache=
d) yes
<br>Checking for C++ header file juce.h... (cached) yes<br>Checking for C l=
ibrary juce... (cached) yes<br>scons: done reading SConscript files.<br>sco=
ns: 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/Synta=
x.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_updateMulti=
MonitorInfo(juce::Array&lt;juce::Rectangle, juce::DummyCriticalSection&gt;&=
amp;, bool)&#39;:
<br>juce_linux_Windowing.cpp:(.text+0x1d39): undefined reference to `Xinera=
maIsActive&#39;<br>juce_linux_Windowing.cpp:(.text+0x1d5c): undefined refer=
ence to `XineramaQueryScreens&#39;<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=3D"gmail_quote">2007/9/3, James Bake=
r &lt;<a href=3D"mailto:cycle.code.media@gmail.com">cycle.code.media@gmail.=
com
</a>&gt;:</span><blockquote class=3D"gmail_quote" style=3D"border-left: 1px=
 solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">y=
ou need to build juce with the command -&gt;<br><br>make CONFIG=3DRelease<b=
r>
<br>otherwise you get the debug version<br><br>James<br><br>On 9/3/07, pado=
vani &lt;<a href=3D"mailto:josepadovani@yahoo.com.br">josepadovani@yahoo.co=
m.br</a>&gt; wrote:<br>&gt; So...<br>&gt; When I compile Juce 1.43 (/juce/b=
uild/linux/ ... then &quot;./runpremake&quot; and
<br>&gt; &quot;make&quot;), I get a &quot;/juce/bin/&quot; structure that d=
oesn&#39;t have a libjuce.a file..<br>&gt;&nbsp;&nbsp;All I get is a &quot;=
libjuce_debug.a&quot;.<br>&gt; So I tried to compile it renaming libjuce_de=
bug.a to=20
libjuce.a and that is<br>&gt; what I get...<br>&gt; Probably I&#39;m doing =
something stupid, but I can&#39;t see what is it... :P<br>&gt;<br>&gt; Z=E9=
<br>&gt;<br>&gt; root@ubuntu:/usr/local/lisp/grace# scons JUCEDIR=3D/usr/lo=
cal/juce/juce-=20
1.43/<br>&gt; scons: Reading SConscript files ...<br>&gt; Checking for C li=
brary freetype... (cached) yes<br>&gt; Checking for C library GLU... (cache=
d) yes<br>&gt; Checking for C library GL... (cached) yes<br>&gt; Checking f=
or C library asound... (cached) yes
<br>&gt; Checking for C++ header file juce.h... yes<br>&gt; Checking for C =
library juce... yes<br>&gt; scons: done reading SConscript files.<br>&gt; s=
cons: Building targets ...<br>&gt; g++ -o build/Audio.o -c -DLINUX -DHAVE_C=
ONFIG_H -DNDEBUG
<br>&gt; -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Audio.=
cpp<br>&gt; g++ -o build/Buffer.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG<br>&g=
t; -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Buffer.cpp
<br>&gt; g++ -o build/Console.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG<br>&gt;=
 -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Console.cpp<br=
>&gt; g++ -o build/Editor.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG<br>&gt; -I/=
usr/X11R6/include -Isrc -I/usr/local/juce/juce-
1.43 src/Editor.cpp<br>&gt; src/Editor.cpp:207: warning: non-local variable=
 &#39;&lt;anonymous struct&gt;<br>&gt; syntaxFileTypes [32]&#39; uses anony=
mous type<br>&gt; g++ -o build/FontList.o -c -DLINUX -DHAVE_CONFIG_H -DNDEB=
UG
<br>&gt; -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/FontLis=
t.cpp<br>&gt; g++ -o build/Grace.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG<br>&=
gt; -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Grace.cpp
<br>&gt; g++ -o build/Layer.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG<br>&gt; -=
I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Layer.cpp<br>&gt;=
 g++ -o build/Lisp.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG -I/usr/X11R6/inclu=
de
<br>&gt; -Isrc -I/usr/local/juce/juce- 1.43 src/Lisp.cpp<br>&gt; g++ -o bui=
ld/Plotter.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG<br>&gt; -I/usr/X11R6/inclu=
de -Isrc -I/usr/local/juce/juce-1.43 src/Plotter.cpp<br>&gt; g++ -o build/R=
esources.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG
<br>&gt; -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Resour=
ces.cpp<br>&gt; g++ -o build/Syntab.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG<b=
r>&gt; -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Syntab.cp=
p
<br>&gt; g++ -o build/Syntax.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG<br>&gt; =
-I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Syntax.cpp<br>&=
gt; src/Syntax.cpp:12:15: warning: extra tokens at end of #include directiv=
e
<br>&gt; g++ -o build/grace build/Audio.o build/Buffer.o build/Console.o<br=
>&gt; build/Editor.o build/FontList.o build/Grace.o build/Layer.o build/Lis=
p.o<br>&gt; build/Resources.o build/Plotter.o build/Syntab.o build/Syntax.o
<br>&gt; -L/usr/X11R6/lib -L/usr/local/juce/juce- 1.43/bin -lfreetype -lGLU=
 -lGL<br>&gt; -lasound -ljuce<br>&gt; /usr/local/juce/juce-1.43/bin/libjuce=
.a(juce_linux_Windowing.o):<br>&gt; In function<br>&gt; `juce::juce_updateM=
ultiMonitorInfo(juce::Array&lt;juce::Rectangle,
<br>&gt; juce::DummyCriticalSection&gt;&amp;, bool)&#39;:<br>&gt; /usr/loca=
l/juce/juce-1.43/build/linux/platform_specific_code/juce_linux_Windowing.cp=
p:2444:<br>&gt; undefined reference to `XineramaIsActive&#39;<br>&gt; /usr/=
local/juce/juce-
1.43/build/linux/platform_specific_code/juce_linux_Windowing.cpp:2448:<br>&=
gt; undefined reference to `XineramaQueryScreens&#39;<br>&gt; collect2: ld =
returned 1 exit status<br>&gt; scons: *** [build/grace] Error 1<br>&gt; sco=
ns: building terminated because of errors.
<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; 2007/9/3, padovani &lt; <a href=3D=
"mailto:josepadovani@yahoo.com.br">josepadovani@yahoo.com.br</a>&gt;:<br>&g=
t; &gt; Oh... ok. I will try with the 1.43 version...<br>&gt; &gt; thanks!
<br>&gt; &gt;<br>&gt; &gt; todd ingalls escreveu:<br>&gt; &gt; &gt; i belie=
ve you might be trying to build against juce 1.44 . we still<br>&gt; &gt; &=
gt; need to move to that version - could you try building against juce<br>
&gt; &gt; &gt; 1.43? we hope to have this updated soon!<br>&gt; &gt; &gt;<b=
r>&gt; &gt; &gt; todd<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;=
 On Sep 2, 2007, at 6:11 PM, padovani wrote:<br>&gt; &gt; &gt;<br>&gt; &gt;=
 &gt;&gt; hi, I&#39;m getting this error while trying to compile grace... A=
ny Idea?
<br>&gt; &gt; &gt;&gt; Z=E9<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; roo=
t@ubuntu:/usr/local/lisp/grace# scons JUCEDIR=3D/usr/local/juce/<br>&gt; &g=
t; &gt;&gt; scons: Reading SConscript files ...<br>&gt; &gt; &gt;&gt; Check=
ing for C library freetype... yes
<br>&gt; &gt; &gt;&gt; Checking for C library GLU... yes<br>&gt; &gt; &gt;&=
gt; Checking for C library GL... yes<br>&gt; &gt; &gt;&gt; Checking for C l=
ibrary asound... yes<br>&gt; &gt; &gt;&gt; Checking for C++ header file=20
juce.h... yes<br>&gt; &gt; &gt;&gt; Checking for C library juce... yes<br>&=
gt; &gt; &gt;&gt; scons: done reading SConscript files.<br>&gt; &gt; &gt;&g=
t; scons: Building targets ...<br>&gt; &gt; &gt;&gt; g++ -o build/Audio.o -=
c -DLINUX -DHAVE_CONFIG_H -DNDEBUG
<br>&gt; &gt; &gt;&gt; -I/usr/X11R6/include -Isrc -I/usr/local/juce src/Aud=
io.cpp<br>&gt; &gt; &gt;&gt; src/Grace.h:20: error: &#39;ShinyLookAndFeel&#=
39; does not name a type<br>&gt; &gt; &gt;&gt; scons: *** [build/Audio.o] E=
rror 1
<br>&gt; &gt; &gt;&gt; scons: building terminated because of errors.<br>&gt=
; &gt; &gt;&gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &g=
t;<br>&gt;<br>&gt;<br></blockquote></div><br>

------=_Part_8534_6787280.1188828121116--