![]() |
#1 |
Rookie
Join Date: Sep 2008
Posts: 7
![]() |
[O] Error Using Dev-C++ to compile
Ok, I am a total newb so please forgive me if I am missing something easy.
I just got a copy of Dev-C++ to compile O 1.10u to fix the 'hidden copper/silver/gold' inventory bug. I followed the instructions for angband compiling found http://rephial.org/wiki/Compiling#s2_4 I am getting his error: 584 C:\Dev-Cpp\Projects\oangband110u\src\main.c `modules' undeclared (first use in this function) Here is the section: (Offending line in red) #ifndef _WIN32_WCE /* Print the name and help for each available module */ for (j = 0; j < (int)N_ELEMENTS(modules); j++) { printf(" %s %s\n", modules[j].name, modules[j].help); } #endif Any help would be appreciated. Thanks, Ben |
![]() |
![]() |
![]() |
#2 | |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 58
Posts: 9,532
Donated: $60
![]() ![]() |
Quote:
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
|
![]() |
![]() |
![]() |
#3 |
Rookie
Join Date: Sep 2008
Posts: 7
![]() |
I double checked. I used the flags exactly as shown on that page.
|
![]() |
![]() |
![]() |
#4 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 58
Posts: 9,532
Donated: $60
![]() ![]() |
Odd. The build system for V is different to the O110u one, but this particular problem is hard to understand.
If it's any comfort, I have made a list of things that I need to fix...
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#5 |
Rookie
Join Date: Sep 2008
Posts: 7
![]() |
Is there a better IDE that I can use, preferably a free one?
|
![]() |
![]() |
![]() |
#6 |
Rookie
Join Date: Sep 2008
Posts: 7
![]() |
On the plus side, I have been playing FAangband since I have been having so much trouble with O.
|
![]() |
![]() |
![]() |
#7 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 58
Posts: 9,532
Donated: $60
![]() ![]() |
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#8 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,802
Donated: $40
![]() |
You mean like Dev Studio 2008 (express)? Since M$ made its basic IDE free (in 2004), it seems a bit pointless to support after-market developer environments. MinGW/cygwin for basic compilation and devenv.exe for an IDE should be enough.
Last edited by Pete Mack; September 30, 2009 at 05:31. |
![]() |
![]() |
![]() |
#9 |
Rookie
Join Date: Sep 2008
Posts: 7
![]() |
Tried using VS2008 express for c/c++. Got more errors then I did with Dev-c++ and it installed like 8 other useless apps.
Haven't tried eclipse yet. |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
cygwin 1.7 compile error | david3x3x3 | Development | 0 | September 13, 2009 00:03 |
help with compile error (and "const") | will_asher | Development | 4 | August 3, 2009 23:35 |
1375 parse error | PowerDiver | Development | 12 | April 24, 2009 14:48 |
Compile error - latest Vanilla Angband SVN | PaulBlay | Development | 3 | April 19, 2009 21:20 |
SAngband Error | Prismatic | Variants | 20 | May 20, 2008 18:26 |