SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Editing > Editing Help

Reply
 
Thread Tools Search this Thread
Old 02-19-2015   #1
Metal96
spaghetti coder
 
Metal96's Avatar
Default Compilation Error

Hello,

1) I read the wiki.

2) yes, I followed all the directions. Or at least I think I did.

Using MinGW on Win7 x64, I've disabled all features I do not have libraries for including SDL2 Mixer, GME (what's that? no mention on the compilation page...), zlib, etc., no modification has been made to the source, etc., I keep receiving a compilation termination upon MinGW fatal erroring not once but twice from the lack of both an allegro.h file and a zlib.h file (but zlib is in the source...?). I found the Allegro Game Programming library online and grabbed a ZIP but I have no clue where to stick it due to it being missing from the wiki page and not being an SDK (it's apparently a whole program?) and thus not having an include nor a lib directory. I'm seriously confused about the lack of zlib as I specified in both the makefile (via CMake) and again manually in the terminal after that didn't work that I do not have the library but the compiler still insisted on attempting to #include it. (ha)

So that's my story.



EDIT: It has magically ceased to give me the zlib error, even though I did nothing but try compiling again for good measure (it still gives the allegro error). What.

EDIT2: Found both GME and zlib in the source. Don't know how I missed them before. Added GME its CMake box, but zlib doesn't have a box to put the directory in...

Last edited by Metal96; 02-19-2015 at 10:29 AM.
Metal96 is offline   Reply With Quote
Old 02-19-2015   #2
AlamGBC
WOO! GO ME! YAHOO!
Administrator
 
AlamGBC's Avatar
Default

yea, you are making the CMakefile files, but you are invoking 'make' using the old style Makefile files and try to build DOS EXE, you move CMD's CWD to the CMake build folder, which seems to be 'C:\users\jonathan\Desktop\something' and run 'make' there
__________________
"remember, hacking SRB2 is a good thing, cracking it's save games is not" - Alam and Logan Arias

3DS FC: 0473-7778-0919
AlamGBC is offline   Reply With Quote
Old 02-20-2015   #3
Metal96
spaghetti coder
 
Metal96's Avatar
Default

Ohhhhhhhhhh ok. Never used CMake before, totally misunderstood that "point it to the build directory" in the Wiki. Thank you, it's compiling fine now!
Metal96 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:48 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.