[CM] trying to compile grace

padovani josepadovani@yahoo.com.br
Mon, 3 Sep 2007 09:44:05 -0300


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

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.afile..  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.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... 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/includ=
e
-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 functio=
n
`juce::juce_updateMultiMonitorInfo(juce::Array<juce::Rectangle,
juce::DummyCriticalSection>&, bool)':
/usr/local/juce/juce-1.43/build/linux/platform_specific_code/juce_linux_Win=
dowing.cpp:2444:
undefined reference to `XineramaIsActive'
/usr/local/juce/juce-1.43/build/linux/platform_specific_code/juce_linux_Win=
dowing.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_7697_6639710.1188823445418
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

So... <br>When I compile Juce 1.43 (/juce/build/linux/ ... then &quot;./run=
premake&quot; and &quot;make&quot;), I get a &quot;/juce/bin/&quot; structu=
re that doesn&#39;t have a libjuce.a file..&nbsp; All I get is a &quot;libj=
uce_debug.a&quot;.
<br>So I tried to compile it renaming libjuce_debug.a to libjuce.a and that=
 is what I get...<br>Probably I&#39;m doing something stupid, but I can&#39=
;t see what is it... :P<br><br>Z=E9<br><br>root@ubuntu:/usr/local/lisp/grac=
e# scons JUCEDIR=3D/usr/local/juce/juce-
1.43/<br>scons: Reading SConscript files ...<br>Checking for C library free=
type... (cached) yes<br>Checking for C library GLU... (cached) yes<br>Check=
ing for C library GL... (cached) yes<br>Checking for C library asound... (c=
ached) yes
<br>Checking for C++ header file juce.h... yes<br>Checking for C library ju=
ce... yes<br>scons: done reading SConscript files.<br>scons: Building targe=
ts ...<br>g++ -o build/Audio.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG -I/usr/X=
11R6/include -Isrc -I/usr/local/juce/juce-
1.43 src/Audio.cpp<br>g++ -o build/Buffer.o -c -DLINUX -DHAVE_CONFIG_H -DND=
EBUG -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 -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 -D=
NDEBUG -I/usr/X11R6/include -Isrc -I/usr/local/juce/juce-1.43 src/Editor.cp=
p<br>src/Editor.cpp:207: warning: non-local variable &#39;&lt;anonymous str=
uct&gt; syntaxFileTypes [32]&#39; uses anonymous type
<br>g++ -o build/FontList.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG -I/usr/X11R=
6/include -Isrc -I/usr/local/juce/juce-1.43 src/FontList.cpp<br>g++ -o buil=
d/Grace.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG -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 -DNDE=
BUG -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 -Isrc -I/usr/local/juce/juce-
1.43 src/Lisp.cpp<br>g++ -o build/Plotter.o -c -DLINUX -DHAVE_CONFIG_H -DND=
EBUG -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 -I/usr/X11=
R6/include -Isrc -I/usr/local/juce/juce-
1.43 src/Resources.cpp<br>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<br>g++ -o build/Syntax.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG -I/usr/X11=
R6/include -Isrc -I/usr/local/juce/juce-
1.43 src/Syntax.cpp<br>src/Syntax.cpp:12:15: warning: extra tokens at end o=
f #include directive<br>g++ -o build/grace build/Audio.o build/Buffer.o bui=
ld/Console.o build/Editor.o build/FontList.o build/Grace.o build/Layer.o bu=
ild/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_updateMulti=
MonitorInfo(juce::Array&lt;juce::Rectangle, juce::DummyCriticalSection&gt;&=
amp;, bool)&#39;:
<br>/usr/local/juce/juce-1.43/build/linux/platform_specific_code/juce_linux=
_Windowing.cpp:2444: undefined reference to `XineramaIsActive&#39;<br>/usr/=
local/juce/juce-1.43/build/linux/platform_specific_code/juce_linux_Windowin=
g.cpp:2448: undefined reference 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><br><br><div><=
span class=3D"gmail_quote">2007/9/3, padovani &lt;<a href=3D"mailto:josepad=
ovani@yahoo.com.br">
josepadovani@yahoo.com.br</a>&gt;:</span><blockquote class=3D"gmail_quote" =
style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8=
ex; padding-left: 1ex;">Oh... ok. I will try with the 1.43 version...<br>th=
anks!
<br><br>todd ingalls escreveu:<br>&gt; i believe you might be trying to bui=
ld against juce 1.44 . we still<br>&gt; need to move to that version - coul=
d you try building against juce<br>&gt; 1.43? we hope to have this updated =
soon!
<br>&gt;<br>&gt; todd<br>&gt;<br>&gt;<br>&gt; On Sep 2, 2007, at 6:11 PM, p=
adovani wrote:<br>&gt;<br>&gt;&gt; hi, I&#39;m getting this error while try=
ing to compile grace... Any Idea?<br>&gt;&gt; Z=E9<br>&gt;&gt;<br>&gt;&gt;=
=20
root@ubuntu:/usr/local/lisp/grace# scons JUCEDIR=3D/usr/local/juce/<br>&gt;=
&gt; scons: Reading SConscript files ...<br>&gt;&gt; Checking for C library=
 freetype... yes<br>&gt;&gt; Checking for C library GLU... yes<br>&gt;&gt; =
Checking for C library GL... yes
<br>&gt;&gt; Checking for C library asound... yes<br>&gt;&gt; Checking for =
C++ header file juce.h... yes<br>&gt;&gt; Checking for C library juce... ye=
s<br>&gt;&gt; scons: done reading SConscript files.<br>&gt;&gt; scons: Buil=
ding targets ...
<br>&gt;&gt; g++ -o build/Audio.o -c -DLINUX -DHAVE_CONFIG_H -DNDEBUG<br>&g=
t;&gt; -I/usr/X11R6/include -Isrc -I/usr/local/juce src/Audio.cpp<br>&gt;&g=
t; src/Grace.h:20: error: &#39;ShinyLookAndFeel&#39; does not name a type
<br>&gt;&gt; scons: *** [build/Audio.o] Error 1<br>&gt;&gt; scons: building=
 terminated because of errors.<br>&gt;&gt;<br>&gt;<br>&gt;<br><br></blockqu=
ote></div><br>

------=_Part_7697_6639710.1188823445418--