Me he creado una máquina virtual con Ubuntu 10.04 de 64 bits, para
empezar desde 0 y los pasos que he seguido han sido:
sudo apt-get install g++ libgl1-mesa-dev libpango1.0-dev libboost-dev
libopenal-dev libsndfile-dev libxdamage-dev libsdl-ttf2.0-dev
libfreeimage3 libfreeimage-dev ruby1.8-dev ruby1.9.1-dev
Un compañero que le funciona Gosu me ha pasado la carpeta y en ella he
hecho:
En el subdirectorio gosu/linux he abierto una terminal:
./configure
make
sudo make install
Acto seguido he hecho un make de mi proyecto y el resultado es éste:
/bin/sh: ../../gosu/bin/gosu-config: Permission denied
collect2: ld terminated with signal 11 [Violación de segmento]
/usr/bin/ld: i386 architecture of input file `../../gosu/lib/
libgosu.a(WindowX.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../../gosu/lib/
libgosu.a(InputX.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../../gosu/lib/
libgosu.a(TextInputX.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../../gosu/lib/
libgosu.a(Color.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../../gosu/lib/
libgosu.a(Graphics.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../../gosu/lib/
libgosu.a(Image.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../../gosu/lib/
libgosu.a(Texture.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../../gosu/lib/
libgosu.a(LargeImageData.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../../gosu/lib/
libgosu.a(Transform.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../../gosu/lib/
libgosu.a(DirectoriesUnix.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../../gosu/lib/
libgosu.a(Inspection.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../../gosu/lib/
libgosu.a(Math.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../../gosu/lib/
libgosu.a(Utility.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../../gosu/lib/
libgosu.a(TimingUnix.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../../gosu/lib/
libgosu.a(Bitmap.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../../gosu/lib/
libgosu.a(BitmapUtils.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../../gosu/lib/
libgosu.a(TexChunk.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../../gosu/lib/
libgosu.a(BlockAllocator.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../../gosu/lib/
libgosu.a(BitmapPNG.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../../gosu/lib/
libgosu.a(BitmapBMP.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../../gosu/lib/
libgosu.a(BitmapColorKey.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../../gosu/lib/
libgosu.a(IO.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../../gosu/lib/
libgosu.a(FileUnix.o)' is incompatible with i386:x86-64 output
make: *** [coherencia0] Error 1
Por lo menos ya he descubierto que los fallos se deben a la
arquitectura, que no es compatible con los 64 bits de mi SO. Por otro
lado, siempre me sale el mismo error al principio: " /bin/sh: ../../
gosu/bin/gosu-config: Permission denied " ¿A qué se debe y cómo lo
arreglo? Tanto ese como el siguiente.
NOTA: He eliminado la carpeta gosu del repositorio y la he ubicado en
el mismo nivel que la carpeta que contiene el proyecto.
Mientras encuentro otra solución, haré otra máquina virtual con Ubuntu
10.04 de 32 bits.
Saludos.
On 18 mayo, 16:53, Antonio Ruso Amieva <
antonio.rusoami...@gmail.com>
wrote: