project-navigation
Personal tools

Author Topic: Updating the project files ?  (Read 2002 times)

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Updating the project files ?
« 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 ??

Offline Mattn

  • CaveExpress
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4830
  • www.caveproductions.org
    • View Profile
    • CaveExpress
Re: Updating the project files ?
« Reply #1 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.

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Re: Updating the project files ?
« Reply #2 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 ?

Offline bayo

  • Professional loser
  • Project Coder
  • Captain
  • ***
  • Posts: 733
    • View Profile
Re: Updating the project files ?
« Reply #3 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
« Last Edit: October 26, 2008, 09:41:36 am by bayo »

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Re: Updating the project files ?
« Reply #4 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 ?".