http://board.zsnes.com/phpBB2/viewtopic.php?t=7371Panzer88 wrote:I use windows normally, I just installed kubuntu 7.10 "gutsy gibbon" on my secondary hard drive. Any tips for compiling on linux?
zget 4
Moderator: ZSNES Mods
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- Locksmith of Hyrule
- Posts: 3634
- Joined: Sun Aug 08, 2004 7:49 am
- Location: 255.255.255.255
- Contact:
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!
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!
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.
NSRT here.
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
4538
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
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)?
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)?
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
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.Thalon wrote: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?Deathlike2 wrote:The SVN repository location has moved oh so slightly, which is why you're having the problems.
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
_____________
Insane Coding
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)...Nach wrote: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.Thalon wrote: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?Deathlike2 wrote:The SVN repository location has moved oh so slightly, which is why you're having the problems.
You should still be able to compile though.
Last edited by Thalon on Tue Nov 06, 2007 3:59 am, edited 1 time in total.
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)...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.
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%
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%
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
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
_____________
Insane Coding
-
- New Member
- Posts: 3
- Joined: Sat May 03, 2008 12:42 pm
- Contact:
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am
See thread title, and consider what you just linked to.snkcube wrote:http://www.geocities.com/joecool22us/lame.zip
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
-
- Veteran
- Posts: 637
- Joined: Sat Apr 21, 2007 8:05 pm
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!
Requesting a mirror!
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am
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 [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...