| |
spider-j
Registered: Oct 2004 Posts: 498 |
Release id #216054 : GTUltra V1.0.3
Better take this to discussions to not flood the comments.
Quote:Can you run it from the win32 folder?
Running the exe through WINE works fine. I'd prefer a native linux build though. |
|
| |
chatGPZ
Registered: Dec 2001 Posts: 11357 |
same problem here, there is some file missing:
$ make
./bme/dat2inc gt2stereo.dat goatdata.c
cc `sdl-config --cflags` -Ibme -Iasm -O3 -fpermissive -c -o goatdata.o goatdata.c
cc1: Warnung: Kommandozeilenoption »-fpermissive« ist gültig für C++/ObjC++, aber nicht für C
cc `sdl-config --cflags` -Ibme -Iasm -O3 -fpermissive -c -o gt2stereo.o gt2stereo.c
cc1: Warnung: Kommandozeilenoption »-fpermissive« ist gültig für C++/ObjC++, aber nicht für C
In Datei, eingebunden von bme/SDL/SDL_stdinc.h:30,
von bme/SDL/SDL_main.h:26,
von bme/SDL/SDL.h:30,
von bme/bme.h:6,
von goattrk2.h:12,
von gt2stereo.c:26:
bme/SDL/SDL_config.h:42:10: schwerwiegender Fehler: SDL_config_minimal.h: Datei oder Verzeichnis nicht gefunden
42 | #include "SDL_config_minimal.h"
| ^~~~~~~~~~~~~~~~~~~~~~
Kompilierung beendet.
edit: after copying the missing file from a random source on my hd (which may or may not be correct, this file doesnt exist in my system libs) it goes further until the linking stage - which then craps out with a ton of undefined and duplicate symbols.
what kind of environment is this supposed to work in?
ticket
edit++: there also seem a bunch of files in the repo that shouldnt be there.... like dotfiles with macos metadata in the SDL header dir. And the entire SDL header dir itself actually :) |
| |
Jason Page
Registered: Sep 2015 Posts: 87 |
Following the info that zzarko posted in the main thread (GTUltra V1.0.3), I've added the changes from his patches.
Hopefully downloading / removing a few #defines will now allow for successful linux builds
Cheers
Jason |
| |
Jason Page
Registered: Sep 2015 Posts: 87 |
(have hopefully also removed all offending .o and .h files too) |
| |
Silver Dream !
Registered: Nov 2005 Posts: 108 |
Haven't tried on GNU/Linux yet (the second of the two systems I use) but on mac it now asks for missing `SDL_config_macosx.h`
silverdr$ make
cc `sdl-config --cflags` -Ibme -Iasm -O3 -fpermissive -I/usr/local/opt/openssl/include -c -o gt2stereo.o gt2stereo.c
In file included from gt2stereo.c:26:
In file included from ./goattrk2.h:12:
In file included from bme/bme.h:6:
In file included from bme/SDL/SDL.h:30:
In file included from bme/SDL/SDL_main.h:26:
In file included from bme/SDL/SDL_stdinc.h:30:
bme/SDL/SDL_config.h:34:10: fatal error: 'SDL_config_macosx.h' file not found
#include "SDL_config_macosx.h"
^~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [gt2stereo.o] Error 1
Also I am not sure if this is "standard" or not but SDL2 on my system provides `sdl2-config` rather than `sdl-config`. I guess this uses SDL2, right? |
| |
chatGPZ
Registered: Dec 2001 Posts: 11357 |
SDL 1 is my guess - this bme lib is ooooold |
| |
Silver Dream !
Registered: Nov 2005 Posts: 108 |
Quoting GroepazSDL 1 is my guess - this bme lib is ooooold
Uh... I don't remember when it was the last time I had SDL1 installed. Tnx. |
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
Quote: Haven't tried on GNU/Linux yet (the second of the two systems I use) but on mac it now asks for missing `SDL_config_macosx.h`
silverdr$ make
cc `sdl-config --cflags` -Ibme -Iasm -O3 -fpermissive -I/usr/local/opt/openssl/include -c -o gt2stereo.o gt2stereo.c
In file included from gt2stereo.c:26:
In file included from ./goattrk2.h:12:
In file included from bme/bme.h:6:
In file included from bme/SDL/SDL.h:30:
In file included from bme/SDL/SDL_main.h:26:
In file included from bme/SDL/SDL_stdinc.h:30:
bme/SDL/SDL_config.h:34:10: fatal error: 'SDL_config_macosx.h' file not found
#include "SDL_config_macosx.h"
^~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [gt2stereo.o] Error 1
Also I am not sure if this is "standard" or not but SDL2 on my system provides `sdl2-config` rather than `sdl-config`. I guess this uses SDL2, right?
And even if you fix that (I did) it will still complain about link errors. gmidi.o is needed on the linker line and that's windows only atm. |
| |
Jason Page
Registered: Sep 2015 Posts: 87 |
I had to search everywhere for a sdl 1 binary. I could have used sdl2, but as I had no idea how GT used it, I wanted to keep as much the same as possible. |
| |
Conrad
Registered: Nov 2006 Posts: 847 |
How to access channels 7-12?
I've set the SID numbers to 3 / 4, but I'm stuck with channels 1 to 6 still.
Is there a shortcut key for it? |
| |
tlr
Registered: Sep 2003 Posts: 1787 |
Managed to build the current master (84dcb0a89cd21a577417006d4b79a5ce79284a73) on my Ubuntu 20.04 box.
Needed to comment out #define __WINDOWS_MM__ in RtMidi.cpp and switch between the __WINDOWS__ and __LINUX__ defines in gmidi.cpp.
There is also a typo in makefile.common. A spurious '+' sign before gfile.o. |
... 159 posts hidden. Click here to view all posts.... |
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | ... | 17 - Next |