12 posts / 0 new
Last post
ForumImport
Offline
Last seen: 9 years 11 months ago
Joined: 09/22/2009 - 18:47
Build error with k-3d svn-version

This message was originally posted by TRAC on 10/15/2007 10:49:02
Hey.
I tried to compile k-3d from svn (rev 513) and ran into this problem:
[ 8%] Building CXX object k3dsdk/CMakeFiles/k3dsdk.dir/mesh_diff.o
[ 8%] Building CXX object k3dsdk/CMakeFiles/k3dsdk.dir/mesh_operations.o
[ 8%] Building CXX object k3dsdk/CMakeFiles/k3dsdk.dir/mesh_selection.o
[ 8%] Building CXX object k3dsdk/CMakeFiles/k3dsdk.dir/mesh_selection_modifier.o
[ 9%] Building CXX object k3dsdk/CMakeFiles/k3dsdk.dir/mesh_serialization.o
[ 9%] Building CXX object k3dsdk/CMakeFiles/k3dsdk.dir/mesh_simple_deformation_modifier.o
[ 9%] Building CXX object k3dsdk/CMakeFiles/k3dsdk.dir/named_array_operations.o
[ 9%] Building CXX object k3dsdk/CMakeFiles/k3dsdk.dir/named_arrays.o
[ 9%] Building CXX object k3dsdk/CMakeFiles/k3dsdk.dir/node.o
/var/abs/local/k3d/k3d/k3dsdk/node.cpp: In constructor ‘k3d::node::node(k3d::iplugin_factory&, k3d::idocument&)’:
/var/abs/local/k3d/k3d/k3dsdk/node.cpp:46: error: ‘hide’ is not a member of ‘sigc’
make[2]: *** [k3dsdk/CMakeFiles/k3dsdk.dir/node.o] Error 1
make[1]: *** [k3dsdk/CMakeFiles/k3dsdk.dir/all] Error 2
make: *** [all] Error 2
[root@venus k3d-build]# uname -a
Linux venus 2.6.22-ARCH #1 SMP PREEMPT Wed Sep 26 20:57:40 CEST 2007 i686 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz GenuineIntel GNU/Linux
[root@venus k3d-build]# gcc --version
gcc (GCC) 4.2.2
I do have libsigc++2.0, version 2.1.1 installed, so i have no clue how to fix it. Thx for any help. :)
- Tobias

ForumImport
Offline
Last seen: 9 years 11 months ago
Joined: 09/22/2009 - 18:47
Build error with k-3d svn-version

This message was originally posted by TRAC on 10/15/2007 11:27:34
sry, just recognised i am using libstdc++2.0 with version 2.0.18.
- tobias

ForumImport
Offline
Last seen: 9 years 11 months ago
Joined: 09/22/2009 - 18:47
Build error with k-3d svn-version

This message was originally posted by joa on 10/15/2007 17:11:59
Hi Tobiasa!
I guess you already checked this articles. If not, please read
http://k-3d.org/wiki/External_Dependencies
http://k-3d.org/wiki/Getting_Started
http://k-3d.org/wiki/Debian_Build (if you are on debian or ubuntu)
You haven’t mentioned your distro. So ill guess is an ubuntu.
Check your g++ is pointing to g++-4* and you cpp to cpp-4*
I have this packages on linux. Guess the 2.0 are the right ones..
ii libsigc++-1.2-5c2
ii libsigc++-1.2-dev
ii libsigc++-2.0-0c2a
ii libsigc++-2.0-dev
Cheers!
Joaquín

ForumImport
Offline
Last seen: 9 years 11 months ago
Joined: 09/22/2009 - 18:47
Build error with k-3d svn-version

This message was originally posted by TRAC on 10/16/2007 03:30:55
Thanks for your quick responds Joaquin.
I did already check the dependencies. I am working with Archlinux \"No Panic\" and it has installed all the newest libsigc++ versions. I am also pretty sure, that my gcc/c++/cc is pointing to the 4.2 version, since i compile a lot with it. Therefore, I dont think i missed something in the configuration.
Any help is appreciated.
- Tobias

ForumImport
Offline
Last seen: 9 years 11 months ago
Joined: 09/22/2009 - 18:47
Build error with k-3d svn-version

This message was originally posted by TRAC on 10/16/2007 15:59:18
Hey it is me again.
OK, I finally solved the error myself. I had to add #include \"signal_system.h\" and #include \"sigc++/sigc++.h\" in ./k3dsdk/node.h. Then it compiled to 99%. At the very end i had to delete a few lines in ./po/POTFILES.in and it perfectly works now. I am looking forward to test K-3D.
- Tobias

ForumImport
Offline
Last seen: 9 years 11 months ago
Joined: 09/22/2009 - 18:47
Build error with k-3d svn-version

This message was originally posted by joa on 10/16/2007 20:09:48
Hi Tobias!
Thanks for the feedback! I don’t know who made the archlinux package.
What you made seems strange. I guess that shouldn’t be necessary, but don’t know exactly.
Cheers!
Joaquín

ForumImport
Offline
Last seen: 9 years 11 months ago
Joined: 09/22/2009 - 18:47
Build error with k-3d svn-version

This message was originally posted by TRAC on 10/17/2007 04:57:01
Just one last note. I rechecked all the versions of libsigc and it seems like archlinux is doing the right stuff, but debian and co. is slightly older. The newest version of this library is 2.1.1 and it is needed for gnome-2.20. It also seems like this version breaks some deprecated headers, so someone with repository access should check out the newest version at http://ftp.gnome.org/pub/GNOME/sources/libsigc++/ and look it up. Maybe i am just the first, but definitely not the last. ;)
- tobias
ps: sometimes it has some disadvantages to live at the edge ^^

ForumImport
Offline
Last seen: 9 years 11 months ago
Joined: 09/22/2009 - 18:47
Build error with k-3d svn-version

This message was originally posted by joa on 10/17/2007 10:20:46
Hi again!
Thanks again for your feedback! I guess this will be useful for next releases.
I already posted a mail on this topic on the mailing list.
Cheers!
Joaquín.

ForumImport
Offline
Last seen: 9 years 11 months ago
Joined: 09/22/2009 - 18:47
Build error with k-3d svn-version

This message was originally posted by Rene Jensen on 10/17/2007 13:34:36
Hi, just wanted to say that I built k3d from svn few days ago (svn 510). Did the .po thing too but apart from that all went smooth (if memory serves me. Nothing like a problem with sigc++). I believe my Arch was fully updated, i.e. same version as yours. Gcc says 4.2.1 though. Libsigc++ is 2.0.18-1 too.
Probably a fluke.
Pleasent evening to you all
Rene Jensen

ForumImport
Offline
Last seen: 9 years 11 months ago
Joined: 09/22/2009 - 18:47
Build error with k-3d svn-version

This message was originally posted by Timothy M. Shead on 10/18/2007 00:20:42
Tobias:
From your description, it sounds as if libsigc++ 2.1 has rearranged their header files. If you wouldn’t mind, try reverting your changes and replace the four #includes in k3dsdk/signal_system.h with one:
#include
If that works for you (let us know either way), it should be compatible with earlier versions too.
Many thanks,
Tim

ForumImport
Offline
Last seen: 9 years 11 months ago
Joined: 09/22/2009 - 18:47
Build error with k-3d svn-version

This message was originally posted by TRAC on 10/18/2007 05:52:01
Hey Tim,
i did the modification in a fresh svn version and it works. It compiles all fine till 99%. Again the POTFILES.in modifications and k3d starts all right. I did not yet create any complex objects, but it should work too. :)
- Tobias

ForumImport
Offline
Last seen: 9 years 11 months ago
Joined: 09/22/2009 - 18:47
Build error with k-3d svn-version

This message was originally posted by Timothy M. Shead on 10/19/2007 22:08:02
Not that we won’t figure-out a fix, but the POTFILES error is harmless, the software will still run.
I’ve committed the sigc++ changes in subversion, thanks for your help!
Cheers,
Tim

Log in or register to post comments