User forums > Using Code::Blocks

SVN 1932 compiler errs

<< < (2/4) > >>

thomas:

--- Quote ---When I svn updated this morning, does this mean that my
-unix.cbp file did NOT get updated to the svn version.
If so, why not? I dont have any rights to update that file.
Shouldnt svn say, "whoa buddy, you can't do that.." and
clobber mine with the svn version?
--- End quote ---
Actually, it should merge your copy with the changes in SVN, i.e. it should keep your modifications but propagate the changes of the actual version into your copy.

This normally works quite reliably, except if
a) you have a conflict (you and someone else modified the same line by coincidence)
b) you did not update the root directory, but only a subdirectory
c) other reasons (access errors, etc...)

The solution is to simply run svn update CodeBlocks-Unix.cbp (you don't need to provide an URL or anything, just the file name), or to delete the file and run a normal update as tiwag said (which will cause you to lose your modifications, though).

Please do note that you must close the project and open it again (or quit and restart Code::Blocks), because the project is not automatically reloaded when Subversion changes it.

Pecan:

--- Quote ---It's not my fault. My dog ate the patch.

--- End quote ---

Any chance ya got a project eating dawg too? :}
Can I borrow 'im?

thanks
 pecan

Pecan:
I deleted CodeBlocks-unix.cbp and svn updated to 1933.
I verified that the .cbp had been replaced. It has an entry
for say.. blockallocated.cpp in it.

Then, using the last usable CB on ubuntu that I have (svn 1787)
I attempted to compile CB 1933.

I get these errs:

--- Code: ---Compiling: sdk/uservarmanager.cpp

Compiling: sdk/workspaceloader.cpp

Compiling: sdk/xtra_classes.cpp

Compiling: sdk/xtra_res.cpp

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


Process terminated with status 1 (24 minutes, 44 seconds)
0 errors, 95 warnings

--- End code ---

CodeBlocks-unix-cbp zip attached.

where am I going wrong. Has anyone else had success compiling
this way?

I'll be happy to change my ways for some success.

It seems so few people are actually using linux, is any of this worth the effort?

thanks
pecan


[attachment deleted by admin]

tiwag:
did you try to rebuild the target sdk ?

Pecan:

--- Quote from: tiwag on February 02, 2006, 07:25:17 pm ---did you try to rebuild the target sdk ?

--- End quote ---

I don't know what that means.
I hit the rebuild button and answered yes.
Have you had any success compiling this?
If so could you discribe how so I can do it too.

thanks
pecan


Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version