Closed GoogleCodeExporter closed 8 years ago
i heard about this problem in ubuntu, but not having a ubuntu box i cannot test
it.
could you please check your fltk include dirs? i think there is some
lowercase/uppercase character mixup with the include files. probably it's not
Fl/Fl.h
but FL/fl.h or something in ubuntu.
Original comment by gabor.p...@gmail.com
on 25 Nov 2008 at 5:01
Yes, I noticed the case problem and made a symlink Fl/ --> FL/ but it still
doen't
work because on my box all files in the FL/ subdir has uppercase H endings.
Does it compile on other Linux distros?
Original comment by gislefro...@gmail.com
on 25 Nov 2008 at 5:16
yes, i tried it in fedora and it compiles fine. i think it has symlinks. so you
have
FL/Fl.H and FL/Fl_Gl_Window.H?
Original comment by gabor.p...@gmail.com
on 25 Nov 2008 at 5:24
yes, that's correct.
Original comment by gislefro...@gmail.com
on 25 Nov 2008 at 5:41
Just tried compiling on Fedora Core 6 and it works fine. They have actually
symlinked
all Fl header files with both upper and lowercase H ending.
Original comment by gislefro...@gmail.com
on 25 Nov 2008 at 7:09
Ok, I made the symlinks on my Ubuntu box, and the compile goes a bit further.
Now it
stops with this:
In file included from src/Face.h:28,
from src/Mesh.h:30,
from src/animata.h:45,
from src/Bone.cpp:30:
src/Texture.h:73: error: multiple parameters named 'd'
In file included from src/TextureManager.h:29,
from src/Selection.h:38,
from src/animata.h:47,
from src/Bone.cpp:30:
src/ImageBox.h:40: error: 'PATH_MAX' was not declared in this scope
src/ImageBox.h: In member function 'char* ImageBox::getFilename()':
src/ImageBox.h:52: error: 'filename' was not declared in this scope
In file included from src/Bone.cpp:30:
src/animata.h: At global scope:
src/animata.h:205: error: 'PATH_MAX' was not declared in this scope
src/animata.h: In member function 'const char* AnimataWindow::getFilename()':
src/animata.h:214: error: 'filename' was not declared in this scope
scons: *** [build/Bone.o] Error 1
Original comment by gislefro...@gmail.com
on 25 Nov 2008 at 9:57
i tried to fix the typo in texture.h. the other problem is that PATH_MAX is not
defined. it should be defined by including limits.h. maybe in your distro it is
done
elsewhere. try searching for it in /usr/include. maybe something like this can
help:
grep -r "[[:space:]]PATH_MAX[[:space:]]" /usr/include/ | grep \#define
Original comment by gabor.p...@gmail.com
on 26 Nov 2008 at 11:09
yes, I found it in /usr/include/linux, but cn't find a way to get scons to look
for
icludes in the right directories. Now it can't even find pthread.h which is in
/usr/include...
Original comment by gislefro...@gmail.com
on 27 Nov 2008 at 8:54
in osx when limits.h is included from /usr/include it includes
/usr/include/machine/limits.h which defines PATH_MAX. probably it is similar in
ubuntu.
Original comment by gabor.p...@gmail.com
on 27 Nov 2008 at 11:31
the svn version should compile with gcc 4.3 now. please test it.
Original comment by gabor.p...@gmail.com
on 29 Nov 2008 at 10:31
Original comment by gabor.p...@gmail.com
on 12 Dec 2008 at 8:35
works well.
I had to type (on ubuntu intrepid 8.10):
{{{
sudo apt-get install libfltk1.1-dev
export LIBGL_DRIVERS_PATH=/usr/lib/dri/
scons
}}}
There may be more libs (that I installed for past things) find them like this:
{{{
apt-cache search GUESS_LIB_NAME|grep dev
}}}
How do I add sound?
Original comment by david.ko...@gmail.com
on 4 Mar 2009 at 11:27
Original issue reported on code.google.com by
gislefro...@gmail.com
on 25 Nov 2008 at 4:36