Building quickbms throws reference errors

Doubts, help and support about QuickBMS and other game research tools
trihor
Posts: 3
Joined: Sun Apr 11, 2021 11:36 pm

Building quickbms throws reference errors

Post by trihor »

Hi, total C noob here. Trying to run the makefile leads to many reference errors (https://pastebin.com/7BVtNGPy) on Ubuntu 18.04, attempted with both g++4 and g++7. Not sure what I'm doing wrong, any pointers?
trihor
Posts: 3
Joined: Sun Apr 11, 2021 11:36 pm

Re: Building quickbms throws reference errors

Post by trihor »

Update: Adding -msse2 in cflags and libs/amiga/amiga.s + libs/powzix/*.cpp as extra targets makes it build at least. Trying to run them on x64 Windows leads to incompatibility issues though. More hairs to tear out I suppose
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Building quickbms throws reference errors

Post by aluigi »

Yeah probably the Makefile is still not tuned at 100% for working with gcc 64bit.

When I released quickbms 0.11 few days ago I successfully compiled it by just running "make" on:
- MacOS using gcc 64bit
- Linux using gcc 4 32bit
- Windows using gcc 4 and 10 32bit, but it compiled on gcc 10 64bit too apart from some undefined standard libraries (like -lm -lgdi32 and so on)
- Android ARM using clang 11

On Windows I ever opt for using compa.bat (http://aluigi.org/bms/compa.bat) rather than the Makefile.

What types of "incompatibility issues" you noticed?
Something like crashes at runtime when launching quickbms.exe?
trihor
Posts: 3
Joined: Sun Apr 11, 2021 11:36 pm

Re: Building quickbms throws reference errors

Post by trihor »

The compatibility issue is just the program not running, saying it isn't designed for it, which on afterthought is because I built a Linux binary without targeting it to Windows. I've found a workaround without having to build the tool, which isn't the greatest but still better for me than having to build something complex like quickbms with old dependencies that I'm not too familiar with. Thanks anyways.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Building quickbms throws reference errors

Post by aluigi »

What's the exact error message reported by the newly built quickbms at runtime?