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

Has anyone succesfully compiled Iris? Is it Impossible?
http://iris2.de/forum/viewtopic.php?f=19&t=1072
Page 1 of 2

Author:  gugutz [ Mon Jun 18, 2007 10:33 pm ]
Post subject:  Has anyone succesfully compiled Iris? Is it Impossible?

Hi. I've been folowing iris since the very beggining of the project, and i am happy to see that is has everything to become such a great project.

My deal is that i'm really anxious to see the client working, but i'm under Ubuntu Feisty, I downloaded the source from the main site, did all the things i had to do, and still the compile process does not complete.


Code:
gugutz@gugutz-desktop:~/iris$ make
Making all in .
make[1]: Entrando no diretório `/home/gugutz/iris'
make[1]: Nada a ser feito para `all-am'.
make[1]: Saindo do diretório `/home/gugutz/iris'
Making all in src
make[1]: Entrando no diretório `/home/gugutz/iris/src'
g++ -DHAVE_CONFIG_H -I. -I../include -I/usr/include -I/opt/fmod/api/inc -DEXT_HASH -I/usr/include/OGRE   -I/usr/include//lua50   -I/usr/include//lua50           -g -O2 -MT data_L.o -MD -MP -MF .deps/data_L.Tpo -c -o data_L.o data_L.cpp
../include/builder.h:69: error: expected unqualified-id before ‘&’ token
../include/builder.h:69: error: expected ‘,’ or ‘...’ before ‘&’ token
../include/builder.h:69: error: ISO C++ forbids declaration of ‘parameter’ with no type
data_L.cpp: In static member function ‘static int cMultiLoader_L::CountMultiParts(lua_State*)’:
data_L.cpp:819: warning: converting to ‘int’ from ‘lua_Number’
data_L.cpp: In static member function ‘static int cMultiLoader_L::GetMultiParts(lua_State*)’:
data_L.cpp:827: warning: converting to ‘int’ from ‘lua_Number’
data_L.cpp:828: warning: converting to ‘int’ from ‘lua_Number’
make[1]: ** [data_L.o] Erro 1
make[1]: Saindo do diretório `/home/gugutz/iris/src'
make: ** [all-recursive] Erro 1



if i run the boostrap and configure, it says i don't have OIS installed. I tried to install ois, downloaded the tarball from it's site, but when i type "./bootstrap" to begin with, it says Automake 1.6 is needed, and aborts the compile. But i have Automake 1.5, 1.6, 1.7, 1.8 and 1.9 installed. Still, the issue sticks.

How do i do? Could anyone consider making a debian package to make things easier to final users? Or if anybody could suggest anything for me to do?

thanks in advance.
gugutz.

Author:  ghoulsblade [ Tue Jun 19, 2007 5:43 am ]
Post subject: 

Hi !

i'm developing on iris on a kubuntu edgy system.
i got automake (GNU automake) 1.9.6
and gcc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
autoconf (GNU Autoconf) 2.60
(GNU libtool) 1.5.22 Debian 1.5.22-4 (1.1220.2.365 2005/12/18 22:14:06)

your error message sounds familiar,
have you got the latest ogre3D version 1.4.2 ?
you have to have at least 1.4.0 to get iris to run,
the debian package of ogre3D is too old, you'll have to compile ogre from source.

i think a debian package only makes sense if we find a maintainer to keep it up to date, we don't have the knowledge how to do that and time is also short, and we would also need a package of the new ogre version.

Author:  gugutz [ Thu Jun 21, 2007 1:51 pm ]
Post subject: 

.ghoulsblade, here is the problems im having.

I found i debian package for freeimage 3.9.3, but cannot install it with dpkg cause it need libc6 2.5-5, with my ubuntu feisty only has 2.5-0. I can't even install the libc6 2.5-11 debian package cause it seem like i have to remove to many important things from my system.

I cant compile ogre because i cant get freeimage compiled, and also for the above reason.

I cant compile OIS because this happens
Code:
make[2]: Entrando no diretório `/home/gugutz/downloads/ois-1.0RC1/src'
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c  'libOIS.la' '/usr/local/lib/libOIS.la'
/usr/bin/install -c .libs/libOIS-1.0.0.so /usr/local/lib/libOIS-1.0.0.so
/usr/bin/install: cannot create regular file `/usr/local/lib/libOIS-1.0.0.so': Permission denied
make[2]: ** [install-libLTLIBRARIES] Erro 1
make[2]: Saindo do diretório `/home/gugutz/downloads/ois-1.0RC1/src'
make[1]: ** [install-am] Erro 2
make[1]: Saindo do diretório `/home/gugutz/downloads/ois-1.0RC1/src'
make: ** [install-recursive] Erro 1


(do i have to compile it as super-user? i read that sometimes it could ruin the whole app/lib)

and this is why i cant get iris running. and i really want it to.

do you have a clue of what i need to do?

Author:  ghoulsblade [ Thu Jun 21, 2007 2:02 pm ]
Post subject: 

maybe you can get ogre1.4.0 to build if the newest version doesn't work.

have you enabled universe and multiverse in your /etc/apt/sources.list ?

mine looks like this (beware, i use edgy, not feisty)

Code:
# cinerella
deb http://giss.tv/~vale/ubuntu32 ./
deb-src http://giss.tv/~vale/ubuntu32 ./

deb http://de.archive.ubuntu.com/ubuntu/ edgy main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ edgy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://de.archive.ubuntu.com/ubuntu/ edgy-updates main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ edgy-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://de.archive.ubuntu.com/ubuntu/ edgy universe  multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ edgy universe multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://de.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse 

deb http://security.ubuntu.com/ubuntu/ edgy-security main restricted
deb-src http://security.ubuntu.com/ubuntu/ edgy-security main restricted
deb http://security.ubuntu.com/ubuntu/ edgy-security universe
deb-src http://security.ubuntu.com/ubuntu/ edgy-security universe


have you searched the ogre forum ( http://www.ogre3d.org/phpBB2/ ) ?
probably someone has already had a similar problems.
maybe the ubuntu forum as well if you can't find help there.

Author:  ghoulsblade [ Thu Jun 21, 2007 2:03 pm ]
Post subject: 

also a few notes here, http://sfz.schattenkind.net/wiki/index.php/Installation
might be a bit dated.

also take a look at this :
http://iris2.de/index.php/Building_From_Source

Author:  gugutz [ Fri Jun 22, 2007 3:53 am ]
Post subject: 

ghoulsblade, im almost there.

now i get this when trying to compile iris (with ogre, freeimage, ois and fmod installed, among with all the other libs)

Code:
gugutz@gugutz-desktop:~/iris$ sudo make install
Making install in .
make[1]: Entrando no diretório `/home/gugutz/iris'
make[2]: Entrando no diretório `/home/gugutz/iris'
make[2]: Nada a ser feito para `install-exec-am'.
make[2]: Nada a ser feito para `install-data-am'.
make[2]: Saindo do diretório `/home/gugutz/iris'
make[1]: Saindo do diretório `/home/gugutz/iris'
Making install in src
make[1]: Entrando no diretório `/home/gugutz/iris/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/include -I/opt/fmod/api/inc -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE   -I/usr/include//lua50   -I/usr/include//lua50       -I/usr/local/include/OIS -I/usr/local/include      -g -O2 -MT sound_fmod.o -MD -MP -MF ".deps/sound_fmod.Tpo" -c -o sound_fmod.o sound_fmod.cpp; \
        then mv -f ".deps/sound_fmod.Tpo" ".deps/sound_fmod.Po"; else rm -f ".deps/sound_fmod.Tpo"; exit 1; fi
sound_fmod.cpp:4:18: error: fmod.h: Arquivo ou diretório inexistente
sound_fmod.cpp:5:25: error: fmod_errors.h: Arquivo ou diretório inexistente
sound_fmod.cpp:253: error: ISO C++ forbids declaration of ‘FSOUND_SAMPLE’ with no type
sound_fmod.cpp:253: error: expected ‘;’ before ‘*’ token
sound_fmod.cpp:255: error: ISO C++ forbids declaration of ‘FSOUND_STREAM’ with no type
sound_fmod.cpp:255: error: expected ‘;’ before ‘*’ token
sound_fmod.cpp: In constructor ‘cSoundSourceFmod::cSoundSourceFmod(cSoundSystemFmod*, const char*)’:
sound_fmod.cpp:41: error: class ‘cSoundSourceFmod’ does not have any field named ‘mpStream’
sound_fmod.cpp:41: error: class ‘cSoundSourceFmod’ does not have any field named ‘mpSample’
sound_fmod.cpp:42: error: ‘mpStream’ was not declared in this scope
sound_fmod.cpp:42: error: ‘FSOUND_2D’ was not declared in this scope
sound_fmod.cpp:42: error: ‘FSOUND_LOOP_OFF’ was not declared in this scope
sound_fmod.cpp:42: error: ‘FSOUND_Stream_Open’ was not declared in this scope
sound_fmod.cpp: In constructor ‘cSoundSourceFmod::cSoundSourceFmod(cSoundSystemFmod*, const char*, int, int, int, int)’:
sound_fmod.cpp:46: error: class ‘cSoundSourceFmod’ does not have any field named ‘mpStream’
sound_fmod.cpp:46: error: class ‘cSoundSourceFmod’ does not have any field named ‘mpSample’
sound_fmod.cpp:48: error: ‘FSOUND_2D’ was not declared in this scope
sound_fmod.cpp:48: error: ‘FSOUND_SIGNED’ was not declared in this scope
sound_fmod.cpp:48: error: ‘FSOUND_LOOP_OFF’ was not declared in this scope
sound_fmod.cpp:52: error: ‘FSOUND_MONO’ was not declared in this scope
sound_fmod.cpp:55: error: ‘FSOUND_STEREO’ was not declared in this scope
sound_fmod.cpp:59: error: ‘FSOUND_8BITS’ was not declared in this scope
sound_fmod.cpp:61: error: ‘FSOUND_16BITS’ was not declared in this scope
sound_fmod.cpp:66: error: ‘mpSample’ was not declared in this scope
sound_fmod.cpp:66: error: ‘FSOUND_FREE’ was not declared in this scope
sound_fmod.cpp:66: error: ‘FSOUND_Sample_Alloc’ was not declared in this scope
sound_fmod.cpp:71: error: ‘FSOUND_Sample_Lock’ was not declared in this scope
sound_fmod.cpp:73: error: ‘FSOUND_Sample_Unlock’ was not declared in this scope
sound_fmod.cpp: In constructor ‘cSoundSourceFmod::cSoundSourceFmod(cSoundSystemFmod*, float, float, float, const char*)’:
sound_fmod.cpp:80: error: class ‘cSoundSourceFmod’ does not have any field named ‘mpStream’
sound_fmod.cpp:80: error: class ‘cSoundSourceFmod’ does not have any field named ‘mpSample’
sound_fmod.cpp:81: error: ‘mpStream’ was not declared in this scope
sound_fmod.cpp:81: error: ‘FSOUND_LOOP_OFF’ was not declared in this scope
sound_fmod.cpp:81: error: ‘FSOUND_HW3D’ was not declared in this scope
sound_fmod.cpp:81: error: ‘FSOUND_Stream_Open’ was not declared in this scope
sound_fmod.cpp: In constructor ‘cSoundSourceFmod::cSoundSourceFmod(cSoundSystemFmod*, float, float, float, const char*, int, int, int, int)’:
sound_fmod.cpp:86: error: class ‘cSoundSourceFmod’ does not have any field named ‘mpStream’
sound_fmod.cpp:86: error: class ‘cSoundSourceFmod’ does not have any field named ‘mpSample’
sound_fmod.cpp:89: error: ‘FSOUND_SIGNED’ was not declared in this scope
sound_fmod.cpp:89: error: ‘FSOUND_LOOP_OFF’ was not declared in this scope
sound_fmod.cpp:89: error: ‘FSOUND_HW3D’ was not declared in this scope
sound_fmod.cpp:94: error: ‘FSOUND_MONO’ was not declared in this scope
sound_fmod.cpp:97: error: ‘FSOUND_STEREO’ was not declared in this scope
sound_fmod.cpp:101: error: ‘FSOUND_8BITS’ was not declared in this scope
sound_fmod.cpp:103: error: ‘FSOUND_16BITS’ was not declared in this scope
sound_fmod.cpp:110: error: ‘mpSample’ was not declared in this scope
sound_fmod.cpp:110: error: ‘FSOUND_FREE’ was not declared in this scope
sound_fmod.cpp:110: error: ‘FSOUND_Sample_Alloc’ was not declared in this scope
sound_fmod.cpp:115: error: ‘FSOUND_Sample_Lock’ was not declared in this scope
sound_fmod.cpp:117: error: ‘FSOUND_Sample_Unlock’ was not declared in this scope
sound_fmod.cpp: In destructor ‘virtual cSoundSourceFmod::~cSoundSourceFmod()’:
sound_fmod.cpp:125: error: ‘mpSample’ was not declared in this scope
sound_fmod.cpp:127: error: ‘FSOUND_Sample_Free’ was not declared in this scope
sound_fmod.cpp:130: error: ‘mpStream’ was not declared in this scope
sound_fmod.cpp:132: error: ‘FSOUND_Stream_Close’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual const bool cSoundSourceFmod::Play()’:
sound_fmod.cpp:142: error: ‘FSOUND_SetPaused’ was not declared in this scope
sound_fmod.cpp:147: error: ‘mpStream’ was not declared in this scope
sound_fmod.cpp:147: error: ‘FSOUND_FREE’ was not declared in this scope
sound_fmod.cpp:147: error: ‘FSOUND_Stream_Play’ was not declared in this scope
sound_fmod.cpp:148: error: ‘mpSample’ was not declared in this scope
sound_fmod.cpp:148: error: ‘FSOUND_FREE’ was not declared in this scope
sound_fmod.cpp:148: error: ‘FSOUND_PlaySound’ was not declared in this scope
sound_fmod.cpp:153: error: ‘FSOUND_3D_SetAttributes’ was not declared in this scope
sound_fmod.cpp:153: error: ‘FSOUND_GetError’ was not declared in this scope
sound_fmod.cpp:153: error: ‘FMOD_ErrorString’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual const bool cSoundSourceFmod::IsPlaying()’:
sound_fmod.cpp:163: error: ‘FSOUND_IsPlaying’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual const bool cSoundSourceFmod::IsPaused()’:
sound_fmod.cpp:168: error: ‘FSOUND_GetPaused’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSourceFmod::Stop()’:
sound_fmod.cpp:174: error: ‘FSOUND_StopSound’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSourceFmod::Pause()’:
sound_fmod.cpp:181: error: ‘FSOUND_SetPaused’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSourceFmod::SetVolume(float)’:
sound_fmod.cpp:187: error: ‘FSOUND_SetVolume’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual const float cSoundSourceFmod::GetVolume()’:
sound_fmod.cpp:192: error: ‘FSOUND_GetVolume’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSourceFmod::SetMinMaxDistance(float, float)’:
sound_fmod.cpp:198: error: ‘FSOUND_3D_SetMinMaxDistance’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSourceFmod::GetMinMaxDistance(float&, float&)’:
sound_fmod.cpp:203: error: ‘FSOUND_3D_GetMinMaxDistance’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSourceFmod::SetPosition(float, float, float)’:
sound_fmod.cpp:221: error: ‘FSOUND_3D_SetAttributes’ was not declared in this scope
sound_fmod.cpp:221: error: ‘FSOUND_GetError’ was not declared in this scope
sound_fmod.cpp:221: error: ‘FMOD_ErrorString’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSourceFmod::SetVelocity(float, float, float)’:
sound_fmod.cpp:231: error: ‘FSOUND_3D_SetAttributes’ was not declared in this scope
sound_fmod.cpp:231: error: ‘FSOUND_GetError’ was not declared in this scope
sound_fmod.cpp:231: error: ‘FMOD_ErrorString’ was not declared in this scope
sound_fmod.cpp: In constructor ‘cSoundSystemFmod::cSoundSystemFmod(int, int)’:
sound_fmod.cpp:270: error: ‘FSOUND_MIXER_AUTODETECT’ was not declared in this scope
sound_fmod.cpp:270: error: ‘FSOUND_SetMixer’ was not declared in this scope
sound_fmod.cpp:271: error: ‘FSOUND_SetMinHardwareChannels’ was not declared in this scope
sound_fmod.cpp:272: error: ‘FSOUND_Init’ was not declared in this scope
sound_fmod.cpp: In destructor ‘virtual cSoundSystemFmod::~cSoundSystemFmod()’:
sound_fmod.cpp:278: error: ‘FSOUND_Close’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSystemFmod::SetListenerPosition(float, float, float)’:
sound_fmod.cpp:286: error: ‘FSOUND_3D_Listener_SetAttributes’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSystemFmod::SetListenerVelocity(float, float, float)’:
sound_fmod.cpp:294: error: ‘FSOUND_3D_Listener_SetAttributes’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSystemFmod::Step()’:
sound_fmod.cpp:342: error: ‘FSOUND_Update’ was not declared in this scope
^[[2~make[1]: ** [sound_fmod.o] Erro 1
make[1]: Saindo do diretório `/home/gugutz/iris/src'
make: ** [install-recursive] Erro 1


do you know what can it be?

Author:  ghoulsblade [ Fri Jun 22, 2007 9:55 am ]
Post subject: 

looks like something with fmod does not work.
do you have fmod4 ? fmod3 won't work.

if you can't get that to work you can use openal instead of fmod by adjusting a define on top of sound.cpp
and replace sound_fmod.cpp by sound_openal.cpp in src/Makefile.am

we really need a maintainer for linux binaries, do you maybe know anyone who could help ?

Author:  gugutz [ Fri Jun 22, 2007 3:01 pm ]
Post subject: 

i just migreated to linux, and most of my friends, even on internet, use windows. but im gonna try to find someone
i did try to create one for ogre and iris with checkinstall, but with no sucess.

anyway, i did what you told, and commented the fmod line in sound.cpp and discomented the openal one.
also, in Makefile.am, there's not exactly one line for fmod , as theres also one for openal right bellow the fmod line.
as you told me to replace one by another, i understood that it would be better to remove the fmod one. but iris does not install anyway. Here is the output of the compile:

Code:
if g++ -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/include -I/opt/fmod/api/inc -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE   -I/usr/include//lua50   -I/usr/include//lua50       -I/usr/local/include/OIS -I/usr/local/include      -g -O2 -MT sound_fmod.o -MD -MP -MF ".deps/sound_fmod.Tpo" -c -o sound_fmod.o sound_fmod.cpp; \
        then mv -f ".deps/sound_fmod.Tpo" ".deps/sound_fmod.Po"; else rm -f ".deps/sound_fmod.Tpo"; exit 1; fi
sound_fmod.cpp:4:18: error: fmod.h: Arquivo ou diretório inexistente
sound_fmod.cpp:5:25: error: fmod_errors.h: Arquivo ou diretório inexistente
sound_fmod.cpp:253: error: ISO C++ forbids declaration of ‘FSOUND_SAMPLE’ with no type
sound_fmod.cpp:253: error: expected ‘;’ before ‘*’ token
sound_fmod.cpp:255: error: ISO C++ forbids declaration of ‘FSOUND_STREAM’ with no type
sound_fmod.cpp:255: error: expected ‘;’ before ‘*’ token
sound_fmod.cpp: In constructor ‘cSoundSourceFmod::cSoundSourceFmod(cSoundSystemFmod*, const char*)’:
sound_fmod.cpp:41: error: class ‘cSoundSourceFmod’ does not have any field named ‘mpStream’
sound_fmod.cpp:41: error: class ‘cSoundSourceFmod’ does not have any field named ‘mpSample’
sound_fmod.cpp:42: error: ‘mpStream’ was not declared in this scope
sound_fmod.cpp:42: error: ‘FSOUND_2D’ was not declared in this scope
sound_fmod.cpp:42: error: ‘FSOUND_LOOP_OFF’ was not declared in this scope
sound_fmod.cpp:42: error: ‘FSOUND_Stream_Open’ was not declared in this scope
sound_fmod.cpp: In constructor ‘cSoundSourceFmod::cSoundSourceFmod(cSoundSystemFmod*, const char*, int, int, int, int)’:
sound_fmod.cpp:46: error: class ‘cSoundSourceFmod’ does not have any field named ‘mpStream’
sound_fmod.cpp:46: error: class ‘cSoundSourceFmod’ does not have any field named ‘mpSample’
sound_fmod.cpp:48: error: ‘FSOUND_2D’ was not declared in this scope
sound_fmod.cpp:48: error: ‘FSOUND_SIGNED’ was not declared in this scope
sound_fmod.cpp:48: error: ‘FSOUND_LOOP_OFF’ was not declared in this scope
sound_fmod.cpp:52: error: ‘FSOUND_MONO’ was not declared in this scope
sound_fmod.cpp:55: error: ‘FSOUND_STEREO’ was not declared in this scope
sound_fmod.cpp:59: error: ‘FSOUND_8BITS’ was not declared in this scope
sound_fmod.cpp:61: error: ‘FSOUND_16BITS’ was not declared in this scope
sound_fmod.cpp:66: error: ‘mpSample’ was not declared in this scope
sound_fmod.cpp:66: error: ‘FSOUND_FREE’ was not declared in this scope
sound_fmod.cpp:66: error: ‘FSOUND_Sample_Alloc’ was not declared in this scope
sound_fmod.cpp:71: error: ‘FSOUND_Sample_Lock’ was not declared in this scope
sound_fmod.cpp:73: error: ‘FSOUND_Sample_Unlock’ was not declared in this scope
sound_fmod.cpp: In constructor ‘cSoundSourceFmod::cSoundSourceFmod(cSoundSystemFmod*, float, float, float, const char*)’:
sound_fmod.cpp:80: error: class ‘cSoundSourceFmod’ does not have any field named ‘mpStream’
sound_fmod.cpp:80: error: class ‘cSoundSourceFmod’ does not have any field named ‘mpSample’
sound_fmod.cpp:81: error: ‘mpStream’ was not declared in this scope
sound_fmod.cpp:81: error: ‘FSOUND_LOOP_OFF’ was not declared in this scope
sound_fmod.cpp:81: error: ‘FSOUND_HW3D’ was not declared in this scope
sound_fmod.cpp:81: error: ‘FSOUND_Stream_Open’ was not declared in this scope
sound_fmod.cpp: In constructor ‘cSoundSourceFmod::cSoundSourceFmod(cSoundSystemFmod*, float, float, float, const char*, int, int, int, int)’:
sound_fmod.cpp:86: error: class ‘cSoundSourceFmod’ does not have any field named ‘mpStream’
sound_fmod.cpp:86: error: class ‘cSoundSourceFmod’ does not have any field named ‘mpSample’
sound_fmod.cpp:89: error: ‘FSOUND_SIGNED’ was not declared in this scope
sound_fmod.cpp:89: error: ‘FSOUND_LOOP_OFF’ was not declared in this scope
sound_fmod.cpp:89: error: ‘FSOUND_HW3D’ was not declared in this scope
sound_fmod.cpp:94: error: ‘FSOUND_MONO’ was not declared in this scope
sound_fmod.cpp:97: error: ‘FSOUND_STEREO’ was not declared in this scope
sound_fmod.cpp:101: error: ‘FSOUND_8BITS’ was not declared in this scope
sound_fmod.cpp:103: error: ‘FSOUND_16BITS’ was not declared in this scope
sound_fmod.cpp:110: error: ‘mpSample’ was not declared in this scope
sound_fmod.cpp:110: error: ‘FSOUND_FREE’ was not declared in this scope
sound_fmod.cpp:110: error: ‘FSOUND_Sample_Alloc’ was not declared in this scope
sound_fmod.cpp:115: error: ‘FSOUND_Sample_Lock’ was not declared in this scope
sound_fmod.cpp:117: error: ‘FSOUND_Sample_Unlock’ was not declared in this scope
sound_fmod.cpp: In destructor ‘virtual cSoundSourceFmod::~cSoundSourceFmod()’:
sound_fmod.cpp:125: error: ‘mpSample’ was not declared in this scope
sound_fmod.cpp:127: error: ‘FSOUND_Sample_Free’ was not declared in this scope
sound_fmod.cpp:130: error: ‘mpStream’ was not declared in this scope
sound_fmod.cpp:132: error: ‘FSOUND_Stream_Close’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual const bool cSoundSourceFmod::Play()’:
sound_fmod.cpp:142: error: ‘FSOUND_SetPaused’ was not declared in this scope
sound_fmod.cpp:147: error: ‘mpStream’ was not declared in this scope
sound_fmod.cpp:147: error: ‘FSOUND_FREE’ was not declared in this scope
sound_fmod.cpp:147: error: ‘FSOUND_Stream_Play’ was not declared in this scope
sound_fmod.cpp:148: error: ‘mpSample’ was not declared in this scope
sound_fmod.cpp:148: error: ‘FSOUND_FREE’ was not declared in this scope
sound_fmod.cpp:148: error: ‘FSOUND_PlaySound’ was not declared in this scope
sound_fmod.cpp:153: error: ‘FSOUND_3D_SetAttributes’ was not declared in this scope
sound_fmod.cpp:153: error: ‘FSOUND_GetError’ was not declared in this scope
sound_fmod.cpp:153: error: ‘FMOD_ErrorString’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual const bool cSoundSourceFmod::IsPlaying()’:
sound_fmod.cpp:163: error: ‘FSOUND_IsPlaying’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual const bool cSoundSourceFmod::IsPaused()’:
sound_fmod.cpp:168: error: ‘FSOUND_GetPaused’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSourceFmod::Stop()’:
sound_fmod.cpp:174: error: ‘FSOUND_StopSound’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSourceFmod::Pause()’:
sound_fmod.cpp:181: error: ‘FSOUND_SetPaused’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSourceFmod::SetVolume(float)’:
sound_fmod.cpp:187: error: ‘FSOUND_SetVolume’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual const float cSoundSourceFmod::GetVolume()’:
sound_fmod.cpp:192: error: ‘FSOUND_GetVolume’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSourceFmod::SetMinMaxDistance(float, float)’:
sound_fmod.cpp:198: error: ‘FSOUND_3D_SetMinMaxDistance’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSourceFmod::GetMinMaxDistance(float&, float&)’:
sound_fmod.cpp:203: error: ‘FSOUND_3D_GetMinMaxDistance’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSourceFmod::SetPosition(float, float, float)’:
sound_fmod.cpp:221: error: ‘FSOUND_3D_SetAttributes’ was not declared in this scope
sound_fmod.cpp:221: error: ‘FSOUND_GetError’ was not declared in this scope
sound_fmod.cpp:221: error: ‘FMOD_ErrorString’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSourceFmod::SetVelocity(float, float, float)’:
sound_fmod.cpp:231: error: ‘FSOUND_3D_SetAttributes’ was not declared in this scope
sound_fmod.cpp:231: error: ‘FSOUND_GetError’ was not declared in this scope
sound_fmod.cpp:231: error: ‘FMOD_ErrorString’ was not declared in this scope
sound_fmod.cpp: In constructor ‘cSoundSystemFmod::cSoundSystemFmod(int, int)’:
sound_fmod.cpp:270: error: ‘FSOUND_MIXER_AUTODETECT’ was not declared in this scope
sound_fmod.cpp:270: error: ‘FSOUND_SetMixer’ was not declared in this scope
sound_fmod.cpp:271: error: ‘FSOUND_SetMinHardwareChannels’ was not declared in this scope
sound_fmod.cpp:272: error: ‘FSOUND_Init’ was not declared in this scope
sound_fmod.cpp: In destructor ‘virtual cSoundSystemFmod::~cSoundSystemFmod()’:
sound_fmod.cpp:278: error: ‘FSOUND_Close’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSystemFmod::SetListenerPosition(float, float, float)’:
sound_fmod.cpp:286: error: ‘FSOUND_3D_Listener_SetAttributes’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSystemFmod::SetListenerVelocity(float, float, float)’:
sound_fmod.cpp:294: error: ‘FSOUND_3D_Listener_SetAttributes’ was not declared in this scope
sound_fmod.cpp: In member function ‘virtual void cSoundSystemFmod::Step()’:
sound_fmod.cpp:342: error: ‘FSOUND_Update’ was not declared in this scope
make[1]: ** [sound_fmod.o] Error 1
make[1]: Exiting directory
`/home/gugutz/downloads/iris/src'
make: ** [install-recursive] Error 1

Author:  ghoulsblade [ Fri Jun 22, 2007 3:34 pm ]
Post subject: 

you are getting errors while compiling sound_fmod.cpp.
please remove it from src/Makefile.am , then it will not be compiled, and you will not get these errors.

Author:  gugutz [ Fri Jun 22, 2007 4:32 pm ]
Post subject: 

now im getting the same with openal

Code:
gugutz@gugutz-desktop:~/downloads/iris$ sudo make
Making all in .
make[1]: Entrando no diretório `/home/gugutz/downloads/iris'
make[1]: Nada a ser feito para `all-am'.
make[1]: Saindo do diretório `/home/gugutz/downloads/iris'
Making all in src
make[1]: Entrando no diretório `/home/gugutz/downloads/iris/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/include -I/opt/fmod/api/inc -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE   -I/usr/include//lua50   -I/usr/include//lua50       -I/usr/local/include/OIS -I/usr/local/include      -g -O2 -MT sound_openal.o -MD -MP -MF ".deps/sound_openal.Tpo" -c -o sound_openal.o sound_openal.cpp; \
        then mv -f ".deps/sound_openal.Tpo" ".deps/sound_openal.Po"; else rm -f ".deps/sound_openal.Tpo"; exit 1; fi
sound_openal.cpp:13:21: error: AL/alut.h: Arquivo ou diretório inexistente
sound_openal.cpp: In constructor ‘cSoundSystemOpenAl::cSoundSystemOpenAl()’:
sound_openal.cpp:535: error: ‘alutInit’ was not declared in this scope
sound_openal.cpp: In destructor ‘virtual cSoundSystemOpenAl::~cSoundSystemOpenAl()’:
sound_openal.cpp:540: error: ‘alutExit’ was not declared in this scope
make[1]: ** [sound_openal.o] Erro 1
make[1]: Saindo do diretório `/home/gugutz/downloads/iris/src'
make: ** [all-recursive] Erro 1
gugutz@gugutz-desktop:~/downloads/iris$

Author:  ghoulsblade [ Fri Jun 22, 2007 5:28 pm ]
Post subject: 

at least there are a lot fewer errors =)

one thing you could try with both fmod and openal is locating the headers, and adjusting the search paths in src/Makefile.am

currently the path for fmod is hardcoded
as -I/usr/local/include/fmodex

you might have to change that..

also be sure to install all needed openal libs, also the utils, and the -dev packets for them as well

i've got those :
ii libalut-dev 1.0.1-1 OpenAL Utility Toolkit development files
ii libalut0 1.0.1-1 OpenAL Utility Toolkit
ii libopenal-dev 0.0.8-1ubuntu1 OpenAL is a portable library for 3D spatiali
ii libopenal0a 0.0.8-1ubuntu1 OpenAL is a portable library for 3D spatiali

Author:  gugutz [ Mon Jun 25, 2007 12:57 pm ]
Post subject: 

ghoulsblade, i reinstalled my system so i could do the entire thing from the beggining, but when i try to "make" iris, it complains about fmod 3 (yes, 3, not 4, witch i already have)not beeing found.

Code:
/usr/bin/ld: cannot find -lfmod-3.75
collect2: ld returned 1 exit status
make[1]: ** [irisogre] Erro 1
make[1]: Saindo do diretório `/home/gugutz/iris/iris/src'
make: ** [all-recursive] Erro 1
gugutz@atlhon-xp:~/iris/iris$


And the fmod site is down. Dont you have by any chance a copy?)

Author:  gugutz [ Mon Jun 25, 2007 1:12 pm ]
Post subject: 

also, i little doubt:
from where should i download the iris files to install?
Is it mandatory that i download from svn, or i could just get the zip file on the frontpage?

Author:  SiENcE [ Mon Jun 25, 2007 2:35 pm ]
Post subject: 

SVN should be good (stable or unstable (trunk)). The Zip File is old.

Author:  gugutz [ Mon Jun 25, 2007 3:40 pm ]
Post subject: 

Code:
_L.o rendertexture.o rendertexture_L.o camera.o camera_L.o viewport.o viewport_L.o radar.o radar_L.o spritemanager.o spritemanager_L.o scripting.o ogrewrapper.o input.o main.o  -L/opt/fmod/api -lfmod-3.75 /usr/local/lib/libSDL.so -L/usr/local/lib /usr/local/lib/libOgreMain.so -llualib50 -llua50 /usr/local/lib/libvorbisfile.so /usr/local/lib/libvorbis.so -lm /usr/local/lib/libogg.so /usr/local/lib/libOIS.so /usr/local/lib/libSDL_image.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
sound.o: In function `CreateSoundSystem(char const*, int)':
/home/gugutz/iris/iris/src/sound.cpp:19: undefined reference to `CreateSoundSystemOpenAl(int)'
collect2: ld returned 1 exit status
make[1]: ** [irisogre] Erro 1
make[1]: Saindo do diretório `/home/gugutz/iris/iris/src'
make: ** [all-recursive] Erro 1
gugutz@atlhon-xp:~/iris/iris$



when i finally get rid of the fmod3 not found thing(found some rpms on google), im getting this now. but the make process is going more further now.

noob question: to download from the SVN, i need to get subversion then type on the terminal:
Code:
svn checkout http://iris.schattenkind.net/svn/branches/stable_release/

?

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