Iris2.de
http://iris2.de/forum/

error compiling Iris from /trunk - threading?
http://iris2.de/forum/viewtopic.php?f=19&t=1138
Page 1 of 1

Author:  Gahen [ Sun Dec 09, 2007 11:56 pm ]
Post subject:  error compiling Iris from /trunk - threading?

Hi my demi-gods programmers of Iris2.
The error itself happens when executing "./premakelinux.sh", inside the section "Bulding Iris". The only thing I changed had been removing the "lugre_sound_openal2.cpp" library. Here goes the code:

Code:
lugre/src/lugre_thread.cpp:11:35: aviso: boost/thread/thread.hpp: No existe el fichero ó directorio
lugre/src/lugre_thread.cpp: In constructor ‘Lugre::cThread_NetRequest::cThread_NetRequest(const std::string&, int, Lugre::cFIFO*, Lugre::cFIFO*)’:
lugre/src/lugre_thread.cpp:122: error: ‘boost’ no se puede declarar
lugre/src/lugre_thread.cpp:122: error: expected `;' before ‘myboostthread’
lugre/src/lugre_thread.cpp: In constructor ‘Lugre::cThread_LoadFile::cThread_LoadFile(const std::string&, Lugre::cFIFO*, int, int)’:
lugre/src/lugre_thread.cpp:181: error: ‘boost’ no se puede declarar
lugre/src/lugre_thread.cpp:181: error: expected `;' before ‘myboostthread’


I'm under Linux: Ubuntu Gutsy, already success compiling the sources from the stable release (i think after also removing OPENAL libs), played a bit and everything.
I'm here with a P4 HyperThreading PC (it uses a multi-threading kind of mask), i guess it has something to do... If there may be a question, it should be: how can I compile like if I where in a P4 without MultiThreading? Sorry if I'm understanding it all wrong :D, and thanks for advanced, and sorry for a fancy pretty bad english.

Offtopic: it's okay to see my mouse when running Iris? I see both the mouse and the hand image all the time. And if someone likes correcting post's spelling and sends me a PM with the right version, I'll put it instead of mine.

Author:  ghoulsblade [ Mon Dec 10, 2007 2:26 am ]
Post subject: 

hi and welcome to our forums =)

the threading stuff is new in unstable, please try installing
# libboost-dev
# libboost-thread-dev
i'm also under ubuntu gutsy, so i hope this works directly =)
i just added a list of packages to the wiki :
http://www.iris2.de/index.php/Building_ ... Fubuntu.29


your processor shouldn't be a problem.

about double cursor : yes, that's normal,
you can hide the uo cursor using "gHideUOCursor = true" in data/config.lua if it irritates you.
There's no easy way to hide the system cursor yet.

Author:  Gahen [ Mon Dec 10, 2007 8:34 pm ]
Post subject:  It worked! :P

Thanks a lot ^^, I was missing the second package... that update to Linux dependecies will be a great help.
I must leave to keep testing it :wink: , bye!

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/