Error con Gosu

18 views
Skip to first unread message

juan manuel jimenez

unread,
May 21, 2012, 10:56:23 PM5/21/12
to ADVUCA
Hola, buenas, tengo el siguiente problema al ejecutar el make del
videojuego:

Linking binary...
/bin/sh: ../gosu/bin/gosu-config: not found
g++: ../gosu/lib/libgosu.a: No existe el fichero o el directorio
make: *** [MrPig] Error 1

La cosa es que me dice que no existe el fichero libgosu.a, pero si
miro en la carpeta en la que esta si existe, no entiendo lo que
pasa :S. A ver si podeis echarme un cable.

Gracias de antemano.

David Saltares Márquez

unread,
May 22, 2012, 2:18:22 AM5/22/12
to adv...@googlegroups.com
Linking binary...
/bin/sh: ../gosu/bin/gosu-config: not found
g++: ../gosu/lib/libgosu.a: No existe el fichero o el directorio
make: *** [MrPig] Error 1


Como ya se ha comentado por aquí, ¿has probado sudo ldconfig y volver a hacer make?

Saludos.
 


--
David Saltares Márquez

Game designer and programmer
http://siondream.com


Antonio Ruso Amieva

unread,
May 22, 2012, 3:27:43 AM5/22/12
to ADVUCA
Buenas, entra en gosu/linux y haz:

./configure
make
sudo make configure

Acto seguido entra en gosu/lib y comprueba que existe el fichero
libgosu.a.

Después entra en gosu/bin/gosu-config y dale permiso de ejecución.

Vuelve a la carpeta de tu proyecto y haz el make.

Saludos y suerte.

On 22 mayo, 04:56, juan manuel jimenez

juan manuel jimenez

unread,
May 22, 2012, 7:57:07 AM5/22/12
to ADVUCA
Buenas, he hecho sudo ldconfig y me sigue dando el mismo error.
Tambien he hecho lo que dice el compañero Antonio pero cuando hago
sudo make configure me dice:

make: no se hace nada para <<configure>>.

Aun asi hago todo lo demas y me sigue diciendo lo mismo :S.

Gracias.

Antonio Ruso Amieva

unread,
May 22, 2012, 8:32:14 AM5/22/12
to ADVUCA
Perdón, quise decir:

sudo make install

No sé dónde tengo la cabeza, tanta terminal...

On 22 mayo, 13:57, juan manuel jimenez

juan manuel jimenez

unread,
May 22, 2012, 8:47:05 AM5/22/12
to ADVUCA
Buenas, no pasa nada. La cosa es que lo he vuelto ha hacer pero me
sigue diciendo lo mismo :S.
Ya no se que hacer.

Gracias.

José Tomás Tocino García

unread,
May 22, 2012, 9:32:35 AM5/22/12
to adv...@googlegroups.com
Buenas.

Según el mail inicial, el directorio en el que se encuentra el makefile debería ser "hermano" del directorio gosu, es decir:

Padre
  - carpeta_del_juego
  - gosu

Ya que estás haciendo referencia usando "../gosu". En primer lugar, ¿has mirado si eso es correcto?

Un saludo.

2012/5/22 juan manuel jimenez <juanma.jim...@gmail.com>

Gracias.

--
Has recibido este mensaje porque estás suscrito al grupo "ADVUCA" de Grupos de Google.
Para publicar una entrada en este grupo, envía un correo electrónico a adv...@googlegroups.com.
Para anular tu suscripción a este grupo, envía un correo electrónico a advuca+un...@googlegroups.com
Para tener acceso a más opciones, visita el grupo en http://groups.google.com/group/advuca?hl=es.




--
José Tomás Tocino García
http://www.josetomastocino.com

juan manuel jimenez

unread,
May 22, 2012, 9:39:41 AM5/22/12
to ADVUCA
Buenas.

Si, lo he mirado y es correcto asi que no entiendo porque me sigue
diciendo que no existe :S.

Saludos.

José Tomás Tocino García

unread,
May 22, 2012, 9:40:15 AM5/22/12
to adv...@googlegroups.com
Ve al directorio gosu/linux y ejecuta

./configure
make

A ver.

2012/5/22 juan manuel jimenez <juanma.jim...@gmail.com>
Buenas.
--
Has recibido este mensaje porque estás suscrito al grupo "ADVUCA" de Grupos de Google.
Para publicar una entrada en este grupo, envía un correo electrónico a adv...@googlegroups.com.
Para anular tu suscripción a este grupo, envía un correo electrónico a advuca+un...@googlegroups.com
Para tener acceso a más opciones, visita el grupo en http://groups.google.com/group/advuca?hl=es.

juan manuel jimenez

unread,
May 22, 2012, 9:54:43 AM5/22/12
to ADVUCA
Buenas.

Me siguen haciendo lo mismo, despues de hacer:
./configure
make

Saludos.

José Tomás Tocino García

unread,
May 22, 2012, 9:59:26 AM5/22/12
to adv...@googlegroups.com
Mmm qué raro.

Podriás irte al directorio padre y copiar aquí la salida que te da el comando tree ?

2012/5/22 juan manuel jimenez <juanma.jim...@gmail.com>
Buenas.

Saludos.

--
Has recibido este mensaje porque estás suscrito al grupo "ADVUCA" de Grupos de Google.
Para publicar una entrada en este grupo, envía un correo electrónico a adv...@googlegroups.com.
Para anular tu suscripción a este grupo, envía un correo electrónico a advuca+un...@googlegroups.com
Para tener acceso a más opciones, visita el grupo en http://groups.google.com/group/advuca?hl=es.

juan manuel jimenez

unread,
May 22, 2012, 10:10:43 AM5/22/12
to ADVUCA
Buenas.

La salida que me da es esta:

.
|-- fichero.txt
|-- flower.jpg
|-- Gosu
| |-- bin
| | `-- gosu-config
| |-- COPYING
| |-- dependencies
| | |-- AL
| | | |-- alc.h
| | | |-- alext.h
| | | |-- al.h
| | | |-- efx-creative.h
| | | |-- efx.h
| | | |-- OpenAL32.dll
| | | `-- OpenAL32.lib
| | |-- al_soft.license
| | |-- libogg
| | | |-- AUTHORS
| | | |-- CHANGES
| | | |-- COPYING
| | | |-- include
| | | | `-- ogg
| | | | |-- ogg.h
| | | | `-- os_types.h
| | | `-- src
| | | |-- bitwise.c
| | | `-- framing.c
| | |-- libsndfile
| | | |-- libsndfile.dll
| | | |-- sndfile.h
| | | `-- sndfile.hh
| | |-- libsndfile.license
| | |-- libvorbis
| | | |-- AUTHORS
| | | |-- CHANGES
| | | |-- COPYING
| | | |-- include
| | | | `-- vorbis
| | | | |-- codec.h
| | | | |-- vorbisenc.h
| | | | `-- vorbisfile.h
| | | `-- lib
| | | |-- analysis.c
| | | |-- backends.h
| | | |-- barkmel.c
| | | |-- bitrate.c
| | | |-- bitrate.h
| | | |-- block.c
| | | |-- books
| | | | |-- coupled
| | | | | |-- res_books_51.h
| | | | | `-- res_books_stereo.h
| | | | |-- floor
| | | | | `-- floor_books.h
| | | | `-- uncoupled
| | | | `-- res_books_uncoupled.h
| | | |-- codebook.c
| | | |-- codebook.h
| | | |-- codec_internal.h
| | | |-- envelope.c
| | | |-- envelope.h
| | | |-- floor0.c
| | | |-- floor1.c
| | | |-- highlevel.h
| | | |-- info.c
| | | |-- lookup.c
| | | |-- lookup_data.h
| | | |-- lookup.h
| | | |-- lpc.c
| | | |-- lpc.h
| | | |-- lsp.c
| | | |-- lsp.h
| | | |-- mapping0.c
| | | |-- masking.h
| | | |-- mdct.c
| | | |-- mdct.h
| | | |-- misc.h
| | | |-- modes
| | | | |-- floor_all.h
| | | | |-- psych_11.h
| | | | |-- psych_16.h
| | | | |-- psych_44.h
| | | | |-- psych_8.h
| | | | |-- residue_16.h
| | | | |-- residue_44.h
| | | | |-- residue_44p51.h
| | | | |-- residue_44u.h
| | | | |-- residue_8.h
| | | | |-- setup_11.h
| | | | |-- setup_16.h
| | | | |-- setup_22.h
| | | | |-- setup_32.h
| | | | |-- setup_44.h
| | | | |-- setup_44p51.h
| | | | |-- setup_44u.h
| | | | |-- setup_8.h
| | | | `-- setup_X.h
| | | |-- os.h
| | | |-- psy.c
| | | |-- psy.h
| | | |-- psytune.c
| | | |-- registry.c
| | | |-- registry.h
| | | |-- res0.c
| | | |-- scales.h
| | | |-- sharedbook.c
| | | |-- smallft.c
| | | |-- smallft.h
| | | |-- synthesis.c
| | | |-- tone.c
| | | |-- vorbisenc.c
| | | |-- vorbisfile.c
| | | |-- window.c
| | | `-- window.h
| | `-- ogg_vorbis.license
| |-- examples
| | |-- ChipmunkIntegration.rb
| | |-- CptnRuby.rb
| | |-- GosuZen.rb
| | |-- media
| | | |-- Beep.wav
| | | |-- CptnRuby Gem.png
| | | |-- CptnRuby Map.txt
| | | |-- CptnRuby.png
| | | |-- CptnRuby Tileset.png
| | | |-- Cursor.png
| | | |-- Earth.png
| | | |-- Explosion.wav
| | | |-- Landscape.svg
| | | |-- LargeStar.png
| | | |-- Smoke.png
| | | |-- Soldier.png
| | | |-- Space.png
| | | |-- Starfighter.bmp
| | | `-- Star.png
| | |-- MoreChipmunkAndRMagick.rb
| | |-- OpenGLIntegration.rb
| | |-- RMagickIntegration.rb
| | |-- TextInput.cpp
| | |-- TextInput.rb
| | |-- Tutorial.cpp
| | `-- Tutorial.rb
| |-- feature_tests
| | |-- AsyncTest.rb
| | |-- audio_formats
| | | |-- aiff_32bit_float.aiff
| | | |-- au_16bit_pcm.au
| | | |-- caf_be_16bit_44khz.caf
| | | |-- caf_le_16bit_44khz.caf
| | | |-- caf_le_8bit_44khz.caf
| | | |-- general_midi.mid
| | | |-- impulse_tracker.it
| | | |-- mp3_128k_stereo.mp3
| | | |-- mp3_avg_96kbit_jointstereo.mp3
| | | |-- ogg_vorbis.ogg
| | | |-- wav_16bit_pcm.wav
| | | |-- wav_32bit_pcm.wav
| | | `-- wav_4bit_ms_adpcm.wav
| | |-- audio_formats.rb
| | |-- BtnUpDownBalanceTest.rb
| | |-- ClippingTest.rb
| | |-- exotic_image.rb
| | |-- FullscreenTest.rb
| | |-- GLDepthTest.rb
| | |-- gl_garbage_collection.rb
| | |-- HSVTest.rb
| | |-- IdToCharTest.rb
| | |-- image_insert.rb
| | |-- media
| | | |-- BrokenPNG.png
| | | |-- CptnRuby Gem.png
| | | |-- CptnRuby Map.txt
| | | |-- CptnRuby.png
| | | |-- CptnRuby Tileset 64.png
| | | |-- CptnRuby Tileset.png
| | | |-- Cursor.png
| | | |-- JingleBells.mp3
| | | |-- JingleBells.ogg
| | | |-- Loop.wav
| | | |-- Sample.wav
| | | |-- Space.png
| | | |-- SquareTexture.png
| | | |-- Test.jpg
| | | |-- Test.psd
| | | |-- Vera.ttf
| | | |-- Wallpaper.png
| | | |-- WallpaperXXL.png
| | | `-- WhiteAlpha.png
| | |-- MousePosTest.rb
| | |-- MouseWheelTest.rb
| | |-- needs_cursor.rb
| | |-- nonpremultiplied_alpha.rb
| | |-- QuadOrder.rb
| | |-- record_draw_as_quad.rb
| | |-- record_performance.rb
| | |-- record_textures.rb
| | |-- record_transforms.rb
| | |-- sample_instance.rb
| | |-- SamplePlayTest.rb
| | |-- schedule_gl.rb
| | |-- ScreenDimensions.rb
| | |-- song_volume_and_looping.rb
| | |-- text_formatting.rb
| | |-- text_height.rb
| | |-- TextureAllocTest.rb
| | |-- ThaiTest.rb
| | |-- transform.rb
| | |-- UnicodeTest.rb
| | |-- unicode_text_width.rb
| | |-- VsyncTest.rb
| | |-- WebFontTest.rb
| | |-- WindowedTest.rb
| | |-- window_exceptions.rb
| | `-- zen.rb
| |-- Gemfile
| |-- Gemfile.lock
| |-- Gosu
| | |-- Async.hpp
| | |-- Audio.hpp
| | |-- AutoLink.hpp
| | |-- Bitmap.hpp
| | |-- ButtonsMac.hpp
| | |-- ButtonsWin.hpp
| | |-- ButtonsX.hpp
| | |-- Color.hpp
| | |-- Directories.hpp
| | |-- Font.hpp
| | |-- Fwd.hpp
| | |-- Gosu.hpp
| | |-- GraphicsBase.hpp
| | |-- Graphics.hpp
| | |-- ImageData.hpp
| | |-- Image.hpp
| | |-- Input.hpp
| | |-- Inspection.hpp
| | |-- IO.hpp
| | |-- Math.hpp
| | |-- Platform.hpp
| | |-- Sockets.hpp
| | |-- Text.hpp
| | |-- TextInput.hpp
| | |-- Timing.hpp
| | |-- TR1.hpp
| | |-- Utility.hpp
| | |-- Version.hpp
| | |-- Window.hpp
| | `-- WinUtility.hpp
| |-- GosuImpl
| | |-- Async.cpp
| | |-- Audio
| | | |-- ALChannelManagement.hpp
| | | |-- AudioFile.hpp
| | | |-- AudioOpenAL.cpp
| | | |-- AudioOpenAL.mm
| | | |-- AudioSDL.cpp
| | | |-- AudioToolboxFile.hpp
| | | |-- OggFile.hpp
| | | `-- SndFile.hpp
| | |-- DirectoriesMac.mm
| | |-- DirectoriesTouch.mm
| | |-- DirectoriesUnix.cpp
| | |-- DirectoriesWin.cpp
| | |-- FileUnix.cpp
| | |-- FileWin.cpp
| | |-- Graphics
| | | |-- BitmapApple.mm
| | | |-- BitmapBMP.cpp
| | | |-- BitmapColorKey.cpp
| | | |-- Bitmap.cpp
| | | |-- BitmapFreeImage.cpp
| | | |-- BitmapGDIplus.cpp
| | | |-- BitmapUtils.cpp
| | | |-- BlockAllocator.cpp
| | | |-- BlockAllocator.hpp
| | | |-- ClipRectStack.hpp
| | | |-- Color.cpp
| | | |-- Common.hpp
| | | |-- DrawOp.hpp
| | | |-- DrawOpQueue.hpp
| | | |-- Font.cpp
| | | |-- FormattedString.hpp
| | | |-- GosuView.hpp
| | | |-- GosuView.mm
| | | |-- Graphics.cpp
| | | |-- Image.cpp
| | | |-- LargeImageData.cpp
| | | |-- LargeImageData.hpp
| | | |-- Macro.hpp
| | | |-- RenderState.hpp
| | | |-- TexChunk.cpp
| | | |-- TexChunk.hpp
| | | |-- Text.cpp
| | | |-- TextMac.cpp
| | | |-- TextTouch.mm
| | | |-- TextTTFWin.cpp
| | | |-- TextUnix.cpp
| | | |-- Texture.cpp
| | | |-- Texture.hpp
| | | |-- TextWin.cpp
| | | |-- Transform.cpp
| | | `-- TransformStack.hpp
| | |-- Iconv.hpp
| | |-- Input
| | | |-- AccelerometerReader.hpp
| | | `-- AccelerometerReader.mm
| | |-- InputMac.mm
| | |-- InputTouch.mm
| | |-- InputWin.cpp
| | |-- InputX.cpp
| | |-- Inspection.cpp
| | |-- IO.cpp
| | |-- MacUtility.hpp
| | |-- Math.cpp
| | |-- Orientation.hpp
| | |-- Orientation.mm
| | |-- RubyGosuStub.mm
| | |-- RubyGosu.swg
| | |-- RubyGosu_SWIG_GC_PATCH.patch
| | |-- RubyGosu_SWIG_RENAME_PATCH.patch
| | |-- RubyGosu_SWIG_TYPE_PATCH.patch
| | |-- RubyGosu_wrap.cxx
| | |-- RubyGosu_wrap.h
| | |-- Sockets
| | | |-- CommSocket.cpp
| | | |-- ListenerSocket.cpp
| | | |-- MessageSocket.cpp
| | | |-- Socket.cpp
| | | `-- Sockets.hpp
| | |-- TextInputMac.mm
| | |-- TextInputWin.cpp
| | |-- TextInputX.cpp
| | |-- TimingApple.cpp
| | |-- TimingUnix.cpp
| | |-- TimingWin.cpp
| | |-- UtilityApple.mm
| | |-- Utility.cpp
| | |-- UtilityWin.cpp
| | |-- WindowMac.mm
| | |-- WindowTouch.mm
| | |-- WindowWin.cpp
| | |-- WindowX.cpp
| | |-- WinMain.cpp
| | |-- WinUtility.cpp
| | `-- X11vroot.h
| |-- ios
| | |-- Gosu
| | | |-- GosuProj.xcconfig
| | | `-- GosuTarget.xcconfig
| | `-- GosuTouch.xcodeproj
| | |-- project.pbxproj
| | `-- project.xcworkspace
| | |-- contents.xcworkspacedata
| | `-- xcuserdata
| | `-- jlnr.xcuserdatad
| | `-- UserInterfaceState.xcuserstate
| |-- lib
| | |-- FreeImage.dll
| | |-- gosu
| | | |-- patches.rb
| | | |-- preview.rb
| | | |-- run.rb
| | | |-- swig_patches.rb
| | | `-- zen.rb
| | |-- gosu.rb
| | |-- libgosu.a
| | |-- libgosu.so
| | |-- libsndfile.dll
| | |-- OpenAL32.dll
| | `-- OpenAL32.lib
| |-- linux
| | |-- Audio
| | | `-- AudioOpenAL.o
| | |-- config.log
| | |-- config.status
| | |-- configure
| | |-- configure.ac
| | |-- DirectoriesUnix.o
| | |-- extconf.rb
| | |-- FileUnix.o
| | |-- Graphics
| | | |-- BitmapColorKey.o
| | | |-- BitmapFreeImage.o
| | | |-- Bitmap.o
| | | |-- BitmapUtils.o
| | | |-- BlockAllocator.o
| | | |-- Color.o
| | | |-- Font.o
| | | |-- Graphics.o
| | | |-- Image.o
| | | |-- LargeImageData.o
| | | |-- TexChunk.o
| | | |-- Text.o
| | | |-- TextUnix.o
| | | |-- Texture.o
| | | `-- Transform.o
| | |-- InputX.o
| | |-- Inspection.o
| | |-- IO.o
| | |-- Makefile
| | |-- Makefile.in
| | |-- Math.o
| | |-- Sockets
| | | |-- CommSocket.o
| | | |-- ListenerSocket.o
| | | |-- MessageSocket.o
| | | `-- Socket.o
| | |-- TextInputX.o
| | |-- TimingUnix.o
| | |-- Utility.o
| | `-- WindowX.o
| |-- mac
| | |-- English.lproj
| | | `-- InfoPlist.strings
| | |-- Gosu App.psd
| | |-- Gosu.icns
| | |-- Gosu-Info.plist
| | |-- Gosu.xcodeproj
| | | `-- project.pbxproj
| | |-- Main.rb
| | |-- Ruby
| | | |-- define_environ.h
| | | |-- install_rvm_ruby.sh
| | | `-- rbconfig.rb
| | `-- RubyGosu App-Info.plist
| |-- rake
| | |-- docs.rb
| | |-- linux.rb
| | |-- mac.rb
| | |-- ruby19.rb
| | |-- set_version.rb
| | |-- tmbundle.rb
| | |-- todo.rb
| | |-- web.rb
| | `-- win.rb
| |-- Rakefile
| |-- README.txt
| |-- reference
| | |-- cpp.css
| | |-- cpp_footer.html
| | |-- cpp_header.html
| | |-- doxyfile
| | |-- Drawing_with_Colors.rdoc
| | |-- gosu.rb
| | |-- Order_of_Corners.rdoc
| | |-- Tileability.rdoc
| | `-- Z_Ordering.rdoc
| |-- website
| | |-- angles2.png
| | |-- background.jpg
| | |-- corner_indices.png
| | |-- default.css
| | |-- favicon.ico
| | |-- feed-icon.png
| | |-- footer.png
| | |-- forum_header.png
| | |-- hard_borders.png
| | |-- index.html.erb
| | |-- logo.lineform.zip
| | |-- omnigraffle
| | | |-- Gosu.gstencil
| | | `-- Main Loop.graffle
| | |-- opaque_logo.png
| | |-- opaque_logo.psd
| | |-- potd.rb
| | |-- website_header.png
| | |-- website_header.psd
| | `-- wiki_images
| | |-- angles2.png
| | |-- board_link.png
| | |-- board_link.psd
| | |-- corner_indices.png
| | |-- hard_borders.png
| | |-- main_loop.png
| | |-- msvc10-directories.png
| | |-- msvc10-expert.jpg
| | |-- msvc10-include.png
| | |-- msvc10-propsheet.png
| | |-- msvc_1_include.png
| | |-- msvc_2_lib.png
| | |-- msvc_3_proj.png
| | |-- msvc_4_proj2.png
| | |-- msvc_5_rt.png
| | |-- msvc_6_outputdir.png
| | |-- xcode_files.png
| | `-- xcode_header_paths.png
| `-- windows
| |-- Gosu.sln
| |-- Gosu.vcxproj
| |-- Gosu.vcxproj.filters
| |-- Makefile
| `-- RubyGosu.vcxproj
|-- hola.c
|-- holatodos.c
|-- makefile
|-- MrPig
| |-- Juego.o
| |-- main.o
| |-- Makefile
| |-- media
| | |-- arbol.png
| | |-- CerditoDp7.png
| | |-- CerditoD.png
| | |-- CerditoDp.png
| | |-- CerditoIp7.png
| | |-- CerditoI.png
| | |-- CerditoIp.png
| | |-- fondo.png
| | |-- Gallina.png
| | |-- LobitoDp.png
| | |-- LobitoI.png
| | |-- LobitoIp.png
| | |-- mapa.png
| | `-- Toshinori_Murashima-apple.ogg
| `-- src
| |-- Entidad.h
| |-- Juego.cpp
| |-- Juego.h
| |-- main.cpp
| `-- Mapa.h
`-- nivel2.png

Saludos.

José Tomás Tocino García

unread,
May 22, 2012, 10:11:56 AM5/22/12
to adv...@googlegroups.com
Parece que el directorio Gosu está en mayúsculas. Debe ser "gosu".


Saludos.

--
Has recibido este mensaje porque estás suscrito al grupo "ADVUCA" de Grupos de Google.
Para publicar una entrada en este grupo, envía un correo electrónico a adv...@googlegroups.com.
Para anular tu suscripción a este grupo, envía un correo electrónico a advuca+un...@googlegroups.com
Para tener acceso a más opciones, visita el grupo en http://groups.google.com/group/advuca?hl=es.

juan manuel jimenez

unread,
May 22, 2012, 10:18:45 AM5/22/12
to ADVUCA
Buenas.

Gracias, por todo el problema se ha solucionado era por eso ><. Menudo
fallo mas tonto y mira que no darme cuenta.

Saludos.
Reply all
Reply to author
Forward
0 new messages