Advertisement
Civilization Fanatics' Center  

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.

Go Back   Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization

Notices

Reply
 
Thread Tools
Old Apr 08, 2007, 05:10 PM   #1
Duke176
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?
Attached Thumbnails
Click image for larger version

Name:	Compiling.jpg
Views:	38
Size:	185.1 KB
ID:	151066  
Duke176 is offline   Reply With Quote
Old Apr 08, 2007, 05:38 PM   #2
ClassicThunder
Prince
 
ClassicThunder's Avatar
 
Join Date: Sep 2006
Posts: 511
Did you add the functions into the header file in the appropriate place?
__________________
A Ramblin Wreck
ClassicThunder is offline   Reply With Quote
Old Apr 08, 2007, 05:54 PM   #3
Duke176
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.
Duke176 is offline   Reply With Quote
Old Apr 08, 2007, 06:30 PM   #4
Duke176
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
Duke176 is offline   Reply With Quote
Old Apr 08, 2007, 06:38 PM   #5
Duke176
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
Duke176 is offline   Reply With Quote
Old Apr 08, 2007, 07:02 PM   #6
ClassicThunder
Prince
 
ClassicThunder's Avatar
 
Join Date: Sep 2006
Posts: 511
Can you post the files.
__________________
A Ramblin Wreck
ClassicThunder is offline   Reply With Quote
Old Apr 08, 2007, 07:39 PM   #7
Duke176
Warlord
 
Join Date: Oct 2006
Location: Turin - Italy
Posts: 241
sure thx for answering.
here they are.
Attached Files
File Type: zip FileModded.zip (174.7 KB, 40 views)
Duke176 is offline   Reply With Quote
Old Apr 09, 2007, 10:21 AM   #8
ClassicThunder
Prince
 
ClassicThunder's Avatar
 
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
ClassicThunder is offline   Reply With Quote
Reply

Bookmarks

Go Back Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > What does this means? Compiling prb

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


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


Advertisement

All times are GMT -6. The time now is 06:34 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This site is copyright © Civilization Fanatics' Center.
Support CFC: Amazon.com | Amazon UK | Amazon DE | Amazon CA | Amazon FR