Synfig Build Issues
Thursday, November 3, 2005 by darcoPosted in Synfig
If you are trying to build Synfig and having trouble, read this post.
This is a quick rundown on a few issues that you may run into at the moment. I'll expand this list as things move forward. Anyone willing to fix any of these issues and submit a patch will get a
for the day.
GCC 3.3 (3.4?) is required. GCC 4.0 doesn't work. This is a bug. GCC 4.0 is much more strict about syntax, so a few things are broken. Nothing major though.GCC 4.0 works fine in latest version- ETL fails "
make check". ETL is a mess. Ignoremake checkfailing, and just do amake install. The parts that break aren't being used in Synfig.
The first issue is the kicker, and will likely be the most common problem that people will run into. Please submit bug reports!
Optional Dependencies
The following packages aren't required, but will improve functionality:
- libpng (Required for PNG file support)
- libjpeg (Required for JPEG file support)
- openexr (Required for EXR file support)
- freetype (Required for simple text layer)
- imagemagick (Allows you to save and load in a variety of file formats)
- ffmpeg (for saving compressed videos)
- fmod (For audio scrubbing support in Synfig Studio)
Trackback from your own site.
Thursday, November 3, 2005
Hi, just to let you know: I am running Fedora Core 3, and I had to had
#include <sys/errno.h>
for ./src/synfig/savecanvas.cpp
Cheers, Olivier
Thursday, November 3, 2005
Hi,
Do you plan on supporting GCC 4.0 in the near future?
Thursday, November 3, 2005
Yes. That is the top priority issue to fix at the moment. Were it not for me moving into a new apartment and trying to wrap my head around new build systems at work, I would say it could be fixed this weekend. In reality though, it may be a week or two before I can get around to it.
Again, patches are welcome.
Friday, November 4, 2005
When trying to compile synfig :
In file included from /usr/local/include/ETL/stringf:31, from general.h:29, from value.h:38, from value.cpp:31: /usr/local/include/ETL/_stringf.h:103:2: warning: #warning Potential for Buffer-overflow bug using vsprintf node.h:229: error: explicit qualification in declaration of `synfig::Node* synfig::find_node(const synfig::GUID&)' value.cpp: In constructor 'synfig::ValueBase::ValueBase(synfig::ValueBase::Type)': value.cpp:71: error: invalid lvalue in assignment value.cpp:74: error: invalid lvalue in assignment value.cpp:77: error: invalid lvalue in assignmentI've install all required librairies, I think.
Best regards
Friday, November 4, 2005
3: Cool! I'm too clueless to fix it, though
4: That would be the GCC 4.0 problems described in the post.
Saturday, November 5, 2005
Hi, I work with Debian GNU/Linux "Unstable". I installed libavcodec (0.cvs20050918) and libopenexr (1.2.2) development files, but can't compile synfig package with support for these libraries (with GCC-3.3). Install seems okay anyway (if I configure –without-libavcodec and –without-openexr, and remove modlibavcodec and modlibopenexr from synfig_modules.cfg) but when I try to work with any image, I get a "Segmentation fault". Of course, I didn't even try to install SynfigStudio...
Any help ? Thanks.
Saturday, November 5, 2005
Hi:
I download your software and I´ve installed. When I load an example I see all images black. What is the problem ?.
I have to install other libraries or what ?. The plataform look like very very good.
Thanks a lot for this free software. I would like can use it. I am an argentina hobbist. I use moho in 2d.
Regards,
Carlos.
Saturday, November 5, 2005
Hi: I must install this libraries ? Libsigc++ 2.0 Libxml++ 1.0 (although 2.x may work)
Regards,
CHIO
Saturday, November 5, 2005
Using Debian Gnu/Linux 'unstable'. have 4.0 and 3.3 installed. Symlinked gcc and g++ to 3.3. can compile and install ETL and synfig. Upon compiling synfigstudio, it SEGFAULTs when the makefile invokes 'synfig' on /image/ files. Had to install a few -dev packages: libxml++ and libgtkmm. Any clues.
Sunday, November 6, 2005
I'm building a debian package of synfig. I came across the errno thing noted by Olivier above. Also, it seems that the synfig build process is not using the openexr pkgconfig .pc file, because it isn't adding a correct -I dir. Same with freetype and others. I think the problem is that these libs use CFLAGS, not CXXFLAGS. Not sure how to fix it.
For those using debian unstable, please purge gcc 3.3, and install gcc 3.4. The latter will produce binaries with an ABI compatible with the C++ libraries in debian.
For those people trying to build on debian unstable, here are the build-depends for my package: required: libxml++1.0-dev, libsigc++-2.0-dev. optional: libpng12-dev, libtiff4-dev, libjpeg62-dev, libfreetype6-dev, libavcodec-dev, libavformat-dev, libglib2.0-dev, libmagick9-dev, libdv4-dev, libopenexr-dev.
Sunday, November 6, 2005
The reason I say to use gcc 3.4 is the C++ ABI transition that debian and ubuntu are going through: http://people.debian.org/~mfurr/gxx/
Sunday, November 6, 2005
A new more GCC 4.0 friendly version is in the pipeline. I'll be releasing today. Hold tight.
Wednesday, November 9, 2005
A problem building synfigstudio-0.61.01:
Looks like you might have a double-free in there.
Specs: Gentoo Linux x86, 2.6.13 kernel, GCC 3.4.4, glibc 2.3.5. Latest and greatest of most of the base libraries.
Saturday, December 17, 2005
Hi. When I load an example I see all images black. I'm using Debian Sarge with GCC 3.3 and all the optional dependences. Should I install anything else?