Coder Social home page Coder Social logo

Does not compile on Ubuntu 8.10 about animata HOT 12 CLOSED

belma avatar belma commented on August 12, 2024
Does not compile on Ubuntu 8.10

from animata.

Comments (12)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 12, 2024
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 [email protected] on 25 Nov 2008 at 5:01

from animata.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 12, 2024
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 [email protected] on 25 Nov 2008 at 5:16

from animata.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 12, 2024
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 [email protected] on 25 Nov 2008 at 5:24

from animata.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 12, 2024
yes, that's correct.

Original comment by [email protected] on 25 Nov 2008 at 5:41

from animata.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 12, 2024
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 [email protected] on 25 Nov 2008 at 7:09

from animata.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 12, 2024
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 [email protected] on 25 Nov 2008 at 9:57

from animata.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 12, 2024
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 [email protected] on 26 Nov 2008 at 11:09

from animata.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 12, 2024
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 [email protected] on 27 Nov 2008 at 8:54

from animata.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 12, 2024
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 [email protected] on 27 Nov 2008 at 11:31

from animata.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 12, 2024
the svn version should compile with gcc 4.3 now. please test it.

Original comment by [email protected] on 29 Nov 2008 at 10:31

from animata.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 12, 2024

Original comment by [email protected] on 12 Dec 2008 at 8:35

  • Changed state: Fixed

from animata.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 12, 2024
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 [email protected] on 4 Mar 2009 at 11:27

from animata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.