Ajuda instalação

Burgos

Power Member
Boas. Começo por dizer q não pesco nada (0) destas andanças. No entanto, precisava de correr um software opensource q encontrei na net e não consigo. Já tentei procurar guias e tutorias como faço sempre para resolver o q quer q seja associado jogos a softwares mas isto vai um pouco mais fundo do q o comum utilizador está habilitado, pelo menos sem a orientação certa.

Os ficheiros da pasta descompactada do software não parecem executáveis normalmente pelo win.

O readme do install diz assim:

Depends on:
SDL > 1.2.0
openGL
freetype

nothing special, just:
# ./configure
# make
# make install

Será assim tão difícil de pôr a correr? Já saquei SDL 2.0, GLEW e OpenGL Mathematics (GLM). E o Visual Studio.

Se alguém me puder ajudar, orientar ou indicar um tutorial eu agradecia imenso.

EDIT: "E o Visual Studio."
 
Última edição:
Os ficheiros da pasta descompactada do software não parecem executáveis normalmente pelo win.

...

nothing special, just:
# ./configure
# make
# make install

Estás a tentar correr isso em Windows? Se for, esse é o problema. Aquilo são instruções para linux pelo que suponho que tenhas feito download para linux (ou só exista para linux)
 
Pois. Já instalei o Ubuntu numa máquina virtual. Já consegui pôr sdl, opengl e freetype. Mas agora dá um erro de loading de um ficheiro...

Não estou com sorte, parece-me!
 
burgos@burgos-VirtualBox:~/Desktop/wombattraining-master$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for mkdir... yes
checking for strstr... yes
checking for strcspn... yes
checking for strchr... yes
checking for strlen... yes
checking for atexit... yes
checking for srand... yes
checking for rand... yes
checking for main in -lm... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking SDL_opengl.h usability... yes
checking SDL_opengl.h presence... no
configure: WARNING: SDL_opengl.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: SDL_opengl.h: proceeding with the compiler's result
checking for SDL_opengl.h... yes
checking for freetype-config... /usr/local/bin/freetype-config
checking for FreeType -- version >= 2.1.0... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating conf/Makefile
config.status: creating pixmaps/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
burgos@burgos-VirtualBox:~/Desktop/wombattraining-master$ make
make all-recursive
make[1]: Entering directory '/home/burgos/Desktop/wombattraining-master'
Making all in src
make[2]: Entering directory '/home/burgos/Desktop/wombattraining-master/src'
gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/local/share\" -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include/freetype2 -I/usr/include/libpng12 -MT bonus.o -MD -MP -MF .deps/bonus.Tpo -c -o bonus.o bonus.c
In file included from bonus.h:3:0,
from bonus.c:1:
font.h:4:22: fatal error: freetype.h: No such file or directory
compilation terminated.
Makefile:267: recipe for target 'bonus.o' failed
make[2]: *** [bonus.o] Error 1
make[2]: Leaving directory '/home/burgos/Desktop/wombattraining-master/src'
Makefile:258: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/burgos/Desktop/wombattraining-master'
Makefile:196: recipe for target 'all' failed
make: *** [all] Error 2
burgos@burgos-VirtualBox:~/Desktop/wombattraining-master$

Agora deu erro a fazer # make
 
font.h:4:22: fatal error: freetype.h: No such file or directory
Aqui a uns tempos tive um erro igual a instalar um programa no linux. O meu problema estava em tentar compilar uma aplicação de 32 bits numa arquitectura de 64 bits.
O Linux que tens instalado na máquina virtual é de 32 ou 64? O programa que queres instalar é para 32 ou 64?
Espero ter ajudado ..
 
Só mais uma coisa para não perderes muito tempo. Tenta também usar outra distro: archlinux por exemplo nunca me deu problemas com o freetype.
 
Bom dia e obrigado desde já pela atenção.

N consegui instalar freetype-de.

Realmente estava a correr 32 num host 64, principalmente pq a box n permitia escolher 64 de inicio. Já mudei uma opção na bios e já permite instalar SO de 64. Estou a instalar de novo.
 
Continuo sem conseguir.

Alguém faz ou conhece alguém que faça "apoio" técnico deste género de linux em Lisboa?

Eu pago a quem me conseguir ajudar a resolver isto, física ou remotamente. Tenho muita urgência.
 
Estive fora e por isso não consegui fazer mais nada. Entretanto ontem pedi ajuda e remotamente conseguiram instalar-me o jogo. Pelo que percebi, havia erros no código, além do problema das fontes, portanto sozinho jamais chegaria lá.

Mesmo assim, o jogo precisa dois joysticks para ser jogado. Já consegui que sejam reconhecidos pela plataforma guest, mas não consigo pô-los a funcionar no jogo.

No readme pode ler-se isto:

"This is a simple game. It's small copy of Wombat-CS test (aero.ca).
For playing you need 2 joysticks. Now, joystick configuration could be done
by modification of the source (vars.h)."

Este ficheiro "vars.h" está em branco no meu sistema. Em https://github.com/arjamizo/wombattraining/tree/master/src , o mesmo ficheiro já não está em branco. Será difícil de conseguir por isto a funcionar sozinho?
 
O vars.h estar vazio não acho muito normal. Esse ficheiro é preciso na compilação do jogo e não na execução.

Podes confirmar se na source ele está mesmo vazio?

Que alterações fizeram para funcionar?
 
Back
Topo