News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

svn 1916 missing files, doesnt compile

Started by Pecan, February 01, 2006, 11:31:50 PM

Previous topic - Next topic

Pecan

svn 1016 gets the following messages when attempting
to compile CB with CB.

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

thomas

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."

mandrav

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...

Pecan

Quote from: 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.


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;


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