ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Mon Jun 21, 2021 12:08 am

All times are UTC




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sun Apr 11, 2021 11:41 pm 

Joined: Sun Apr 11, 2021 11:36 pm
Posts: 3
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?


Top
   
PostPosted: Mon Apr 12, 2021 12:37 am 

Joined: Sun Apr 11, 2021 11:36 pm
Posts: 3
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


Top
   
PostPosted: Mon Apr 12, 2021 10:49 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12296
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?


Top
   
PostPosted: Tue Apr 13, 2021 7:40 pm 

Joined: Sun Apr 11, 2021 11:36 pm
Posts: 3
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.


Top
   
PostPosted: Wed Apr 14, 2021 11:45 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12296
What's the exact error message reported by the newly built quickbms at runtime?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited