[PlanetCCRMA] SCUM path

Fernando Lopez-Lezcano nando@ccrma.Stanford.EDU
Sun May 29 11:27:00 2005


On Sun, 2005-05-29 at 02:39, dominic wrote:
> > When it says in the path it means in the $PATH variable, you can check it
> > by typing
> > 	echo $PATH
> > and looking for the directory that has fltk-config in it, or just by
> > trying to run fltk-config
> >  
> 
> > > src/SCUM_Client.cpp:33:19: Fl/Fl.H: No such file or directory
> > 
> > This is the problem, it implies that the fltk-config script wasnt in the
> > path for some reason.
> > 
> > Hope that helps,
> >    Steve
> > 
> I type:-
> 
> [spoony@localhost ~]$ echo $PATH
> /usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/spoony/bin
> 
> I type:-
> 
> [spoony@localhost ~]$ locate fltk-config
> /usr/bin/fltk-config
> /usr/share/man/man1/fltk-config.1.gz
> 
> Does this mean that fltk-config is in the PATH? or am I missing the
> point, I still have a lot to learn.
> > 
> > --__--__--
> 
> > > 
> > > Is fltk in the ccrma repo built with opengl support?
> > 
> > No idea, but make sure you have the fltk-devel package installed.
> > 
> > - Steve
> 
> Yes they are installed :)

It is a problem in scum itself, you can fix it with this small patch:

==== CUT HERE ====
--- scum-20050525/src/SCUM_Client.cpp~	2005-05-25 03:16:19.000000000
-0700
+++ scum-20050525/src/SCUM_Client.cpp	2005-05-28 19:23:18.000000000
-0700
@@ -30,7 +30,7 @@
 //#include "SCUM_ViewFactory.hh"
 #include "st.h"
 
-#include <Fl/Fl.H>
+#include <FL/Fl.H>
 #include <stdexcept>
 
 typedef SCUM_ObjectList::iterator SCUM_ObjectIter;

==== CUT HERE ====

With this it builds fine here, in fact I packaged it but have not had
the time to try it out so I don't know if it works... maybe later today.

-- Fernando