1.51 source on linux

Found a bug? Please report it, but remember to follow the bug reporting guidelines.
Missing a sane feature? Let us know!
But please do NOT request ports to other systems.

Moderator: ZSNES Mods

Post Reply
just.a.stranger

1.51 source on linux

Post by just.a.stranger »

Hello folks. I downloaded zsnes151src.tar.bz2 from sourceforge, tried to follow the instructions in INSTALL, and try the program of course... I had some problems in compilation. A few changes here and there and I could compile it, here's the changes listed, in case anyone wants to fix this or has the same problem with me:

tools/strutil.h
added line "#include <cstring>" to get rid of the "strcasecmp not declared in scope" compile error.

tools/depbuild.h
added line "#include <cstdlib>" to get rid of the "str* functions not declared in scope" compile error.

parsegen.cpp
added line "#include <cstring>" to get rid of the "system function not declared in scope" compile error.

By the way, I also noticed there's "int main(size_t ...)" instead of "int main(int ...)". Was there an actual reason for this? else you could change that too.
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

Already covered in a later commit that is still not public.
tools/depbuild.h
Doesn't exist.
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Grab the v1.51b source from our forums.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

Ah, so it is available, my bad.
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Post Reply