zget 4

General area for talk about ZSNES. The best place to ask for related questions as well as troubleshooting.

Moderator: ZSNES Mods

Nach
ZSNES Developer
ZSNES Developer
Posts: 3903
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Panzer88 wrote:I use windows normally, I just installed kubuntu 7.10 "gutsy gibbon" on my secondary hard drive. Any tips for compiling on linux?

http://board.zsnes.com/phpBB2/viewtopic.php?t=7371
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Panzer88
Inmate
Posts: 1485
Joined: Thu Jan 11, 2007 4:28 am
Location: Salem, Oregon
Contact:

Post by Panzer88 »

thank you very much.
byuu wrote:Seriously, what kind of asshole makes an old-school 2D emulator that requires a Core 2 to get full speed? >:(
adventure_of_link
Locksmith of Hyrule
Posts: 3634
Joined: Sun Aug 08, 2004 7:49 am
Location: 255.255.255.255
Contact:

Post by adventure_of_link »

read the "howto: obtain ZSNES from SVN" thread in the FAQ to learn what compilers and libraries you'll need

obtain said compilers/libraries

then unpack the source

cd to the linux directory in the ZSNES source, then do ./autogen.sh --enable-release

then do make && sudo make install

done!
Image
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.
Kajuru
Regular
Posts: 253
Joined: Wed Oct 18, 2006 6:43 pm
Location: localhost

Post by Kajuru »

Can anyone point me to the last, post 1.51, fully working commit/change number? I know I have 1.51 noted somewhere, but not anything past it.
Nach
ZSNES Developer
ZSNES Developer
Posts: 3903
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

4538
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Kajuru
Regular
Posts: 253
Joined: Wed Oct 18, 2006 6:43 pm
Location: localhost

Post by Kajuru »

Thanks, Nach.
Thalon
Rookie
Posts: 45
Joined: Thu Jul 29, 2004 5:53 pm
Location: Italy

Post by Thalon »

I just switched to a new machine (a core2duo with vista home premium 64) and now zget refuses to download the latest documentation (it says something like "could not connect to https://svn.sourceforge.net") and compile zsnes' source (the error messages' list is kilometric).
I've read about troubles with x64 compiling under linux in the development forum: is it also my case with zget or I'm missing something (I'm still new to vista, so maybe it's only a problem of mine)?
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

The SVN repository location has moved oh so slightly, which is why you're having the problems.
Continuing FF4 Research...
Thalon
Rookie
Posts: 45
Joined: Thu Jul 29, 2004 5:53 pm
Location: Italy

Post by Thalon »

Deathlike2 wrote:The SVN repository location has moved oh so slightly, which is why you're having the problems.


So, do I need to edit some cfg file inside zget's dir (mirrors maybe?), or am I forced to wait a future release of Zget?
Nach
ZSNES Developer
ZSNES Developer
Posts: 3903
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Thalon wrote:
Deathlike2 wrote:The SVN repository location has moved oh so slightly, which is why you're having the problems.


So, do I need to edit some cfg file inside zget's dir (mirrors maybe?), or am I forced to wait a future release of Zget?

If you want zget to get you documents, you either hack the binary with a hex editor to correct the URL, or wait for a new version.

You should still be able to compile though.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Thalon
Rookie
Posts: 45
Joined: Thu Jul 29, 2004 5:53 pm
Location: Italy

Post by Thalon »

Nach wrote:
Thalon wrote:
Deathlike2 wrote:The SVN repository location has moved oh so slightly, which is why you're having the problems.


So, do I need to edit some cfg file inside zget's dir (mirrors maybe?), or am I forced to wait a future release of Zget?

If you want zget to get you documents, you either hack the binary with a hex editor to correct the URL, or wait for a new version.

You should still be able to compile though.


I still have problems with vista 64: I thought that a simple dos prompt with administrator's privileges would be enough, but it seems it's not the case (I can still DL the source, but something goes wrong when it's compile time: if anybody tells me how to dump the long error list to analyze/post it here I will be very grateful: trying something like zget > log.txt from dos prompt doesn't fully work)...
Last edited by Thalon on Tue Nov 06, 2007 3:59 am, edited 1 time in total.
franpa
Gecko snack
Posts: 2372
Joined: Sun Aug 21, 2005 11:06 am
Location: Australia, QLD
Contact:

Post by franpa »

start zget and make the error appear. click the icon on the left in the menu bar and choose EDIT -> MARK then with the mouse highlight what you want then press enter to copy.
Core i7 920 @ 2.66GHZ | ASUS P6T Motherboard | 8GB DDR3 1600 RAM | Gigabyte Geforce 760 4GB | Windows 10 Pro x64
Thalon
Rookie
Posts: 45
Joined: Thu Jul 29, 2004 5:53 pm
Location: Italy

Post by Thalon »

franpa wrote:start zget and make the error appear. click the icon on the left in the menu bar and choose EDIT -> MARK then with the mouse highlight what you want then press enter to copy.


Ok, i knew that, but see below: I can only copy part of the error list, the first lines in the command prompt window are not viewable anymore, so i can't select/copy those (I know it's a stupid/newbie thing, so don't crush me please)...

Code: Select all

parsegen.cpp:37:18: no include path in which to search for zlib.h
parsegen.cpp:46: error: `string' does not name a type
parsegen.cpp:47: error: `string' does not name a type
parsegen.cpp:55: error: `string' does not name a type
parsegen.cpp:64: error: `string' does not name a type
parsegen.cpp:74: error: `size_t' does not name a type
parsegen.cpp:75: error: `size_t' does not name a type
parsegen.cpp: In member function `void <anonymous struct>::error(const char*)':
parsegen.cpp:79: error: `cerr' was not declared in this scope
parsegen.cpp:79: error: `line_number' was not declared in this scope
parsegen.cpp:79: error: `column_number' was not declared in this scope
parsegen.cpp:79: error: `endl' was not declared in this scope
parsegen.cpp: In function `char* get_token(char*, const char*)':
parsegen.cpp:131: error: `strchr' was not declared in this scope
parsegen.cpp:140: error: `strchr' was not declared in this scope
parsegen.cpp:160: error: 'struct <anonymous>' has no member named 'column_number'
parsegen.cpp: At global scope:
parsegen.cpp:191: error: `string' does not name a type
parsegen.cpp:229: error: `string' does not name a type
parsegen.cpp:250: error: `ssize_t' does not name a type
parsegen.cpp:310: error: `ssize_t' does not name a type
parsegen.cpp: In function `bool all_spaces(const char*)':
parsegen.cpp:330: error: `isspace' was not declared in this scope
parsegen.cpp: At global scope:
parsegen.cpp:336: error: `string' does not name a type
parsegen.cpp:375: error: `size_t' does not name a type
parsegen.cpp:390: error: ISO C++ forbids declaration of `vector' with no type
parsegen.cpp:390: error: expected `;' before '<' token
parsegen.cpp: In member function `bool nstack<T>::empty()':
parsegen.cpp:372: error: `data' was not declared in this scope
parsegen.cpp: In member function `T nstack<T>::top()':
parsegen.cpp:373: error: `data' was not declared in this scope
parsegen.cpp: In member function `void nstack<T>::pop()':
parsegen.cpp:374: error: `data' was not declared in this scope
parsegen.cpp: In member function `bool nstack<T>::all_true()':
parsegen.cpp:379: error: expected initializer before '<' token
parsegen.cpp:379: error: `i' was not declared in this scope
parsegen.cpp:379: error: `data' was not declared in this scope
parsegen.cpp: At global scope:
parsegen.cpp:393: error: expected constructor, destructor, or type conversion before '<' token
parsegen.cpp:396: error: expected initializer before '<' token
parsegen.cpp:398: error: `str_array' does not name a type
parsegen.cpp: In function `variable::ctype variable::GetCType(const char*)':
parsegen.cpp:425: error: `strcmp' was not declared in this scope
parsegen.cpp:431: error: `cerr' was not declared in this scope
parsegen.cpp:431: error: 'struct <anonymous>' has no member named 'line_number'
parsegen.cpp:431: error: `endl' was not declared in this scope
parsegen.cpp: At global scope:
parsegen.cpp:441: error: `string' does not name a type
parsegen.cpp:444: error: `size_t' does not name a type
parsegen.cpp:445: error: `string' does not name a type
parsegen.cpp:446: error: `string' does not name a type
parsegen.cpp:448: error: expected `,' or `...' before '&' token
parsegen.cpp:448: error: ISO C++ forbids declaration of `string' with no type
parsegen.cpp: In member function `bool variable::config_data_element::operator==(int) const':
parsegen.cpp:448: error: 'const struct variable::config_data_element' has no member named 'name'
parsegen.cpp:448: error: `name' was not declared in this scope
parsegen.cpp: At global scope:
parsegen.cpp:451: error: expected initializer before '<' token
parsegen.cpp:456: error: `config_data_array' does not name a type
parsegen.cpp:458: error: expected `,' or `...' before '&' token
parsegen.cpp:459: error: ISO C++ forbids declaration of `string' with no type
parsegen.cpp:469: error: expected `,' or `...' before '&' token
parsegen.cpp:470: error: ISO C++ forbids declaration of `string' with no type
parsegen.cpp:475: error: expected `,' or `...' before '&' token
parsegen.cpp:476: error: ISO C++ forbids declaration of `string' with no type
parsegen.cpp:483: error: expected `,' or `...' before '&' token
parsegen.cpp:484: error: ISO C++ forbids declaration of `string' with no type
parsegen.cpp:484: error: `void variable::<anonymous class>::add_var_single(int)' and `void variable::<anonymous class>::
add_var_single(int)' cannot be overloaded
parsegen.cpp:488: error: expected `,' or `...' before '&' token
parsegen.cpp:489: error: ISO C++ forbids declaration of `string' with no type
parsegen.cpp:497: error: expected `,' or `...' before '&' token
parsegen.cpp:498: error: ISO C++ forbids declaration of `string' with no type
parsegen.cpp:505: error: expected `,' or `...' before '&' token
parsegen.cpp:506: error: ISO C++ forbids declaration of `string' with no type
parsegen.cpp:506: error: `void variable::<anonymous class>::add_var_mult(int)' and `void variable::<anonymous class>::ad
d_var_mult(int)' cannot be overloaded
parsegen.cpp:510: error: expected `,' or `...' before '&' token
parsegen.cpp:511: error: ISO C++ forbids declaration of `string' with no type
parsegen.cpp:519: error: expected `,' or `...' before '&' token
parsegen.cpp:520: error: ISO C++ forbids declaration of `string' with no type
parsegen.cpp:527: error: expected `,' or `...' before '&' token
parsegen.cpp:528: error: ISO C++ forbids declaration of `string' with no type
parsegen.cpp:528: error: `void variable::<anonymous class>::add_var_ptr(int)' and `void variable::<anonymous class>::add
_var_ptr(int)' cannot be overloaded
parsegen.cpp:593: error: `config_data_array' has not been declared
parsegen.cpp:593: error: ISO C++ forbids declaration of `iterator' with no type
parsegen.cpp:593: error: expected `;' before "begin"
parsegen.cpp:594: error: expected `;' before "config_data_array"
parsegen.cpp:594: error: `config_data_array' has not been declared
parsegen.cpp:594: error: ISO C++ forbids declaration of `iterator' with no type
parsegen.cpp:594: error: expected `;' before "end"
parsegen.cpp:595: error: expected `;' before '}' token
parsegen.cpp: In member function `bool variable::<anonymous class>::duplicate_name(int)':
parsegen.cpp:460: error: `data_array' was not declared in this scope
parsegen.cpp:460: error: `name' was not declared in this scope
parsegen.cpp:460: error: `find' was not declared in this scope
parsegen.cpp:462: error: `cerr' was not declared in this scope
parsegen.cpp:462: error: 'struct <anonymous>' has no member named 'line_number'
parsegen.cpp:462: error: `endl' was not declared in this scope
parsegen.cpp: In member function `void variable::<anonymous class>::add_comment(int)':
parsegen.cpp:471: error: `comment' was not declared in this scope
parsegen.cpp:471: error: too many initializers for `variable::config_data_element'
parsegen.cpp:471: error: cannot convert `const char*' to `variable::storage_format' in initialization
parsegen.cpp:471: error: cannot convert `variable::storage_format' to `variable::ctype' in initialization
parsegen.cpp:472: error: `data_array' was not declared in this scope
parsegen.cpp: In member function `void variable::<anonymous class>::add_var_single(int)':
parsegen.cpp:477: error: `name' was not declared in this scope
parsegen.cpp:479: error: `type' was not declared in this scope
parsegen.cpp:479: error: `dependancy' was not declared in this scope
parsegen.cpp:479: error: `comment' was not declared in this scope
parsegen.cpp:479: error: too many initializers for `variable::config_data_element'
parsegen.cpp:479: error: cannot convert `variable::storage_format' to `variable::ctype' in initialization
parsegen.cpp:480: error: `data_array' was not declared in this scope
parsegen.cpp: In member function `void variable::<anonymous class>::add_var_single(int)':
parsegen.cpp:485: error: `name' was not declared in this scope
parsegen.cpp:485: error: `type' was not declared in this scope
parsegen.cpp:485: error: `dependancy' was not declared in this scope
parsegen.cpp:485: error: `comment' was not declared in this scope
parsegen.cpp: In member function `void variable::<anonymous class>::add_var_quoted(int)':
parsegen.cpp:490: error: `name' was not declared in this scope
parsegen.cpp:492: error: `dependancy' was not declared in this scope
parsegen.cpp:492: error: `comment' was not declared in this scope
parsegen.cpp:492: error: too many initializers for `variable::config_data_element'
parsegen.cpp:492: error: cannot convert `variable::storage_format' to `variable::ctype' in initialization
parsegen.cpp:493: error: `data_array' was not declared in this scope
parsegen.cpp: In member function `void variable::<anonymous class>::add_var_mult(int)':
parsegen.cpp:499: error: `name' was not declared in this scope
parsegen.cpp:501: error: `type' was not declared in this scope
parsegen.cpp:501: error: `length' was not declared in this scope
parsegen.cpp:501: error: `dependancy' was not declared in this scope
parsegen.cpp:501: error: `comment' was not declared in this scope
parsegen.cpp:501: error: too many initializers for `variable::config_data_element'
parsegen.cpp:501: error: cannot convert `variable::storage_format' to `variable::ctype' in initialization
parsegen.cpp:502: error: `data_array' was not declared in this scope
parsegen.cpp: In member function `void variable::<anonymous class>::add_var_mult(int)':
parsegen.cpp:507: error: `name' was not declared in this scope
parsegen.cpp:507: error: `type' was not declared in this scope
parsegen.cpp:507: error: `length' was not declared in this scope
parsegen.cpp:507: error: `dependancy' was not declared in this scope
parsegen.cpp:507: error: `comment' was not declared in this scope
parsegen.cpp: In member function `void variable::<anonymous class>::add_var_packed(int)':
parsegen.cpp:512: error: `name' was not declared in this scope
parsegen.cpp:514: error: `length' was not declared in this scope
parsegen.cpp:514: error: `dependancy' was not declared in this scope
parsegen.cpp:514: error: `comment' was not declared in this scope
parsegen.cpp:514: error: too many initializers for `variable::config_data_element'
parsegen.cpp:514: error: cannot convert `variable::storage_format' to `variable::ctype' in initialization
parsegen.cpp:515: error: `data_array' was not declared in this scope
parsegen.cpp: In member function `void variable::<anonymous class>::add_var_ptr(int)':
parsegen.cpp:521: error: `name' was not declared in this scope
parsegen.cpp:523: error: `type' was not declared in this scope
parsegen.cpp:523: error: `length' was not declared in this scope
parsegen.cpp:523: error: `dependancy' was not declared in this scope
parsegen.cpp:523: error: `comment' was not declared in this scope
parsegen.cpp:523: error: too many initializers for `variable::config_data_element'
parsegen.cpp:523: error: cannot convert `variable::storage_format' to `variable::ctype' in initialization
parsegen.cpp:524: error: `data_array' was not declared in this scope
parsegen.cpp: In member function `void variable::<anonymous class>::add_var_ptr(int)':
parsegen.cpp:529: error: `name' was not declared in this scope
parsegen.cpp:529: error: `type' was not declared in this scope
parsegen.cpp:529: error: `length' was not declared in this scope
parsegen.cpp:529: error: `dependancy' was not declared in this scope
parsegen.cpp:529: error: `comment' was not declared in this scope
parsegen.cpp: In member function `bool variable::<anonymous class>::ctype_mult_used(variable::ctype)':
parsegen.cpp:535: error: `config_data_array' has not been declared
parsegen.cpp:535: error: `iterator' was not declared in this scope
parsegen.cpp:535: error: expected `;' before "i"
parsegen.cpp:535: error: `i' was not declared in this scope
parsegen.cpp:535: error: `data_array' was not declared in this scope
parsegen.cpp: In member function `bool variable::<anonymous class>::ctype_ptr_used(variable::ctype)':
parsegen.cpp:547: error: `config_data_array' has not been declared
parsegen.cpp:547: error: `iterator' was not declared in this scope
parsegen.cpp:547: error: expected `;' before "i"
parsegen.cpp:547: error: `i' was not declared in this scope
parsegen.cpp:547: error: `data_array' was not declared in this scope
parsegen.cpp: In member function `bool variable::<anonymous class>::packed_used()':
parsegen.cpp:559: error: `config_data_array' has not been declared
parsegen.cpp:559: error: `iterator' was not declared in this scope
parsegen.cpp:559: error: expected `;' before "i"
parsegen.cpp:559: error: `i' was not declared in this scope
parsegen.cpp:559: error: `data_array' was not declared in this scope
parsegen.cpp: In member function `bool variable::<anonymous class>::quoted_used()':
parsegen.cpp:571: error: `config_data_array' has not been declared
parsegen.cpp:571: error: `iterator' was not declared in this scope
parsegen.cpp:571: error: expected `;' before "i"
parsegen.cpp:571: error: `i' was not declared in this scope
parsegen.cpp:571: error: `data_array' was not declared in this scope
parsegen.cpp: In member function `bool variable::<anonymous class>::unsigned_used()':
parsegen.cpp:583: error: `config_data_array' has not been declared
parsegen.cpp:583: error: `iterator' was not declared in this scope
parsegen.cpp:583: error: expected `;' before "i"
parsegen.cpp:583: error: `i' was not declared in this scope
parsegen.cpp:583: error: `data_array' was not declared in this scope
parsegen.cpp: In function `const char* convert_asm_type(const char*, bool)':
parsegen.cpp:615: error: `strcasecmp' was not declared in this scope
parsegen.cpp:644: error: `strlen' was not declared in this scope
parsegen.cpp:644: error: `strncmp' was not declared in this scope
parsegen.cpp: At global scope:
parsegen.cpp:652: error: variable or field `output_parser_start' declared void
parsegen.cpp:652: error: `ostream' was not declared in this scope
parsegen.cpp:652: error: `c_stream' was not declared in this scope
parsegen.cpp:652: error: expected primary-expression before "const"
parsegen.cpp:653: error: initializer expression list treated as compound expression
parsegen.cpp:653: error: expected `,' or `;' before '{' token
parsegen.cpp:785: error: variable or field `output_cheader_start' declared void
parsegen.cpp:785: error: `ostream' was not declared in this scope
parsegen.cpp:785: error: `cheader_stream' was not declared in this scope
parsegen.cpp:786: error: expected `,' or `;' before '{' token
parsegen.cpp:811: error: variable or field `output_cheader_end' declared void
parsegen.cpp:811: error: `ostream' was not declared in this scope
parsegen.cpp:811: error: `cheader_stream' was not declared in this scope
parsegen.cpp:812: error: expected `,' or `;' before '{' token
parsegen.cpp:821: error: variable or field `output_extsym_dependancies' declared void
parsegen.cpp:821: error: `ostream' was not declared in this scope
parsegen.cpp:821: error: `c_stream' was not declared in this scope
parsegen.cpp:822: error: expected `,' or `;' before '{' token
parsegen.cpp:830: error: variable or field `output_init_var' declared void
parsegen.cpp:830: error: `ostream' was not declared in this scope
parsegen.cpp:830: error: `c_stream' was not declared in this scope
parsegen.cpp:831: error: expected `,' or `;' before '{' token
parsegen.cpp:848: error: variable or field `output_packed_write' declared void
parsegen.cpp:848: error: `ostream' was not declared in this scope
parsegen.cpp:848: error: `c_stream' was not declared in this scope
parsegen.cpp:849: error: expected `,' or `;' before '{' token
parsegen.cpp:901: error: variable or field `output_array_write' declared void
parsegen.cpp:901: error: `ostream' was not declared in this scope
parsegen.cpp:901: error: `c_stream' was not declared in this scope
parsegen.cpp:901: error: expected primary-expression before "type"
parsegen.cpp:902: error: initializer expression list treated as compound expression
parsegen.cpp:902: error: expected `,' or `;' before '{' token
parsegen.cpp:923: error: variable or field `output_write_var' declared void
parsegen.cpp:923: error: `ostream' was not declared in this scope
parsegen.cpp:923: error: `c_stream' was not declared in this scope
parsegen.cpp:924: error: expected `,' or `;' before '{' token
parsegen.cpp:1071: error: variable or field `output_packed_read' declared void
parsegen.cpp:1071: error: `ostream' was not declared in this scope
parsegen.cpp:1071: error: `c_stream' was not declared in this scope
parsegen.cpp:1072: error: expected `,' or `;' before '{' token
parsegen.cpp:1168: error: variable or field `output_array_read' declared void
parsegen.cpp:1168: error: `ostream' was not declared in this scope
parsegen.cpp:1168: error: `c_stream' was not declared in this scope
parsegen.cpp:1168: error: expected primary-expression before "type"
parsegen.cpp:1169: error: initializer expression list treated as compound expression
parsegen.cpp:1169: error: expected `,' or `;' before '{' token
parsegen.cpp:1186: error: variable or field `output_read_var' declared void
parsegen.cpp:1186: error: `ostream' was not declared in this scope
parsegen.cpp:1186: error: `c_stream' was not declared in this scope
parsegen.cpp:1187: error: expected `,' or `;' before '{' token
parsegen.cpp: In function `void handle_directive(const char*, const char*)':
parsegen.cpp:1369: error: `strcasecmp' was not declared in this scope
parsegen.cpp:1373: error: `defines' was not declared in this scope
parsegen.cpp:1384: error: `defines' was not declared in this scope
parsegen.cpp:1395: error: `defines' was not declared in this scope
parsegen.cpp:1413: error: `defines' was not declared in this scope
parsegen.cpp:1456: error: `defines' was not declared in this scope
parsegen.cpp: In function `char* get_comment(char)':
parsegen.cpp:1500: error: `strlen' was not declared in this scope
parsegen.cpp:1500: error: `isspace' was not declared in this scope
parsegen.cpp: At global scope:
parsegen.cpp:1508: error: variable or field `output_parser_comment' declared void
parsegen.cpp:1508: error: `ostream' was not declared in this scope
parsegen.cpp:1508: error: `c_stream' was not declared in this scope
parsegen.cpp:1508: error: expected primary-expression before "const"
parsegen.cpp:1509: error: initializer expression list treated as compound expression
parsegen.cpp:1509: error: expected `,' or `;' before '{' token
parsegen.cpp:1517: error: variable or field `output_header_conditional' declared void
parsegen.cpp:1517: error: `ostream' was not declared in this scope
parsegen.cpp:1517: error: `cheader_stream' was not declared in this scope
parsegen.cpp:1517: error: expected primary-expression before "const"
parsegen.cpp:1517: error: expected primary-expression before "const"
parsegen.cpp:1518: error: initializer expression list treated as compound expression
parsegen.cpp:1518: error: expected `,' or `;' before '{' token
parsegen.cpp:1537: error: variable or field `parser_generate' declared void
parsegen.cpp:1537: error: `istream' was not declared in this scope
parsegen.cpp:1537: error: `psr_stream' was not declared in this scope
parsegen.cpp:1537: error: `ostream' was not declared in this scope
parsegen.cpp:1537: error: `c_stream' was not declared in this scope
parsegen.cpp:1537: error: `ostream' was not declared in this scope
parsegen.cpp:1537: error: `cheader_stream' was not declared in this scope
parsegen.cpp:1537: error: expected primary-expression before "const"
parsegen.cpp:1538: error: initializer expression list treated as compound expression
parsegen.cpp:1538: error: expected `,' or `;' before '{' token
parsegen.cpp:1825: error: `size_t' was not declared in this scope
parsegen.cpp:1825: error: expected primary-expression before "const"
parsegen.cpp:1826: error: initializer expression list treated as compound expression
parsegen.cpp:1826: error: expected `,' or `;' before '{' token
parsegen.cpp: In member function `void nstack<T>::push(T) [with T = bool]':
parsegen.cpp:1397:   instantiated from here
parsegen.cpp:371: error: 'class nstack<bool>' has no member named 'data'
make: *** [parsegen.exe] Error 1
ZSNESW.EXE when successfully compiled is in "C:\Users\Thalon\Emu\zget\zsnes\src".
If you'd like to use what zget installed without running zget from
the same command prompt session before hand, type the following
each time you start a new command prompt:
SET PATH=c:\users\thalon\emu\zget\MinGW\bin;%PATH%
Naelphin
Rookie
Posts: 14
Joined: Sat Aug 07, 2004 1:09 pm

Post by Naelphin »

Getting the same error on vista home basic too:

Code: Select all

parsegen.cpp:398: error: `str_array' does not name a type
parsegen.cpp: In function `variable::ctype variable::GetCType(const char*)':
parsegen.cpp:425: error: `strcmp' was not declared in this scope
parsegen.cpp:431: error: `cerr' was not declared in this scope
parsegen.cpp:431: error: 'struct <anonymous>' has no member named 'line_number'
parsegen.cpp:431: error: `endl' was not declared in this scope
parsegen.cpp: At global scope:
parsegen.cpp:441: error: `string' does not name a type
parsegen.cpp:444: error: `size_t' does not name a type
parsegen.cpp:445: error: `string' does not name a type
parsegen.cpp:446: error: `string' does not name a type
parsegen.cpp:448: error: expected `,' or `...' before '&' token
parsegen.cpp:448: error: ISO C++ forbids declaration of `string' with no type
parsegen.cpp: In member function `bool variable::config_data_element::operator==
(int) const':
parsegen.cpp:448: error: 'const struct variable::config_data_element' has no mem
ber named 'name'
parsegen.cpp:448: error: `name' was not declared in this scope
parsegen.cpp: At global scope:
parsegen.cpp:451: error: expected initializer before '<' token
parsegen.cpp:456: error: `config_data_array' does not name a type
parsegen.cpp:458: error: expected `,' or `...' before '&' token
parsegen.cpp:459: error: ISO C++ forbids declaration of `string' with no type
parsegen.cpp:469: error: expected `,' or `...' before '&' token
parsegen.cpp:470: error: ISO C++ forbids declaration of `string' with no type
parsegen.cpp:475: error: expected `,' or `...' before '&' token
parsegen.cpp:476: error: ISO C++ forbids declaration of `string' with no type
parsegen.cpp:483: error: expected `,' or `...' before '&' token
parsegen.cpp:484: error: ISO C++ forbids declaration of `string' with no type
parsegen.cpp:484: error: `void variable::<anonymous class>::add_var_single(int)'
 and `void variable::<anonymous class>::add_var_single(int)' cannot be overloade
d
parsegen.cpp:488: error: expected `,' or `...' before '&' token
parsegen.cpp:489: error: ISO C++ forbids declaration of `string' with no type
parsegen.cpp:497: error: expected `,' or `...' before '&' token
parsegen.cpp:498: error: ISO C++ forbids declaration of `string' with no type
parsegen.cpp:505: error: expected `,' or `...' before '&' token
parsegen.cpp:506: error: ISO C++ forbids declaration of `string' with no type
parsegen.cpp:506: error: `void variable::<anonymous class>::add_var_mult(int)' a
nd `void variable::<anonymous class>::add_var_mult(int)' cannot be overloaded
parsegen.cpp:510: error: expected `,' or `...' before '&' token
parsegen.cpp:511: error: ISO C++ forbids declaration of `string' with no type
parsegen.cpp:519: error: expected `,' or `...' before '&' token
parsegen.cpp:520: error: ISO C++ forbids declaration of `string' with no type
parsegen.cpp:527: error: expected `,' or `...' before '&' token
parsegen.cpp:528: error: ISO C++ forbids declaration of `string' with no type
parsegen.cpp:528: error: `void variable::<anonymous class>::add_var_ptr(int)' an
d `void variable::<anonymous class>::add_var_ptr(int)' cannot be overloaded
parsegen.cpp:593: error: `config_data_array' has not been declared
parsegen.cpp:593: error: ISO C++ forbids declaration of `iterator' with no type
parsegen.cpp:593: error: expected `;' before "begin"
parsegen.cpp:594: error: expected `;' before "config_data_array"
parsegen.cpp:594: error: `config_data_array' has not been declared
parsegen.cpp:594: error: ISO C++ forbids declaration of `iterator' with no type
parsegen.cpp:594: error: expected `;' before "end"
parsegen.cpp:595: error: expected `;' before '}' token
parsegen.cpp: In member function `bool variable::<anonymous class>::duplicate_na
me(int)':
parsegen.cpp:460: error: `data_array' was not declared in this scope
parsegen.cpp:460: error: `name' was not declared in this scope
parsegen.cpp:460: error: `find' was not declared in this scope
parsegen.cpp:462: error: `cerr' was not declared in this scope
parsegen.cpp:462: error: 'struct <anonymous>' has no member named 'line_number'
parsegen.cpp:462: error: `endl' was not declared in this scope
parsegen.cpp: In member function `void variable::<anonymous class>::add_comment(
int)':
parsegen.cpp:471: error: `comment' was not declared in this scope
parsegen.cpp:471: error: too many initializers for `variable::config_data_elemen
t'
parsegen.cpp:471: error: cannot convert `const char*' to `variable::storage_form
at' in initialization
parsegen.cpp:471: error: cannot convert `variable::storage_format' to `variable:
:ctype' in initialization
parsegen.cpp:472: error: `data_array' was not declared in this scope
parsegen.cpp: In member function `void variable::<anonymous class>::add_var_sing
le(int)':
parsegen.cpp:477: error: `name' was not declared in this scope
parsegen.cpp:479: error: `type' was not declared in this scope
parsegen.cpp:479: error: `dependancy' was not declared in this scope
parsegen.cpp:479: error: `comment' was not declared in this scope
parsegen.cpp:479: error: too many initializers for `variable::config_data_elemen
t'
parsegen.cpp:479: error: cannot convert `variable::storage_format' to `variable:
:ctype' in initialization
parsegen.cpp:480: error: `data_array' was not declared in this scope
parsegen.cpp: In member function `void variable::<anonymous class>::add_var_sing
le(int)':
parsegen.cpp:485: error: `name' was not declared in this scope
parsegen.cpp:485: error: `type' was not declared in this scope
parsegen.cpp:485: error: `dependancy' was not declared in this scope
parsegen.cpp:485: error: `comment' was not declared in this scope
parsegen.cpp: In member function `void variable::<anonymous class>::add_var_quot
ed(int)':
parsegen.cpp:490: error: `name' was not declared in this scope
parsegen.cpp:492: error: `dependancy' was not declared in this scope
parsegen.cpp:492: error: `comment' was not declared in this scope
parsegen.cpp:492: error: too many initializers for `variable::config_data_elemen
t'
parsegen.cpp:492: error: cannot convert `variable::storage_format' to `variable:
:ctype' in initialization
parsegen.cpp:493: error: `data_array' was not declared in this scope
parsegen.cpp: In member function `void variable::<anonymous class>::add_var_mult
(int)':
parsegen.cpp:499: error: `name' was not declared in this scope
parsegen.cpp:501: error: `type' was not declared in this scope
parsegen.cpp:501: error: `length' was not declared in this scope
parsegen.cpp:501: error: `dependancy' was not declared in this scope
parsegen.cpp:501: error: `comment' was not declared in this scope
parsegen.cpp:501: error: too many initializers for `variable::config_data_elemen
t'
parsegen.cpp:501: error: cannot convert `variable::storage_format' to `variable:
:ctype' in initialization
parsegen.cpp:502: error: `data_array' was not declared in this scope
parsegen.cpp: In member function `void variable::<anonymous class>::add_var_mult
(int)':
parsegen.cpp:507: error: `name' was not declared in this scope
parsegen.cpp:507: error: `type' was not declared in this scope
parsegen.cpp:507: error: `length' was not declared in this scope
parsegen.cpp:507: error: `dependancy' was not declared in this scope
parsegen.cpp:507: error: `comment' was not declared in this scope
parsegen.cpp: In member function `void variable::<anonymous class>::add_var_pack
ed(int)':
parsegen.cpp:512: error: `name' was not declared in this scope
parsegen.cpp:514: error: `length' was not declared in this scope
parsegen.cpp:514: error: `dependancy' was not declared in this scope
parsegen.cpp:514: error: `comment' was not declared in this scope
parsegen.cpp:514: error: too many initializers for `variable::config_data_elemen
t'
parsegen.cpp:514: error: cannot convert `variable::storage_format' to `variable:
:ctype' in initialization
parsegen.cpp:515: error: `data_array' was not declared in this scope
parsegen.cpp: In member function `void variable::<anonymous class>::add_var_ptr(
int)':
parsegen.cpp:521: error: `name' was not declared in this scope
parsegen.cpp:523: error: `type' was not declared in this scope
parsegen.cpp:523: error: `length' was not declared in this scope
parsegen.cpp:523: error: `dependancy' was not declared in this scope
parsegen.cpp:523: error: `comment' was not declared in this scope
parsegen.cpp:523: error: too many initializers for `variable::config_data_elemen
t'
parsegen.cpp:523: error: cannot convert `variable::storage_format' to `variable:
:ctype' in initialization
parsegen.cpp:524: error: `data_array' was not declared in this scope
parsegen.cpp: In member function `void variable::<anonymous class>::add_var_ptr(
int)':
parsegen.cpp:529: error: `name' was not declared in this scope
parsegen.cpp:529: error: `type' was not declared in this scope
parsegen.cpp:529: error: `length' was not declared in this scope
parsegen.cpp:529: error: `dependancy' was not declared in this scope
parsegen.cpp:529: error: `comment' was not declared in this scope
parsegen.cpp: In member function `bool variable::<anonymous class>::ctype_mult_u
sed(variable::ctype)':
parsegen.cpp:535: error: `config_data_array' has not been declared
parsegen.cpp:535: error: `iterator' was not declared in this scope
parsegen.cpp:535: error: expected `;' before "i"
parsegen.cpp:535: error: `i' was not declared in this scope
parsegen.cpp:535: error: `data_array' was not declared in this scope
parsegen.cpp: In member function `bool variable::<anonymous class>::ctype_ptr_us
ed(variable::ctype)':
parsegen.cpp:547: error: `config_data_array' has not been declared
parsegen.cpp:547: error: `iterator' was not declared in this scope
parsegen.cpp:547: error: expected `;' before "i"
parsegen.cpp:547: error: `i' was not declared in this scope
parsegen.cpp:547: error: `data_array' was not declared in this scope
parsegen.cpp: In member function `bool variable::<anonymous class>::packed_used(
)':
parsegen.cpp:559: error: `config_data_array' has not been declared
parsegen.cpp:559: error: `iterator' was not declared in this scope
parsegen.cpp:559: error: expected `;' before "i"
parsegen.cpp:559: error: `i' was not declared in this scope
parsegen.cpp:559: error: `data_array' was not declared in this scope
parsegen.cpp: In member function `bool variable::<anonymous class>::quoted_used(
)':
parsegen.cpp:571: error: `config_data_array' has not been declared
parsegen.cpp:571: error: `iterator' was not declared in this scope
parsegen.cpp:571: error: expected `;' before "i"
parsegen.cpp:571: error: `i' was not declared in this scope
parsegen.cpp:571: error: `data_array' was not declared in this scope
parsegen.cpp: In member function `bool variable::<anonymous class>::unsigned_use
d()':
parsegen.cpp:583: error: `config_data_array' has not been declared
parsegen.cpp:583: error: `iterator' was not declared in this scope
parsegen.cpp:583: error: expected `;' before "i"
parsegen.cpp:583: error: `i' was not declared in this scope
parsegen.cpp:583: error: `data_array' was not declared in this scope
parsegen.cpp: In function `const char* convert_asm_type(const char*, bool)':
parsegen.cpp:615: error: `strcasecmp' was not declared in this scope
parsegen.cpp:644: error: `strlen' was not declared in this scope
parsegen.cpp:644: error: `strncmp' was not declared in this scope
parsegen.cpp: At global scope:
parsegen.cpp:652: error: variable or field `output_parser_start' declared void
parsegen.cpp:652: error: `ostream' was not declared in this scope
parsegen.cpp:652: error: `c_stream' was not declared in this scope
parsegen.cpp:652: error: expected primary-expression before "const"
parsegen.cpp:653: error: initializer expression list treated as compound express
ion
parsegen.cpp:653: error: expected `,' or `;' before '{' token
parsegen.cpp:785: error: variable or field `output_cheader_start' declared void
parsegen.cpp:785: error: `ostream' was not declared in this scope
parsegen.cpp:785: error: `cheader_stream' was not declared in this scope
parsegen.cpp:786: error: expected `,' or `;' before '{' token
parsegen.cpp:811: error: variable or field `output_cheader_end' declared void
parsegen.cpp:811: error: `ostream' was not declared in this scope
parsegen.cpp:811: error: `cheader_stream' was not declared in this scope
parsegen.cpp:812: error: expected `,' or `;' before '{' token
parsegen.cpp:821: error: variable or field `output_extsym_dependancies' declared
 void
parsegen.cpp:821: error: `ostream' was not declared in this scope
parsegen.cpp:821: error: `c_stream' was not declared in this scope
parsegen.cpp:822: error: expected `,' or `;' before '{' token
parsegen.cpp:830: error: variable or field `output_init_var' declared void
parsegen.cpp:830: error: `ostream' was not declared in this scope
parsegen.cpp:830: error: `c_stream' was not declared in this scope
parsegen.cpp:831: error: expected `,' or `;' before '{' token
parsegen.cpp:848: error: variable or field `output_packed_write' declared void
parsegen.cpp:848: error: `ostream' was not declared in this scope
parsegen.cpp:848: error: `c_stream' was not declared in this scope
parsegen.cpp:849: error: expected `,' or `;' before '{' token
parsegen.cpp:901: error: variable or field `output_array_write' declared void
parsegen.cpp:901: error: `ostream' was not declared in this scope
parsegen.cpp:901: error: `c_stream' was not declared in this scope
parsegen.cpp:901: error: expected primary-expression before "type"
parsegen.cpp:902: error: initializer expression list treated as compound express
ion
parsegen.cpp:902: error: expected `,' or `;' before '{' token
parsegen.cpp:923: error: variable or field `output_write_var' declared void
parsegen.cpp:923: error: `ostream' was not declared in this scope
parsegen.cpp:923: error: `c_stream' was not declared in this scope
parsegen.cpp:924: error: expected `,' or `;' before '{' token
parsegen.cpp:1071: error: variable or field `output_packed_read' declared void
parsegen.cpp:1071: error: `ostream' was not declared in this scope
parsegen.cpp:1071: error: `c_stream' was not declared in this scope
parsegen.cpp:1072: error: expected `,' or `;' before '{' token
parsegen.cpp:1168: error: variable or field `output_array_read' declared void
parsegen.cpp:1168: error: `ostream' was not declared in this scope
parsegen.cpp:1168: error: `c_stream' was not declared in this scope
parsegen.cpp:1168: error: expected primary-expression before "type"
parsegen.cpp:1169: error: initializer expression list treated as compound expres
sion
parsegen.cpp:1169: error: expected `,' or `;' before '{' token
parsegen.cpp:1186: error: variable or field `output_read_var' declared void
parsegen.cpp:1186: error: `ostream' was not declared in this scope
parsegen.cpp:1186: error: `c_stream' was not declared in this scope
parsegen.cpp:1187: error: expected `,' or `;' before '{' token
parsegen.cpp: In function `void handle_directive(const char*, const char*)':
parsegen.cpp:1369: error: `strcasecmp' was not declared in this scope
parsegen.cpp:1373: error: `defines' was not declared in this scope
parsegen.cpp:1384: error: `defines' was not declared in this scope
parsegen.cpp:1395: error: `defines' was not declared in this scope
parsegen.cpp:1413: error: `defines' was not declared in this scope
parsegen.cpp:1456: error: `defines' was not declared in this scope
parsegen.cpp: In function `char* get_comment(char)':
parsegen.cpp:1500: error: `strlen' was not declared in this scope
parsegen.cpp:1500: error: `isspace' was not declared in this scope
parsegen.cpp: At global scope:
parsegen.cpp:1508: error: variable or field `output_parser_comment' declared voi
d
parsegen.cpp:1508: error: `ostream' was not declared in this scope
parsegen.cpp:1508: error: `c_stream' was not declared in this scope
parsegen.cpp:1508: error: expected primary-expression before "const"
parsegen.cpp:1509: error: initializer expression list treated as compound expres
sion
parsegen.cpp:1509: error: expected `,' or `;' before '{' token
parsegen.cpp:1517: error: variable or field `output_header_conditional' declared
 void
parsegen.cpp:1517: error: `ostream' was not declared in this scope
parsegen.cpp:1517: error: `cheader_stream' was not declared in this scope
parsegen.cpp:1517: error: expected primary-expression before "const"
parsegen.cpp:1517: error: expected primary-expression before "const"
parsegen.cpp:1518: error: initializer expression list treated as compound expres
sion
parsegen.cpp:1518: error: expected `,' or `;' before '{' token
parsegen.cpp:1537: error: variable or field `parser_generate' declared void
parsegen.cpp:1537: error: `istream' was not declared in this scope
parsegen.cpp:1537: error: `psr_stream' was not declared in this scope
parsegen.cpp:1537: error: `ostream' was not declared in this scope
parsegen.cpp:1537: error: `c_stream' was not declared in this scope
parsegen.cpp:1537: error: `ostream' was not declared in this scope
parsegen.cpp:1537: error: `cheader_stream' was not declared in this scope
parsegen.cpp:1537: error: expected primary-expression before "const"
parsegen.cpp:1538: error: initializer expression list treated as compound expres
sion
parsegen.cpp:1538: error: expected `,' or `;' before '{' token
parsegen.cpp:1825: error: `size_t' was not declared in this scope
parsegen.cpp:1825: error: expected primary-expression before "const"
parsegen.cpp:1826: error: initializer expression list treated as compound expres
sion
parsegen.cpp:1826: error: expected `,' or `;' before '{' token
parsegen.cpp: In member function `void nstack<T>::push(T) [with T = bool]':
parsegen.cpp:1397:   instantiated from here
parsegen.cpp:371: error: 'class nstack<bool>' has no member named 'data'
make: *** [parsegen.exe] Error 1
ZSNESW.EXE when successfully compiled is in "C:\prog\zget\zsnes\src".
If you'd like to use what zget installed without running zget from
the same command prompt session before hand, type the following
each time you start a new command prompt:
SET PATH=C:\prog\MinGW\bin;%PATH%
Nach
ZSNES Developer
ZSNES Developer
Posts: 3903
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

I'm guessing that MinGW has a path issue on Vista. When asked to install MinGW, install directly into c:\
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Thalon
Rookie
Posts: 45
Joined: Thu Jul 29, 2004 5:53 pm
Location: Italy

Post by Thalon »

Nach wrote:I'm guessing that MinGW has a path issue on Vista. When asked to install MinGW, install directly into c:\


Tou're right: my case is solved (and now I can finally compile Zsnes under Vista).
Thanks a lot.
sag_ich_nicht
New Member
Posts: 3
Joined: Sat May 03, 2008 12:42 pm
Contact:

Post by sag_ich_nicht »

Edgeemu is dead, anyone have a mirror? :(
snkcube
Hero of Time
Posts: 2646
Joined: Fri Jul 30, 2004 2:49 am
Location: In front of the monitor
Contact:

Post by snkcube »

Try out CCleaner and other free software at Piriform
Image
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

snkcube wrote:http://www.geocities.com/joecool22us/lame.zip


See thread title, and consider what you just linked to.
Continuing FF4 Research...
snkcube
Hero of Time
Posts: 2646
Joined: Fri Jul 30, 2004 2:49 am
Location: In front of the monitor
Contact:

Post by snkcube »

Oh dang, my bad. I really need some sleep tonight. :oops:
Try out CCleaner and other free software at Piriform
Image
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Post by Agozer »

whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
ZH/Franky

Post by ZH/Franky »

juef wrote:Wow, I'm amazed! This thing is so easy to use my grandma could compile Zsnes! Thanks Nach & everyone :D

If my great grandpa was still alive, he'd show you how to compile a linux kernel 8)
DancemasterGlenn
Veteran
Posts: 637
Joined: Sat Apr 21, 2007 8:05 pm

Post by DancemasterGlenn »

Franky wrote:If my great grandpa was still alive, he'd show you how to compile a linux kernel 8)

And I'm sure juef appreciates the assistance. Or he would, if he hadn't stopped posting here like two years ago. You know, when he made that post.
I bring the trouble.
Knossus
New Member
Posts: 6
Joined: Wed Jan 21, 2009 2:40 pm

Post by Knossus »

I am coming from this thread and am trying to compile ZSNES. The site http://nsrt.edgeemu.com is down and I can't download http://nsrt.edgeemu.com/zmingw4.7z

Requesting a mirror!
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

Knossus wrote:I am coming from this thread and am trying to compile ZSNES. The site http://nsrt.edgeemu.com is down and I can't download http://nsrt.edgeemu.com/zmingw4.7z

Requesting a mirror!


Agozer wrote:http://koti.welho.com/ahesso/Data/zget.zip
Continuing FF4 Research...
Post Reply