4 posts / 0 new
Last post
ForumImport
Offline
Last seen: 9 years 3 weeks ago
Joined: 09/22/2009 - 18:47
Problems at start K3-D of version 0.7.11.0 in Mandriva 2009.1.

Problems at start K3-D of version 0.7.11.0 in Mandriva 2009.1.
1. There was error at command performance "cmake ../k3d"
uuid.h: No such file or directory
Package installation libext2fs-devel has helped
2.
[ 25%] Built target k3d-resource-compiler
Linking CXX executable ../bin/k3d
../lib/libk3dsdk.so: undefined reference to `uuid_generate'
collect2: выполнение ld завершилось с кодом возврата 1
(performance ld has come to the end with code of return 1)
Replacement has helped in file distribution/osx/CMakeLists.txt
line
K3D_INSTALL_DYLIB (${K3D_MACPORT_DIR}/lib/libuuid.16.dylib)
on line
K3D_INSTALL_DYLIB (${K3D_MACPORT_DIR}/lib/libuuid.1.dylib)

ForumImport
Offline
Last seen: 9 years 3 weeks ago
Joined: 09/22/2009 - 18:47
Problems at start K3-D of version 0.7.11.0 in Mandriva 2009.1.

Alexandr:
Not sure I'm following you on your second item ... could you send us a patch?
Cheers,
Tim

ForumImport
Offline
Last seen: 9 years 3 weeks ago
Joined: 09/22/2009 - 18:47
Problems at start K3-D of version 0.7.11.0 in Mandriva 2009.1.

I think the above post is not really helping me anyway ... I am not seeing any CMakeList.txt file with those parameters.. the CMakeList.txt which i have is below..
# This is an ugly hack, we should be able to detect this automatically, but I'm feeling lazy ...
SET(K3D_MACPORTS_DIR "/opt/local" CACHE PATH "Root directory containing installed MacPorts packages")
MARK_AS_ADVANCED(K3D_MACPORTS_DIR)
INSTALL(
PROGRAMS
${K3D_MACPORTS_DIR}/lib/libgailutil.18.dylib
DESTINATION
lib
)
INSTALL(
DIRECTORY
${K3D_MACPORTS_DIR}/lib/gtk-2.0/2.10.0
DESTINATION
lib/gtk-2.0
USE_SOURCE_PERMISSIONS
)
INSTALL(
DIRECTORY
${K3D_MACPORTS_DIR}/lib/gtk-2.0/modules
DESTINATION
lib/gtk-2.0/2.10.0
USE_SOURCE_PERMISSIONS
)
INSTALL(
DIRECTORY
${K3D_MACPORTS_DIR}/lib/pango
DESTINATION
lib
USE_SOURCE_PERMISSIONS
)
INSTALL(
DIRECTORY
${K3D_MACPORTS_DIR}/etc/gtk-2.0
${K3D_MACPORTS_DIR}/etc/fonts
${K3D_MACPORTS_DIR}/etc/pango
DESTINATION
etc
)
Then above make file i edited the way you mention but still not helping the am still getting the following build error
Linking CXX shared library ../../lib/libk3dsdk-python-primitives.so
[ 27%] Built target k3dsdk-python-primitives
Scanning dependencies of target k3dsdk-python
[ 27%] Building CXX object k3dsdk/python/CMakeFiles/k3dsdk-python.dir/difference_python.cpp.o
[ 27%] Building CXX object k3dsdk/python/CMakeFiles/k3dsdk-python.dir/file_signal_python.cpp.o
[ 27%] Building CXX object k3dsdk/python/CMakeFiles/k3dsdk-python.dir/object_model_python.cpp.o
[ 27%] Building CXX object k3dsdk/python/CMakeFiles/k3dsdk-python.dir/script_python.cpp.o
Linking CXX shared library ../../lib/libk3dsdk-python.so
[ 27%] Built target k3dsdk-python
[ 27%] Built target k3d-resource-compiler
Scanning dependencies of target k3d
[ 27%] Building CXX object application/CMakeFiles/k3d.dir/k3d_main.cpp.o
[ 27%] Building CXX object application/CMakeFiles/k3d.dir/main.cpp.o
Linking CXX executable ../bin/k3d
../lib/libk3dsdk.so.1: undefined reference to `uuid_generate'
collect2: ld returned 1 exit status
make[2]: *** [bin/k3d] Error 1
make[1]: *** [application/CMakeFiles/k3d.dir/all] Error 2
make: *** [all] Error 2
what should i do for make this work? please could anybody can help me?

ForumImport
Offline
Last seen: 9 years 3 weeks ago
Joined: 09/22/2009 - 18:47
Problems at start K3-D of version 0.7.11.0 in Mandriva 2009.1.

Hi,
This was a really old thread about a no-longer supported version of K-3D. Could you please detail with what version you're getting the above build error? The problem seems to be that it's not linking with the libuuid library.
Cheers,
Bart

Log in or register to post comments