Iris2.de

Iris2-Forum
It is currently Sat Apr 27, 2024 7:36 pm

All times are UTC




Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2, 3  Next
Author Message
PostPosted: Thu May 01, 2008 6:25 pm 
Offline

Joined: Thu May 01, 2008 6:16 pm
Posts: 10
Hey guys,

I'm trying to make Iris work under Ubuntu.
I installed all packages through installdeps.ubuntu.sh.
I have UO:ML installed and updated to newest version (in wine environment).
Iris SVN is checkout is in my ~/Iris/stable_release/ dir (as you will see in a sec) and is updated to newest revision.

This is what happens when I try to run it:
Code:
arek@Arek:~/Iris/stable_release$ sh ./startbinary.sh
./startbinary.sh: 2: pushd: not found
./startbinary.sh: 7: ../linuxbin/iris: not found
./startbinary.sh: 8: popd: not found
arek@Arek:~/Iris/stable_release$


And this is what happens when I try to compile it:
Code:
arek@Arek:~/Iris/stable_release$ sh ./premakelinux.sh
Generating GNU makefiles:
...lugrelua
...cadune_treelib
...md5lib
...paged_geometrylib
...caelumlib
...lugrelib
...iris
==== Building lugrelua ====
make[1]: `liblugrelua.a' is up to date.
==== Building cadune_treelib ====
make[1]: `libcadune_treelib.a' is up to date.
==== Building md5lib ====
make[1]: `libmd5lib.a' is up to date.
==== Building paged_geometrylib ====
make[1]: `libpaged_geometrylib.a' is up to date.
==== Building caelumlib ====
make[1]: `libcaelumlib.a' is up to date.
==== Building lugrelib ====
lugre_net_L.cpp
lugre/src/lugre_net_L.cpp: In static member function ‘static int Lugre::cConnection_L::NtoA(lua_State*)’:
lugre/src/lugre_net_L.cpp:78: error: cast from ‘void*’ to ‘Lugre::uint32’ loses precision
make[1]: *** [obj/Debug/lugre_net_L.o] Error 1
make: *** [lugrelib] Error 2
arek@Arek:~/Iris/stable_release$


I appreciate your help.


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 02, 2008 1:56 pm 
Offline
iris2-developer
User avatar

Joined: Tue Apr 18, 2006 10:28 pm
Posts: 823
Location: Munich, Bavaria, Germany
hi =) do you have a 64bit system ?
i just changed something but couldn't try it out, please update (svn up) and try to compile again.


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 02, 2008 2:56 pm 
Offline

Joined: Thu May 01, 2008 6:16 pm
Posts: 10
Yes, forgot to mention it. Running on 64-bit system. Therefore I changed lugre/include/lugre_profile.h and left out '#define ENABLE_PROFILING'.

Updated and still getting this error when compiling:
Code:
arek@Arek:~/Iris/stable_release$ sh ./premakelinux.sh
Generating GNU makefiles:
...lugrelua
...cadune_treelib
...md5lib
...paged_geometrylib
...caelumlib
...lugrelib
...iris
==== Building lugrelua ====
make[1]: `liblugrelua.a' is up to date.
==== Building cadune_treelib ====
make[1]: `libcadune_treelib.a' is up to date.
==== Building md5lib ====
make[1]: `libmd5lib.a' is up to date.
==== Building paged_geometrylib ====
make[1]: `libpaged_geometrylib.a' is up to date.
==== Building caelumlib ====
make[1]: `libcaelumlib.a' is up to date.
==== Building lugrelib ====
lugre_spritelist.cpp
lugre/src/lugre_spritelist.cpp: In constructor ‘Lugre::cRenderManager2D::cRenderManager2D(Ogre::SceneManager*, Ogre::uint8)’:
lugre/src/lugre_spritelist.cpp:260: error: cast from ‘Ogre::SceneManager*’ to ‘int’ loses precision
make[1]: *** [obj/Debug/lugre_spritelist.o] Error 1
make: *** [lugrelib] Error 2


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 02, 2008 3:45 pm 
Offline
iris2-developer
User avatar

Joined: Tue Apr 18, 2006 10:28 pm
Posts: 823
Location: Munich, Bavaria, Germany
ok, changed something, please update and compile again =)


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 02, 2008 4:03 pm 
Offline

Joined: Thu May 01, 2008 6:16 pm
Posts: 10
Did not compile, but there are different errors. That means we're actually moving forward :D
Code:
arek@Arek:~/Iris/stable_release$ sh ./premakelinux.sh
Generating GNU makefiles:
...lugrelua
...cadune_treelib
...md5lib
...paged_geometrylib
...caelumlib
...lugrelib
...iris
==== Building lugrelua ====
make[1]: `liblugrelua.a' is up to date.
==== Building cadune_treelib ====
make[1]: `libcadune_treelib.a' is up to date.
==== Building md5lib ====
make[1]: `libmd5lib.a' is up to date.
==== Building paged_geometrylib ====
make[1]: `libpaged_geometrylib.a' is up to date.
==== Building caelumlib ====
make[1]: `libcaelumlib.a' is up to date.
==== Building lugrelib ====
make[1]: `liblugrelib.a' is up to date.
==== Building iris ====
Linking iris
./liblugrelua.a(loslib.o): In function `os_tmpname':
/home/arek/Iris/stable_release/lugre/lib/lua-5.1.3//src/loslib.c:60: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
./liblugrelib.a(lugre_scripting.general.o): In function `l_ProfileDumpCallCount':
/home/arek/Iris/stable_release/lugre/src/lugre_scripting.general.cpp:108: undefined reference to `Lugre::ProfileDumpCallCount()'
collect2: ld returned 1 exit status
make[1]: *** [bin/iris] Error 1
make: *** [iris] Error 2


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 03, 2008 1:47 am 
Offline
iris2-developer
User avatar

Joined: Tue Apr 18, 2006 10:28 pm
Posts: 823
Location: Munich, Bavaria, Germany
ok, i think i fixed it , please update and compile again =)


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 03, 2008 6:26 am 
Offline

Joined: Thu May 01, 2008 6:16 pm
Posts: 10
Good job, I successfully compiled it!

There is another problem though...
I run Iris, choose a shard, then choose a server and a black screen follows. It eventually (in 2 min or so) disappears, crashing down the client. This is what console tells me.

Code:
cNet::ConnectSocket : socket connect failed (port:2594)
cNet::Connect : ConnectSocket failed (195.181.253.87:2594)
ERROR : kPacket_Server_Redirect : login server redirect failed


I tried 4 servers from the list and all end up like that.

Also, with the menu there should be an orange screen I guess. My screen is blinking and changes for a short while to black like once a sec, if you know what I mean...


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 03, 2008 6:39 am 
Offline

Joined: Thu May 01, 2008 6:16 pm
Posts: 10
Ah, let's skip the login issue (I will be logging on a shard where I can modify scripts to make it work), I started it in Offline mode, so I could try it out. I saw some textures for a sec and then this:
Code:
Welcome to Iris
stop music
warning : terrain : groundblock loader doesn't support group loading, falling back to copy, but it's a bit slower (group loading not implemented yet)
PrintLuaStackTrace:
./start.sh: line 5: 14091 Segmentation fault      ./iris $1 $2 $3 $4 $5 $6 $7 $8
~/Iris/stable_release


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 03, 2008 11:01 am 
Offline
iris2-developer
User avatar

Joined: Tue Aug 22, 2006 1:21 pm
Posts: 173
Location: Munich, Germany
if you have gdb you can try the following:

cd IRISDIR
cd bin
gdb ./iris
r -so
*play until it crashes*
bt
*post the output of bt*

_________________
O-->---


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 03, 2008 11:34 am 
Offline

Joined: Thu May 01, 2008 6:16 pm
Posts: 10
Can't do that. I start Iris by r -so. I see some game graphics and then only black screen. There is no way to close Iris then, but kill gdb process...


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 03, 2008 12:04 pm 
Offline
iris2-developer
User avatar

Joined: Tue Apr 18, 2006 10:28 pm
Posts: 823
Location: Munich, Bavaria, Germany
maybe try without fullscreen mode ? or pipe gdb out into a file ?


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 03, 2008 12:21 pm 
Offline

Joined: Thu May 01, 2008 6:16 pm
Posts: 10
I'm running it in a window. How do I pipe it out?


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 03, 2008 12:59 pm 
Offline
iris2-developer
User avatar

Joined: Tue Apr 18, 2006 10:28 pm
Posts: 823
Location: Munich, Bavaria, Germany
instead of
gdb ./iris
try
gdb ./iris > myfile.txt
or if that doesn't work

gdb ./iris > myfile.txt 2>&1

error output redirect
(doesn't work in all shells, try in bash)


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 03, 2008 1:06 pm 
Offline
iris2-developer
User avatar

Joined: Tue Aug 22, 2006 1:21 pm
Posts: 173
Location: Munich, Germany
you could try the following:

ctrl-alt-f1
login as the same user the x session is running
> declare -x DISPLAY=":0.0"
> cd IRISDIR
> cd bin
> gdb ./iris
> r -so
now iris should run under your x
ctrl-alt-f7 (probably) to return to the x session
if iris crashed
ctrl-alt-f1
> bt

_________________
O-->---


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 03, 2008 1:18 pm 
Offline

Joined: Thu May 01, 2008 6:16 pm
Posts: 10
Sorry to say that, but does not do anything either. The only way I manage to crash Iris by itself is by launching just ./iris or ./start.sh. Otherwise it just stays idle with gdb and waits for me to kill it.

This is only error message I get:
Code:
warning : terrain : groundblock loader doesn't support group loading, falling back to copy, but it's a bit slower (group loading not implemented yet)
PrintLuaStackTrace:
Segmentation fault


I guess it could be connected with blinking of the main screen, I will try to record my desktop to show you that.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
Powered by phpBB® Forum Software © phpBB Group