I’m trying to compile from cvs to install on Natty without downgrade python.
It still no compile but I near to finish a build successfully (I think).
Firs squish will not compile even if you have SSE for 64 bits archs. You have to edit config file in its source code main dir and add the line:
CXXFLAGS += -fPIC
It should look like this:
CXXFLAGS ?= -O2
CXXFLAGS += -fPIC
CPPFLAGS += -DSQUISH_USE_ALTIVEC=1
CXXFLAGS += -maltivec
CPPFLAGS += -DSQUISH_USE_SSE=2
CXXFLAGS += -msse
And even if you cannot use squis you still can use panda, maybe some samples won’t run, don’t know.
EDIT: sorry, I forget about this error:
alpha.cpp:117:15: error: ‘INT_MAX’ was not declared in this scope
singlecolourfit.cpp:71:16: error: ‘INT_MAX’ was not declared in this scope
You can fix this by editing files alpha.cpp and singlecolourfit.cpp to add:
Below others includes at the beginning of each file.
fmod is not necessary.
ffmpeg will not be autodetected by makepanda.py, there is not dev package for ffmpeg, it is called libav and similar (I will look for exact names later when I get to my Natty box), look for these in synaptic and install their *-dev. Run makepanda.py again, this time no warning about ffmpeg.
fcollada you really do not need it. Install blender from repo or the beta from blender.org, install the chicken exporter from sourceforge.net, when you need to convert collada to egg, import collada into blender, export from blender into egg.
Why fcollada and not collada dom?
randall reply is the solution for videodev.h includes, I found the same post in stackoverflow when searching for the same error in google.
I also get missing zlib warning and I have zlib dev installed, and it is 64 bits. Same for jpeg and tiff, they are not detected. Does no jpeg (and other image formats) mean no textures?
May 29, 2011:
The only solution I’ve found for jpeg, tiff and zlib to be detected correctly is to stop using makepanda.py (I don’t know how to tell it to use alternative third party libraries) and build Panda 3D using ppremake. In the Config.pp file that ppremake process I wrote paths to libjpeg (actually, I’m using libjpeg-turbo that is a fork of libjpeg), and zlib, the same should apply to any other third party.
This opens the possibility to distribute libjpeg, zlib and so with the finished game rather than use the ones in the system.
It seems with the last cvs editing the includes of videodev.h is not more needed. But libjpeg and zlib and a few others are not detected by makepanda.py so I like ppremake more now.