LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 03-03-2009, 11:24 AM   #1
marcia
LQ Newbie
 
Registered: Mar 2006
Posts: 18

Rep: Reputation: 1
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
 
Old 03-03-2009, 12:30 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
If you need help with the 'svn' downloaded 'assimp', please
show a link to the actual site, and the full command used to
get the files : 'svn co ..........', please.

Searching http://sourceforge.net/ for 'assimp' will show
> > http://sourceforge.net/project/showf...roup_id=226462
> http://sourceforge.net/project/showf...ease_id=652827
with the files 'assimp-r281--sdk.zip' , ( 'assimp-r281--viewer.zip' ) .

And getting the required 'boost' : # 'apt-get install libboost1.35-dev'

Building 'libassimp.a' in 'workspaces/SCons/' :
'cd assimp/workspaces/SCons/', and then 'scons'
.. works with 'scons-1.0.0' > > # 'apt-get install scons'

Good luck !

Other links, 'jahshaka'
http://jahshaka.org/
http://jahshaka.org/News/p2_articleid/76
http://sourceforge.net/project/showf...group_id=24035
http://sourceforge.net/projects/jahshakafx/
.....

Last edited by knudfl; 03-03-2009 at 01:41 PM.
 
Old 03-03-2009, 02:05 PM   #3
marcia
LQ Newbie
 
Registered: Mar 2006
Posts: 18

Original Poster
Rep: Reputation: 1
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
 
Old 03-03-2009, 04:18 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.)
 
Old 03-03-2009, 07:11 PM   #5
marcia
LQ Newbie
 
Registered: Mar 2006
Posts: 18

Original Poster
Rep: Reputation: 1
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
 
Old 03-04-2009, 12:20 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.
 
Old 03-05-2009, 04:42 PM   #7
marcia
LQ Newbie
 
Registered: Mar 2006
Posts: 18

Original Poster
Rep: Reputation: 1
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
 
Old 03-06-2009, 05:29 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
'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.)
.....
 
Old 03-06-2009, 11:22 AM   #9
marcia
LQ Newbie
 
Registered: Mar 2006
Posts: 18

Original Poster
Rep: Reputation: 1
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
 
Old 03-06-2009, 11:42 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.
 
Old 03-06-2009, 12:57 PM   #11
marcia
LQ Newbie
 
Registered: Mar 2006
Posts: 18

Original Poster
Rep: Reputation: 1
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
 
  


Reply

Tags
jahshaka


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
copy svn working dir without svn hidden dirs and files? erinspice Linux - Software 4 03-29-2011 05:58 PM
anon svn read-only over apache: '.svn/entries': No such file hedpe Linux - Software 2 04-29-2009 05:31 AM
Help on SVN? your_shadow03 Linux - Server 1 12-19-2008 05:02 AM
CLFS SVN-20080921-x86_64-Multilib Part 10 binutils chokes on install ChrisMP1 Linux From Scratch 0 09-23-2008 08:11 PM
svn checkout -bash svn command not found Anauj0101 Linux - Newbie 6 04-20-2008 05:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration