Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-03-2009, 11:24 AM
|
#1
|
LQ Newbie
Registered: Mar 2006
Posts: 18
Rep:
|
svn assimp install help
Dear All,
Hello everyone. I am a sidux user and a newbie when it comes to installing a package from svn.
I needed the assimp libraries for jahshaka actually. I went to the sourceforge site and the only choice is svn. I was able to follow their simple directions to get the svn assimp downloaded however these directions are way to vague for me:
Open Asset Import Library (Assimp) Install
-----------------------------------------
To take a look into the ASSIMP library just get the code, go to the
workspaces-directory and open your prefered build enviroment. Now just build
the engine, start the ASSIMP-Viewer application and select one of our basic test-files.
You need boost-1.35 to build the Asset Import Library.
Would a nice svn savvy person be able to give me specific directions?
Any help will be greatly appreciated.
Thanks very much.
Marcia
|
|
|
03-03-2009, 02:05 PM
|
#3
|
LQ Newbie
Registered: Mar 2006
Posts: 18
Original Poster
Rep:
|
Thank you so very much for your fast and great help. I feel silly since I missed those downloads you show. The link is the same as you gave and I guess I went to the svn download somehow.
The command was: svn co https://assimp.svn.sourceforge.net/svnroot/assimp/trunk assimp
I will try the zip packages instead first. I think I can handle those. I would not mind learning how to install a svn package someday.
Thanks for all of the very good help.
Sincerely,
Marcia
|
|
|
03-03-2009, 04:18 PM
|
#4
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
The build method is the same for the "assimp SVN rev.351, unstable",
( the one you downloaded ) if you want to try it. Probably it fails.
'assimp-r281--sdk.zip' is a stable version and works, and is also
quite new = January 11' 2009.
( 'assimp-r281--viewer.zip' is for windows.)
|
|
|
03-03-2009, 07:11 PM
|
#5
|
LQ Newbie
Registered: Mar 2006
Posts: 18
Original Poster
Rep:
|
I have followed your directions for using scons and I get this error:
/assimp/code/../include/assimp.hpp:49:56: warning: missing terminating ' character
In file included from home/assimp/code/GenericProperty.h:44,
from home/assimp/code/BaseProcess.h:48,
from home/assimp/code/ImproveCacheLocality.h:46,
from home/assimp/code/ImproveCacheLocality.cpp:52:
home/assimp/code/./../include/assimp.hpp:49:56: warning: missing terminating ' character
In file included from home/assimp/code/../include/aiTypes.h:60,
from home/assimp/code/../include/Logger.h:48,
from home/assimp/code/../include/DefaultLogger.h:47,
from home/assimp/code/AssimpPCH.h:90,
from home/assimp/code/ImproveCacheLocality.cpp:49:
home/assimp/code/../include/aiMatrix3x3.h:124: error: extra qualification 'aiMatrix3x3::' on member 'Rotation'
scons: *** [/home/assimp/code/ImproveCacheLocality.o] Error 1
Do you know what is wrong? I have no idea.
Any help is appreciated.
Thanks.
Marcia
|
|
|
03-04-2009, 12:20 AM
|
#6
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
1) Which version of assimp are you compiling ?
'rev 281' works, rev 351 from SVN does not.
2) Please show the output of the command 'g++ --version'
EDIT : rev 281 compiles OK with g++-4.1, g++-4.3.2 .
And will work with scons from version 0.98 .
.....
Last edited by knudfl; 03-04-2009 at 10:45 AM.
|
|
|
03-05-2009, 04:42 PM
|
#7
|
LQ Newbie
Registered: Mar 2006
Posts: 18
Original Poster
Rep:
|
Thanks for your reply. I am compiling the version you say that works which is 'rev 281' and this is my info:
scons --version
SCons by Steven Knight et al.:
script: v1.0.0.r3266, 2008/08/12 07:31:01, by knight on bangkok
engine: v1.0.0.r3266, 2008/08/12 07:31:01, by knight on bangkok
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The SCons Foundation
~$ g++ --version
g++ (Debian 4.3.3-3) 4.3.3
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I guess I will give it another try soon when I have time and give my results. I had to give it a rest the past few days.
Should I downgrade scons and g++? I am not sure the best way to do that either.
Your help is greatly appreciated.
Thanks.
Marcia
|
|
|
03-06-2009, 05:29 AM
|
#8
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
'scons-1.0.0' is perfect.
'g++-4.3.3' will probable behave OK like g++-4.3.2 did here.
( If you ever have problems with 'g++-4.3', I guess that the
older versions 'g++-4.1' and ' g++-3.4 / 3.3 ' are available
for Sidux, like they are for Debian.)
.....
|
|
|
03-06-2009, 11:22 AM
|
#9
|
LQ Newbie
Registered: Mar 2006
Posts: 18
Original Poster
Rep:
|
Thank you for your response.
I just tried again and got this error:
scons: *** No SConstruct file found.
File "/usr/lib/scons/SCons/Script/Main.py", line 817, in _main
Does this mean I missing some python package? I guess I can check line 817 as well. I am a newbie at this sort of thing.
Thanks for your help.
Sincerely,
Marcia
|
|
|
03-06-2009, 11:42 AM
|
#10
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
No, it probably means that you are doing the command
'scons' in a wrong directory.
'cd <path-to-assimp>/assimp/workspaces/SCons/', and see
that 'SCons/' contains the file 'SConstruct'.
.....
Last edited by knudfl; 03-06-2009 at 11:43 AM.
|
|
|
03-06-2009, 12:57 PM
|
#11
|
LQ Newbie
Registered: Mar 2006
Posts: 18
Original Poster
Rep:
|
Well, I am learning. Thank you. Yes, I was in the wrong directory. I finally got it to work. It seems like it was successful. Do I do anything else after this or should assimp be installed now?
Thanks very much for your help.
Sincerely,
Marcia
|
|
|
All times are GMT -5. The time now is 11:50 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|