Horde3D

Next-Generation Graphics Engine
It is currently 22.11.2024, 19:12

All times are UTC + 1 hour




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: Installation issue
PostPosted: 23.10.2008, 08:51 
Offline

Joined: 22.10.2008, 16:17
Posts: 6
Hello forum,

Came to know about that engine yesterday

Wanted to use that and came up with the following issue

The Engine was installed fine.....but having trouble to install the Horde Scene Editor.
I have Qt 4.4 installed and functional.
lua is also installed.
*********************************'


/usr/bin/ld: skipping incompatible ../../bin/libHorde3D.so when searching for -lHorde3D
/usr/bin/ld: skipping incompatible ../../bin/libHorde3DUtils.so when searching for -lHorde3DUtils
/usr/bin/ld: skipping incompatible ../../lib/liblua.a when searching for -llua
/usr/bin/ld: cannot find -llua
collect2: ld returned 1 exit status
make[3]: *** [../../bin/HordeSceneEditor] Error 1
make[3]: Leaving directory `/home/sajjad/downloads/QtApp/horde3D/HordeSceneEditor/src/HordeSceneEditor'
make[2]: *** [release] Error 2
make[2]: Leaving directory `/home/sajjad/downloads/QtApp/horde3D/HordeSceneEditor/src/HordeSceneEditor'
make[1]: *** [sub-HordeSceneEditor-make_default] Error 2
make[1]: Leaving directory `/home/sajjad/downloads/QtApp/horde3D/HordeSceneEditor/src'
make: *** [sub-src-make_default] Error 2

**********************************'


Any idea?

I hope that it is not an off-topic

Regards
Sajjad


Top
 Profile  
Reply with quote  
 Post subject: Re: Installation issue
PostPosted: 23.10.2008, 15:34 
Offline

Joined: 22.11.2007, 17:05
Posts: 707
Location: Boston, MA
dostowalla wrote:
The Engine was installed fine.....but having trouble to install the Horde Scene Editor.
I have Qt 4.4 installed and functional.
lua is also installed.
*********************************'
/usr/bin/ld: skipping incompatible ../../bin/libHorde3D.so when searching for -lHorde3D
/usr/bin/ld: skipping incompatible ../../bin/libHorde3DUtils.so when searching for -lHorde3DUtils
/usr/bin/ld: skipping incompatible ../../lib/liblua.a when searching for -llua
/usr/bin/ld: cannot find -llua
collect2: ld returned 1 exit status
make[3]: *** [../../bin/HordeSceneEditor] Error 1
make[3]: Leaving directory `/home/sajjad/downloads/QtApp/horde3D/HordeSceneEditor/src/HordeSceneEditor'
make[2]: *** [release] Error 2
make[2]: Leaving directory `/home/sajjad/downloads/QtApp/horde3D/HordeSceneEditor/src/HordeSceneEditor'
make[1]: *** [sub-HordeSceneEditor-make_default] Error 2
make[1]: Leaving directory `/home/sajjad/downloads/QtApp/horde3D/HordeSceneEditor/src'
make: *** [sub-src-make_default] Error 2
**********************************'
Any idea?
What operating system are you running? In particular, if you are on a Mac then the build process for the SceneEditor is a little different.

_________________
Tristam MacDonald - [swiftcoding]


Top
 Profile  
Reply with quote  
 Post subject: Re: Installation issue
PostPosted: 23.10.2008, 17:08 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
dostowalla wrote:
Hello forum,
Wanted to use that and came up with the following issue
/usr/bin/ld: skipping incompatible ../../bin/libHorde3D.so when searching for -lHorde3D
/usr/bin/ld: skipping incompatible ../../bin/libHorde3DUtils.so when searching for -lHorde3DUtils
/usr/bin/ld: skipping incompatible ../../lib/liblua.a when searching for -llua
/usr/bin/ld: cannot find -llua
Any idea?
Regards
Sajjad

Not sure about it, but if I remember correctly I set up the linux package for the editor on a 32bit ubuntu system.
If you are using a 64bit one or something completely different, you may have to recompile the Horde libs and replace the lua lib with one specific for
your system.


Top
 Profile  
Reply with quote  
 Post subject: Re: Installation issue
PostPosted: 24.10.2008, 01:24 
Offline

Joined: 22.10.2008, 16:17
Posts: 6
Hello

I am running ubuntu 64 bit hardy.

What should be that installation procedure then?

Should i recompile the Horde API?

I did that several times...but did not help


Top
 Profile  
Reply with quote  
 Post subject: Re: Installation issue
PostPosted: 24.10.2008, 05:59 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
did you replaced the libraries shipped with the package?
Perhaps you should delete all the library files from the package first, then you may get some errors that the libraries can not be found, but at least you can be sure it will use your versions and not the 32bit ones.


Top
 Profile  
Reply with quote  
 Post subject: Re: Installation issue
PostPosted: 24.10.2008, 09:32 
Offline

Joined: 22.10.2008, 16:17
Posts: 6
Hello volki,

Did not get your suggestion exactly,

After the recompilation ans installation of Horde3D thats the status:


**********************''
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/lib/libHorde3D.so
-- Installing: /usr/local/lib/libHorde3DUtils.so
-- Up-to-date: /usr/local/include/horde3d/Horde3D.h
-- Up-to-date: /usr/local/include/horde3d/Horde3DUtils.h
sajjad@sajjad:~/downloads/QtApp/horde3D/Horde3D_SDK_1.0.0_Beta2$

**********************


Did you mean to delete /usr/local/lib/libHorde3D.so and /usr/local/lib/libHorde3DUtils.so ?


Top
 Profile  
Reply with quote  
 Post subject: Re: Installation issue
PostPosted: 24.10.2008, 11:49 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
No I ment you should delete the precompiled libs that were in the Horde3DEditor.tar.bz2. They are unpacked by default into the bin and lib subfolder of the editor's directory.


Top
 Profile  
Reply with quote  
 Post subject: Re: Installation issue
PostPosted: 24.10.2008, 12:54 
Offline

Joined: 22.10.2008, 16:17
Posts: 6
Hi

Thats what has been done......elaborating to make sure i have done that according to your instruction:

1. Extracted the zip file
2. Deleted the libraries inside bin and lib.
3. qmake make.pro
4. make


and then i have the following :


/usr/bin/ld: cannot find -llua
collect2: ld returned 1 exit status
make[3]: *** [../../bin/HordeSceneEditor] Error 1
make[3]: Leaving directory `/home/sajjad/downloads/QtApp/horde3D/HordeSceneEditor/src/HordeSceneEditor'
make[2]: *** [release] Error 2
make[2]: Leaving directory `/home/sajjad/downloads/QtApp/horde3D/HordeSceneEditor/src/HordeSceneEditor'
make[1]: *** [sub-HordeSceneEditor-make_default] Error 2
make[1]: Leaving directory `/home/sajjad/downloads/QtApp/horde3D/HordeSceneEditor/src'
make: *** [sub-src-make_default] Error 2
sajjad@sajjad:~/downloads/QtApp/horde3D/HordeSceneEditor$


*************************************


But lua is already installed

What to check now?


Top
 Profile  
Reply with quote  
 Post subject: Re: Installation issue
PostPosted: 24.10.2008, 12:58 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
Make sure you have a liblua.a in your system and ensure that it is in one of the folders the compiler uses to search for libraries. If you only installed lua using a packet manager you might be missing the static libraries the editor want to link against.


Top
 Profile  
Reply with quote  
 Post subject: Re: Installation issue
PostPosted: 24.10.2008, 15:05 
Offline

Joined: 14.04.2008, 15:06
Posts: 183
Location: Germany
I'm also running Ubuntu Hardy, AMD 64.

Here are my steps to get it running assuming that you have all needed libraries installed:
download, extract
Code:
cd HordeSceneEditor
qmake-qt4
make # will produce some errors

rm bin/libHorde3D.so
rm bin/libHorde3DUtils.so
rm lib/liblua.a
cp /usr/lib/liblua5.1.a lib/liblua.a # there's no /usr/lib/liblua.a
make # should now work

./bin/HordeSceneEditord


Top
 Profile  
Reply with quote  
 Post subject: Re: Installation issue
PostPosted: 24.10.2008, 15:29 
Offline

Joined: 22.10.2008, 16:17
Posts: 6
Hello,
Thanks for the instruction

I got something new now:


************************'


../../Build/HordeSceneEditor/Release/LuaBindingsHorde.o: In function `Horde3D::LuaBindings::lua_getNodeAttachmentString(lua_State*)':
LuaBindingsHorde.cpp:(.text+0x1211): undefined reference to `getNodeAttachmentString'
../../Build/HordeSceneEditor/Release/LuaBindingsHorde.o: In function `Horde3D::LuaBindings::lua_setNodeName(lua_State*)':
LuaBindingsHorde.cpp:(.text+0x1354): undefined reference to `setNodeName'
../../Build/HordeSceneEditor/Release/LuaBindingsHorde.o: In function `Horde3D::LuaBindings::lua_getNodeName(lua_State*)':
LuaBindingsHorde.cpp:(.text+0x1391): undefined reference to `getNodeName'
../../Build/HordeSceneEditor/Release/SceneTreeView.o: In function `SceneTreeView::selectNode(unsigned int)':
SceneTreeView.cpp:(.text+0x35e9): undefined reference to `getNodeName'
../../lib/libHordeSceneEditorCore.a(QSceneNode.o): In function `QSceneNode::setName(QString const&)':
QSceneNode.cpp:(.text+0x42cf): undefined reference to `setNodeName'
../../lib/libHordeSceneEditorCore.a(SceneTreeModel.o): In function `SceneTreeModel::SceneTreeModel(PlugInManager*, QDomElement const&, QSceneNode*)':
SceneTreeModel.cpp:(.text+0x3e4): undefined reference to `setNodeName'
../../lib/libHordeSceneEditorCore.a(SceneTreeModel.o): In function `SceneTreeModel::SceneTreeModel(PlugInManager*, QDomElement const&, QSceneNode*)':
SceneTreeModel.cpp:(.text+0x13f4): undefined reference to `setNodeName'
collect2: ld returned 1 exit status
make[3]: *** [../../bin/HordeSceneEditor] Error 1
make[3]: Leaving directory `/home/sajjad/downloads/QtApp/horde3D/HordeSceneEditor/src/HordeSceneEditor'
make[2]: *** [release] Error 2
make[2]: Leaving directory `/home/sajjad/downloads/QtApp/horde3D/HordeSceneEditor/src/HordeSceneEditor'
make[1]: *** [sub-HordeSceneEditor-make_default] Error 2
make[1]: Leaving directory `/home/sajjad/downloads/QtApp/horde3D/HordeSceneEditor/src'
make: *** [sub-src-make_default] Error 2
sajjad@sajjad:~/downloads/QtApp/horde3D/HordeSceneEditor$

****************************************


Top
 Profile  
Reply with quote  
 Post subject: Re: Installation issue
PostPosted: 24.10.2008, 16:12 
Offline

Joined: 19.03.2008, 01:22
Posts: 79
The horde editor doesn't work with the latest sdk yet. I had to modify my own copy to make it work. Once the editor source is under source control these issues should go away...


Top
 Profile  
Reply with quote  
 Post subject: Re: Installation issue
PostPosted: 24.10.2008, 16:36 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
I will start integrating the editor to the community svn this weekend. Final release may take until end of the week, begin of next week.


Top
 Profile  
Reply with quote  
 Post subject: Re: Installation issue
PostPosted: 30.10.2008, 14:42 
Offline

Joined: 22.10.2008, 16:17
Posts: 6
Hello Volker,


Is that uploaded and functional.....?


I downloaded and tried to install and ended up with the same error


sajjad


Top
 Profile  
Reply with quote  
 Post subject: Re: Installation issue
PostPosted: 30.10.2008, 14:48 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
I didn't updated the Linux packages yet, as you can read here!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group