[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'm closer now... but, when trying to compile grace there i=
s a Xinerama issue that I don'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<juce::Rectangle, juce::DummyCriticalSection>&=
amp;, bool)':
<br>juce_linux_Windowing.cpp:(.text+0x1d39): undefined reference to `Xinera=
maIsActive'<br>juce_linux_Windowing.cpp:(.text+0x1d5c): undefined refer=
ence 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=3D"gmail_quote">2007/9/3, James Bake=
r <<a href=3D"mailto:cycle.code.media@gmail.com">cycle.code.media@gmail.=
com
</a>>:</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 -><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 <<a href=3D"mailto:josepadovani@yahoo.com.br">josepadovani@yahoo.co=
m.br</a>> wrote:<br>> So...<br>> When I compile Juce 1.43 (/juce/b=
uild/linux/ ... then "./runpremake" and
<br>> "make"), I get a "/juce/bin/" structure that d=
oesn't have a libjuce.a file..<br>> All I get is a "=
libjuce_debug.a".<br>> So I tried to compile it renaming libjuce_de=
bug.a to=20
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=E9=
<br>><br>> root@ubuntu:/usr/local/lisp/grace# scons JUCEDIR=3D/usr/lo=
cal/juce/juce-=20
1.43/<br>> scons: Reading SConscript files ...<br>> Checking for C li=
brary freetype... (cached) yes<br>> Checking for C library GLU... (cache=
d) yes<br>> Checking for C library GL... (cached) yes<br>> Checking f=
or 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>> s=
cons: Building targets ...<br>> g++ -o build/Audio.o -c -DLINUX -DHAVE_C=
ONFIG_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>&g=
t; -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 anony=
mous type<br>> g++ -o build/FontList.o -c -DLINUX -DHAVE_CONFIG_H -DNDEB=
UG
<br>> -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/FontLis=
t.cpp<br>> 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>> 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/inclu=
de
<br>> -Isrc -I/usr/local/juce/juce- 1.43 src/Lisp.cpp<br>> g++ -o bui=
ld/Plotter.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG<br>> -I/usr/X11R6/inclu=
de -Isrc -I/usr/local/juce/juce-1.43 src/Plotter.cpp<br>> g++ -o build/R=
esources.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG
<br>> -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce- 1.43 src/Resour=
ces.cpp<br>> g++ -o build/Syntab.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG<b=
r>> -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Syntab.cp=
p
<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>&=
gt; src/Syntax.cpp:12:15: warning: extra tokens at end of #include directiv=
e
<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/Lis=
p.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_updateM=
ultiMonitorInfo(juce::Array<juce::Rectangle,
<br>> juce::DummyCriticalSection>&, bool)':<br>> /usr/loca=
l/juce/juce-1.43/build/linux/platform_specific_code/juce_linux_Windowing.cp=
p:2444:<br>> undefined reference to `XineramaIsActive'<br>> /usr/=
local/juce/juce-
1.43/build/linux/platform_specific_code/juce_linux_Windowing.cpp:2448:<br>&=
gt; undefined reference to `XineramaQueryScreens'<br>> collect2: ld =
returned 1 exit status<br>> scons: *** [build/grace] Error 1<br>> sco=
ns: building terminated because of errors.
<br>><br>><br>><br>><br>> 2007/9/3, padovani < <a href=3D=
"mailto:josepadovani@yahoo.com.br">josepadovani@yahoo.com.br</a>>:<br>&g=
t; > Oh... ok. I will try with the 1.43 version...<br>> > thanks!
<br>> ><br>> > todd ingalls escreveu:<br>> > > i belie=
ve you might be trying to build against juce 1.44 . we still<br>> > &=
gt; need to move to that version - could you try building against juce<br>
> > > 1.43? we hope to have this updated soon!<br>> > ><b=
r>> > > 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... A=
ny Idea?
<br>> > >> Z=E9<br>> > >><br>> > >> roo=
t@ubuntu:/usr/local/lisp/grace# scons JUCEDIR=3D/usr/local/juce/<br>> &g=
t; >> scons: Reading SConscript files ...<br>> > >> Check=
ing for C library freetype... yes
<br>> > >> Checking for C library GLU... yes<br>> > >&=
gt; Checking for C library GL... yes<br>> > >> Checking for C l=
ibrary asound... yes<br>> > >> Checking for C++ header file=20
juce.h... yes<br>> > >> Checking for C library juce... yes<br>&=
gt; > >> scons: done reading SConscript files.<br>> > >&g=
t; 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/Aud=
io.cpp<br>> > >> src/Grace.h:20: error: 'ShinyLookAndFeel&#=
39; does not name a type<br>> > >> scons: *** [build/Audio.o] E=
rror 1
<br>> > >> scons: building terminated because of errors.<br>>=
; > >><br>> > ><br>> > ><br>> ><br>> &g=
t;<br>><br>><br></blockquote></div><br>
------=_Part_8534_6787280.1188828121116--