UFO:Alien Invasion

Development => Coding => Topic started by: Duke on October 25, 2008, 08:49:10 pm

Title: Updating the project files ?
Post by: Duke on October 25, 2008, 08:49:10 pm
What is the suggested way to keep my C::B project file up to date ?

I updated to latest svn and got 'unresolved externals'. I managed to get rid of most of them by adding some m_node_* files to the project. But that gave me 'multiple definition' errors. So I assume I also have to remove some files from the project, but which ? 'search in files' brought up only *one* definition of such a function in error. I'm a bit clueless atm.

So how do you guys do it ??
Title: Re: Updating the project files ?
Post by: Mattn on October 25, 2008, 09:53:52 pm
maybe bayo missed some files - not sure - post the output and/or try latest trunk.

i can't really test it, i'm not using windows... so either wait for someone to fix it, or send a patch that fixes it.
Title: Re: Updating the project files ?
Post by: Duke on October 25, 2008, 10:30:28 pm
No, bayo didin't miss anything :)
Meanwhile I managed to compile again. But I had a hard time to find out which files were added/deleted by scanning the svn log, searching the menu dir for missing func names and adding the files manually to the project...

Is there is some automated way to keep the project file up-to-date that I missed ?
Title: Re: Updating the project files ?
Post by: bayo on October 26, 2008, 09:39:50 am
when i know i have nothing to merge, a delete my "src" ("build" too?) directory and i "svn update" the root.
hopefully, i will no more move a lot of code for a while :D
Title: Re: Updating the project files ?
Post by: Duke on October 26, 2008, 08:46:49 pm
Today I updated again, the svn log shows that there were additions of files again.
But this time they nicely integrated into the project :)
Along with the added files there is an update for ufo.cbp which I assume to be the project file.

Maybe last time I just hit the wrong button on some popup saying something like
"ufo.cbp was modified from outside. Do you accept ?".