Comments (12)
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.
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.
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.
yes, that's correct.
Original comment by [email protected]
on 25 Nov 2008 at 5:41
from animata.
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.
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.
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.
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.
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.
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.
Original comment by [email protected]
on 12 Dec 2008 at 8:35
- Changed state: Fixed
from animata.
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)
- camera lookat problem HOT 1
- Changing the /layervis OSC command from boolean to integer HOT 1
- Accept integer coordinates in OSC messages HOT 1
- Deleting layers with sublayers segfalults HOT 1
- Sound in Linux HOT 3
- Apr16 SVN download does not build on Ubuntu 9.04 HOT 3
- Ubuntu 9.04(x64) doesn't compile HOT 5
- PROBLEMS WHILE GETTING STARTED WITH ANIMATA HOT 1
- error and FIX compiling on Ubuntu 9.10 HOT 1
- wrong include path for Fl/Fl_JPEG_Image.H & Fl/Fl_PNG_Image.H HOT 1
- Compile failure on Ubuntu 9.10 HOT 1
- Build problem with Ubuntu Linux Lucid Lynx HOT 1
- Crashes with segmentation fault HOT 2
- build issue on linux HOT 4
- SCons 2.1.0 HOT 1
- Crash when loading multi-layer project HOT 1
- Neither V4 or vĀ£ seem to work under Windows 7 64 bit
- [PATCH] Missing include with newer gcc HOT 1
- [PATCH] Allow animata to be build when no X is running HOT 1
- OSC crashing under Ubuntu 13.04 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from animata.