Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Harvey ! (Registered 2024-11-25) You are not logged in - nap
CSDb User Forums


Forums > CSDb Entries > Release id #216054 : GTUltra V1.0.3
2022-03-29 21:41
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.
2022-03-29 22:21
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 :)
2022-03-30 15:10
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
2022-03-30 15:17
Jason Page

Registered: Sep 2015
Posts: 87
(have hopefully also removed all offending .o and .h files too)
2022-03-30 18:15
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?
2022-03-30 18:33
chatGPZ

Registered: Dec 2001
Posts: 11357
SDL 1 is my guess - this bme lib is ooooold
2022-03-30 19:15
Silver Dream !

Registered: Nov 2005
Posts: 108
Quoting Groepaz
SDL 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.
2022-03-30 19:41
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.
2022-03-30 19:49
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.
2022-03-30 19:55
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?
2022-03-30 20:01
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
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
serato/Finnish Gold
Flex/Artline Designs
Copyfault/Extend^tsn..
LKP/CFN
Guests online: 80
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Wonderland XIV  (9.6)
10 Comaland 100%  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Morph  (9.5)
9 Dawnfall V1.1  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Triad  (9.2)
Top NTSC-Fixers
1 Pudwerx  (10)
2 Booze  (9.7)
3 Stormbringer  (9.7)
4 Fungus  (9.6)
5 Grim Reaper  (9.3)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.048 sec.