Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Pecan on February 01, 2006, 11:31:50 pm

Title: svn 1916 missing files, doesnt compile
Post by: Pecan on February 01, 2006, 11:31:50 pm
svn 1016 gets the following messages when attempting
to compile CB with CB.
Code
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
Title: Re: svn 1916 missing files, doesnt compile
Post by: thomas 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.
Title: Re: svn 1916 missing files, doesnt compile
Post by: mandrav 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.
Title: Re: svn 1916 missing files, doesnt compile
Post by: Pecan 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
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