10 posts / 0 new
Last post
ForumImport
Offline
Last seen: 9 years 1 month ago
Joined: 09/22/2009 - 18:47
Ubuntu build error

Hi
I am trying to build it under Ubuntu 9.10 and getting an error. I did cmake without errors
/install/temp/k3d/k3dsdk/uuid.cpp:32:24: error: uuid/uuid.h: No such file or directory
/install/temp/k3d/k3dsdk/uuid.cpp: In static member function ‘static const k3d::uuid k3d::uuid::random()’:
/install/temp/k3d/k3dsdk/uuid.cpp:71: error: ‘uuid_t’ was not declared in this scope
/install/temp/k3d/k3dsdk/uuid.cpp:71: error: expected ‘;’ before ‘temp’
/install/temp/k3d/k3dsdk/uuid.cpp:72: error: ‘temp’ was not declared in this scope
/install/temp/k3d/k3dsdk/uuid.cpp:72: error: ‘uuid_generate’ was not declared in this scope
make[2]: *** [k3dsdk/CMakeFiles/k3dsdk.dir/uuid.cpp.o] Error 1
make[1]: *** [k3dsdk/CMakeFiles/k3dsdk.dir/all] Error 2
make: *** [all] Error 2
btw it would be nice if the library versions are mentioned in the install page. It is hard to figure this out with trial and error.
thanks

ForumImport
Offline
Last seen: 9 years 1 month ago
Joined: 09/22/2009 - 18:47
Ubuntu build error

Ideally it would be great if we get a .deb package. I just spent 40 minutes trying to gather all the libraries to install K-3d and now I am stuck for tonight.

ForumImport
Offline
Last seen: 9 years 1 month ago
Joined: 09/22/2009 - 18:47
Ubuntu build error

In this case we're assuming that libuuid is there on most systems, which used to be a safe bet (it was required for ext2), but is no longer. This is in the tracker to be fixed for the next release. In the meantime, there are various guides to getting started on the wiki at
http://www.k-3d.org/wiki/Getting_Started
including one for Debian / Ubuntu at
http://www.k-3d.org/wiki/Ubuntu_and_Debian_Build
Cheers,
Tim

ForumImport
Offline
Last seen: 9 years 1 month ago
Joined: 09/22/2009 - 18:47
Ubuntu build error

Actually, I misspoke - the logic to detect uuid is there, and should have failed if you didn't have the development package installed.
I notice that newer versions of boost have uuid capability, so we might be able to eliminate this dependency altogether in a future release.
Cheers,
Tim

ForumImport
Offline
Last seen: 9 years 1 month ago
Joined: 09/22/2009 - 18:47
Ubuntu build error

Timothy
I have installed the uuid thing from their website. And the configure did not complain about it, so I assume has something to do with install script. I will checkout new versions to see if it is installable.
I went ahead with the install instructions that are on the download page. I was not aware of the wiki pages. It is probably a good idea to put a link to the article.
I will try with the instructions from the wiki page this time.

ForumImport
Offline
Last seen: 9 years 1 month ago
Joined: 09/22/2009 - 18:47
Ubuntu build error

Just a heads-up: you shouldn't have to install uuid from source, the Ubuntu "uuid-dev" package should do the trick ...
Cheers,
Tim

ForumImport
Offline
Last seen: 9 years 1 month ago
Joined: 09/22/2009 - 18:47
Ubuntu build error

Thanks for the tip, I already went ahead and installed K3d as explained in the wiki. It is all good except that "make installed" installed a crippled copy
"k3d: error while loading shared libraries: libk3dsdk.so: cannot open shared object file: No such file or directory"
Bear in mind that I can run k3d in the build directory with "make run/fast"

ForumImport
Offline
Last seen: 9 years 1 month ago
Joined: 09/22/2009 - 18:47
Ubuntu build error

When you install something in a nonstandard location (/usr/local in this case), you have to tell the shared library loader where to find it, by updating LD_LIBRARY_PATH.
Cheers,
Tim

ForumImport
Offline
Last seen: 9 years 1 month ago
Joined: 09/22/2009 - 18:47
Ubuntu build error

Hello How are you I found a new link which will solve you problem follow the instruction provided here help.ubuntu.com/community/CompilingEasyHowTo

ForumImport
Offline
Last seen: 9 years 1 month ago
Joined: 09/22/2009 - 18:47
Ubuntu build error
Log in or register to post comments