PDA Maze

PDA Maze

Postby Technopeasant » 13 Aug 2021, 04:47

I was playing through some of Bill Kendrick's games the other day and wanted to try out PDA Maze.

http://www.newbreedsoftware.com/pdamaze/

The original binary gives me this error.

{l Code}: {l Select All Code}
bash: /home/graham/Programs/GNU-Linux/pdamaze-2001.10.05/pdamaze.snow: cannot execute binary file: Exec format error


I then came across this modernized port to Qt.

https://github.com/EXL/PDA_Maze

But when I try to run the binary I get this error

{l Code}: {l Select All Code}
/home/graham/Programs/GNU-Linux/PDA_Maze-master/PDA_Maze.rc: line 1: IDI_ICON1: command not found


Any suggestions?

There does not appear to be any makefile or anything included for this version.
User avatar
Technopeasant
 
Posts: 176
Joined: 22 Feb 2017, 03:38

Re: PDA Maze

Postby PeterX » 13 Aug 2021, 14:42

Your operating system for some reason doesn't support the format of the executable. Could be a 32/64 bit issue (or something else).

You need QMake, part of Qt.

Greetings
Peter
User avatar
PeterX
 
Posts: 270
Joined: 01 Oct 2020, 21:44

Re: PDA Maze

Postby Technopeasant » 14 Aug 2021, 17:31

{l Code}: {l Select All Code}
[graham@Lore PDA_Maze-master]$ qmake /home/graham/Programs/GNU-Linux/PDA_Maze-master
[graham@Lore PDA_Maze-master]$ make
g++  -o PDA_Maze-master     -L/usr/lib64/qt-3.3/lib -lqt-mt -lXext -lX11 -lm
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crt1.o: in function `_start':
(.text+0x24): undefined reference to `main'
collect2: error: ld returned 1 exit status
make: *** [Makefile:86: PDA_Maze-master] Error 1
User avatar
Technopeasant
 
Posts: 176
Joined: 22 Feb 2017, 03:38

Re: PDA Maze

Postby PeterX » 14 Aug 2021, 20:12

It seems to me that the linking command is missing a proper object file.
Some file ending its name with .o or .obj.

(EDIT: It must contain the main() function. From the file PDA_MAZE.pro I think it should be main.o.)
User avatar
PeterX
 
Posts: 270
Joined: 01 Oct 2020, 21:44

Who is online

Users browsing this forum: No registered users and 1 guest