Author Topic: svn 1916 missing files, doesnt compile  (Read 2703 times)

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2165
svn 1916 missing files, doesnt compile
« on: February 01, 2006, 11:31:50 pm »
svn 1016 gets the following messages when attempting
to compile CB with CB.
Code: [Select]
Linking dynamic library: devel/libcodeblocks.so
g++: .objs/sdk/customvars.o: No such file or directory
g++: .objs/sdk/configmanager-revision.o: No such file or directory

I didn't catch these msgs in a previous post. Stupidly
overlooked them.
Any way around this?

thanks
pecan

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: svn 1916 missing files, doesnt compile
« Reply #1 on: February 01, 2006, 11:38:40 pm »
customvars.cpp was deleted when Yiannis merged the new configuration branch to the trunk.
configmanager-revision.cpp is a relatively new file which separates the revision stuff from the rest of ConfigManager, so the compiler does not need to compile a 37 kB file every time.

If you have updated everything (including the project) to HEAD, a clean rebuild should fix everything.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: svn 1916 missing files, doesnt compile
« Reply #2 on: February 01, 2006, 11:44:44 pm »
I haven't yet updated codeblocks-unix.cbp. Sorry.

About customvars, remove the two files from the project (in sdk).
Also, add sdk/configmanager-revision.cpp in the project.
Be patient!
This bug will be fixed soon...

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2165
Re: svn 1916 missing files, doesnt compile
« Reply #3 on: February 02, 2006, 01:16:09 am »
I haven't yet updated codeblocks-unix.cbp. Sorry.

About customvars, remove the two files from the project (in sdk).
Also, add sdk/configmanager-revision.cpp in the project.


Guess I'll have to wait for the update. I got rid of the customvars error,
but I can't seem to get CB to compile configmanager-revision.cpp.
I added it to the project, checked target sdk, and it shows up in the
project. But I still get the link err;

Code: [Select]
Compiling: sdk/workspaceloader.cpp

Compiling: sdk/xtra_classes.cpp

Compiling: sdk/xtra_res.cpp

Linking dynamic library: devel/libcodeblocks.so
g++: .objs/sdk/configmanager-revision.o: No such file or directory


Process terminated with status 1 (34 minutes, 35 seconds)
0 errors, 95 warnings
 

thanks
pecan