What does this means? Compiling prb

Duke176

Warlord
Joined
Oct 19, 2006
Messages
241
Location
Turin - Italy
While I was compiling arrived at CyCity.cpp the compiler returns me this error:



What does it means?
 

Attachments

  • Compiling.jpg
    Compiling.jpg
    185.1 KB · Views: 74
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.
 
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
 
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
 
Back
Top Bottom