| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Warlord
Join Date: Oct 2006
Location: Turin - Italy
Posts: 241
|
What does this means? Compiling prb
While I was compiling arrived at CyCity.cpp the compiler returns me this error:
What does it means? |
|
|
|
|
|
#2 |
|
Prince
Join Date: Sep 2006
Posts: 511
|
Did you add the functions into the header file in the appropriate place?
__________________
A Ramblin Wreck |
|
|
|
|
|
#3 |
|
Warlord
Join Date: Oct 2006
Location: Turin - Italy
Posts: 241
|
yes I guess it's a prb of "const" declaration.
I think, i try to guess, me and compiler had different ideas of "constant value"; and the compiler won. ![]() I'm checking if it finish the compiling. |
|
|
|
|
|
#4 |
|
Warlord
Join Date: Oct 2006
Location: Turin - Italy
Posts: 241
|
that's was the problem, on the other hand I'm finding again the same prb I found once in adding some Inprovements new tags.
I'm fining the same prb, when the game loads xml it tells me there's a prb with another XML. In reality I don't know how I solved the last time, I guess I was lucky. Is there any rule I should know in order to add new buildings tag. I put here also a link to show which one was the prb: http://forums.civfanatics.com/showthread.php?t=195251 |
|
|
|
|
|
#5 |
|
Warlord
Join Date: Oct 2006
Location: Turin - Italy
Posts: 241
|
it returns me a prb about SpecialBuildings that are coded 20 lines after BuildingInfo in cvinfos.cpp
|
|
|
|
|
|
#6 |
|
Prince
Join Date: Sep 2006
Posts: 511
|
Can you post the files.
__________________
A Ramblin Wreck |
|
|
|
|
|
#7 |
|
Warlord
Join Date: Oct 2006
Location: Turin - Italy
Posts: 241
|
sure thx for answering.
here they are. |
|
|
|
|
|
#8 |
|
Prince
Join Date: Sep 2006
Posts: 511
|
I haven't got it to build it yet but from looking at your files I believe I know whats wrong.
1. You need to add DllExport before all of your functions as there used in other classes besides the one their created in. 2. The only time I gotten a bunch of errors like this was when adding functions to python. try commenting out the .def that contain the functions that require a value. And see if it will compile. Thats all I can think of. Later, ClassicThunder
__________________
A Ramblin Wreck |
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compiling using VS 2008? | The Great Apple | Civ4Col - Creation & Customization | 2 | Jan 05, 2009 12:09 PM |
| Little prb compiling with CodeBlocks v.1.0 | Duke176 | Civ4 - General Discussions | 4 | Dec 23, 2007 08:48 PM |
| Prb with XML new tag and SDK use | Duke176 | Civ4 - Creation & Customization | 4 | Apr 12, 2007 10:20 AM |
| Help with compiling mods | mRhapPy | Civ4 - General Discussions | 2 | Nov 09, 2006 07:59 PM |
| Can someone help me with a civ I'm compiling? | Amenhotep7 | Civ3 - Creation & Customization | 4 | Sep 26, 2004 05:21 PM |