If they have no correlating purpose, then why does NASM need to be placed in a MinGW directory, hmm?Nach wrote:They don't.AspiringSquire wrote: * how NASM and MinGW relate/interact/whatever
Compiling ZSNES with MinGW - For Beginners
Moderator: ZSNES Mods
-
- Born to Rule... Impatiently
- Posts: 265
- Joined: Wed Nov 17, 2004 8:21 pm
- Location: Everywhere I want to be.
- Contact:
Re: Compiling ZSNES - For Beginners
[url=http://board.zsnes.com/phpBB2/viewtopic.php?t=3298][color=brown]My [u]NES palette[/u][/color][/url] - better colors with any emulator.
"the more you know, and the more you can do... the more you are."
- [url=http://www.danielbohman.com][color=brown][u]daniel bohman[/u][/color][/url]
"the more you know, and the more you can do... the more you are."
- [url=http://www.danielbohman.com][color=brown][u]daniel bohman[/u][/color][/url]
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
Re: Compiling ZSNES - For Beginners
It doesn't have to be placed there, it does't matter where you place it as long as the makefile can find it. Meaning place it in any directory in your path.AspiringSquire wrote:If they have no correlating purpose, then why does NASM need to be placed in a MinGW directory, hmm?Nach wrote:They don't.AspiringSquire wrote: * how NASM and MinGW relate/interact/whatever
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- Dark Wind
- Posts: 1271
- Joined: Thu Jul 29, 2004 8:58 pm
- Location: Texas
- Contact:
Re: Compiling ZSNES - For Beginners
That might work. I don't know if anybody's tried it or not. In any case, it wasn't around in 2000.Syvalion wrote:My bad. I thought this was it.Noxious Ninja wrote:Nope.
What Nach said. I just wrote to put it in the MinGW directory so you only have to add one item to your path.AspiringSquire wrote:If they have no correlating purpose, then why does NASM need to be placed in a MinGW directory, hmm?Nach wrote:They don't.AspiringSquire wrote: * how NASM and MinGW relate/interact/whatever
You could stick it in C:\WINDOWS for all I care.
[u][url=http://bash.org/?577451]#577451[/url][/u]
Re: Compiling ZSNES - For Beginners
That link came from a reliable source.Noxious Ninja wrote:That might work. I don't know if anybody's tried it or not. In any case, it wasn't around in 2000.
Cool, eh? Too bad it wasn't a free download in 2000.
AspiringSquire, what did you do to fix this?
Edit: Nevermind, apparantly I missed twice that you fixed it by using zlib 1.2.1...
(Go ahead and delete, if anyone with the ability so chooses)
Edit2: Now undefined IID_IDirectSoundBuffer8, IID_IDirectInput8A, and IID_IDirectDraw7? Can't figure this one out...
Code: Select all
windres --define GCC_WINDRES -o zlibrc.o win32/zlib1.rc
windres: win32/zlib1.rc:9: syntax error
mingw32-make: *** [zlibrc.o] Error 1

Edit2: Now undefined IID_IDirectSoundBuffer8, IID_IDirectInput8A, and IID_IDirectDraw7? Can't figure this one out...
-
- Dark Wind
- Posts: 1271
- Joined: Thu Jul 29, 2004 8:58 pm
- Location: Texas
- Contact:
Make sure you got the Allegro Minimal DirectX SDK and copied the headers as per the instructions.washuu108 wrote:AspiringSquire, what did you do to fix this?
Edit: Nevermind, apparantly I missed twice that you fixed it by using zlib 1.2.1...Code: Select all
windres --define GCC_WINDRES -o zlibrc.o win32/zlib1.rc windres: win32/zlib1.rc:9: syntax error mingw32-make: *** [zlibrc.o] Error 1
(Go ahead and delete, if anyone with the ability so chooses)
Edit2: Now undefined IID_IDirectSoundBuffer8, IID_IDirectInput8A, and IID_IDirectDraw7? Can't figure this one out...
[u][url=http://bash.org/?577451]#577451[/url][/u]
-
- Dark Wind
- Posts: 1271
- Joined: Thu Jul 29, 2004 8:58 pm
- Location: Texas
- Contact:
-
- Born to Rule... Impatiently
- Posts: 265
- Joined: Wed Nov 17, 2004 8:21 pm
- Location: Everywhere I want to be.
- Contact:
Could someone please "stickify" this thread? I'm sure there are many users who would benefit from the data that is in here, and if they still need help, they can ask for it in here also. 
By the way, washuu108, I have no idea what's causing the problem you were having. The only thing I can suggest is to try starting from scratch; uninstall and delete everything you downloaded for the purpose of compiling ZSNES, and just be sure to read the directions carefully and follow them explicitly—though there are cases where something may need to be done slightly differently... just use your best judgment.
Hopefully you can get it working or at least discover what the problem is.

By the way, washuu108, I have no idea what's causing the problem you were having. The only thing I can suggest is to try starting from scratch; uninstall and delete everything you downloaded for the purpose of compiling ZSNES, and just be sure to read the directions carefully and follow them explicitly—though there are cases where something may need to be done slightly differently... just use your best judgment.

[url=http://board.zsnes.com/phpBB2/viewtopic.php?t=3298][color=brown]My [u]NES palette[/u][/color][/url] - better colors with any emulator.
"the more you know, and the more you can do... the more you are."
- [url=http://www.danielbohman.com][color=brown][u]daniel bohman[/u][/color][/url]
"the more you know, and the more you can do... the more you are."
- [url=http://www.danielbohman.com][color=brown][u]daniel bohman[/u][/color][/url]
-
- Romhacking God
- Posts: 922
- Joined: Wed Jul 28, 2004 11:27 pm
- Contact:
Absolutely. You can download the command line visual C++ compiler that comes with Visual C++/Studio .NET 2003 free of charge. Of course that's ONLY the command line compiler. Bare bones.. nothing else.DIP switch wrote:My bad. I thought this was it.Noxious Ninja wrote:Nope.
Of course.. I'd also like to point out that MS is giving away Visual C++ Express 2005 Beta edition free of charge as well. It's working pretty good despite being beta status and is probably worth the download for anyone who doesn't already have Visual C++ in some form. If you do download this, make sure you download the Platform SDK as well since the beta version doesn't come with it like the retail versions. Other than that, I think it's complete.
[url=http://transcorp.romhacking.net]TransCorp[/url] - Home of the Dual Orb 2, Cho Mahou Tairyku Wozz, and Emerald Dragon SFC/SNES translations.
[url=http://www.romhacking.net]ROMhacking.net[/url] - The central hub of the ROM hacking community.
[url=http://www.romhacking.net]ROMhacking.net[/url] - The central hub of the ROM hacking community.
Personally I prefer MinGW with its UNIX-like shell component named MSYS (use the snapshot at the bottom of the MinGW page). I wish they would officially release a new verison though it really needs it.
MSYS makes much of everything so much easier though.
Since then everything is basically Unixed oriented but building a Windows program. Very nice. I do this to build DOSBox all the time. I prefer using libpng-1.2.8-config.tar.gz and the zlib-1.2.2.tar.gz and the nasm 98.39.tar.gz.
Build zlib, libpng, nasm and then ZSNES in that order and you're good to go.
/Ieremiou
MSYS makes much of everything so much easier though.

Build zlib, libpng, nasm and then ZSNES in that order and you're good to go.
/Ieremiou
