Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

SVN 2343 doesn't compile under linux

(1/3) > >>

Pecan:
SVN 2343 get the following errors attempting to compile
(with Codeblocks 2316) under Ubuntu 510


--- 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/base64.o: No such file or directory
g++: .objs/sdk/configurationpanel.o: No such file or directory
g++: .objs/sdk/crc32.o: No such file or directory
Process terminated with status 1 (64 minutes, 26 seconds)
0 errors, 0 warnings


--- End code ---

Pecan:

--- Quote from: Pecan on April 13, 2006, 10:48:50 pm ---SVN 2343 get the following errors attempting to compile
(with Codeblocks 2316) under Ubuntu 510

--- End quote ---

I did a Rebuild/Clean, then another Rebuild on SVN 2343 and got the
following:

--- Code: ---Compiling: src/prefix.cpp
Compiling: src/printdlg.cpp
Compiling: src/splashscreen.cpp
Compiling: src/startherepage.cpp
Linking executable: devel/codeblocks
.objs/src/app.o: In function `__tcf_0':
src/app.cpp:340: undefined reference to `CrashHandler::~CrashHandler()'
.objs/src/app.o: In function `CodeBlocksApp::OnInit()':
src/app.cpp:340: undefined reference to `CrashHandler::CrashHandler()'
collect2: ld returned 1 exit status

--- End code ---

I then reverted to 2342 and all compiled ok on Ubuntu 510

thanks
pecan

Michael:
Hello,

I have no problem with rev2343 on Ubuntu 5.10. I have just build yesterday the .deb package for rev2343 and all went as usually.

Sorry for the stupid question, but you did not use in Linux the #define WINVER=0x0501 used to build the Crash Handler on Windows XP (see Thomas's post)?

Best wishes,
Michael

Pecan:

--- Quote from: Michael on April 14, 2006, 10:46:07 am ---Hello,

I have no problem with rev2343 on Ubuntu 5.10. I have just build yesterday the .deb package for rev2343 and all went as usually.

Sorry for the stupid question, but you did not use in Linux the #define WINVER=0x0501 used to build the Crash Handler on Windows XP (see Thomas's post)?

Best wishes,
Michael


--- End quote ---


I simply did a SVN update on 2316 and tried to compile using CodeBlocks.
I got the errors reported. If anything new is defined in 2343,
I didn't define it.

I then did an "svn update -r 2342", recompiled, and the error were gone.

Michael:

--- Quote from: Pecan on April 14, 2006, 02:16:07 pm ---I simply did a SVN update on 2316 and tried to compile using CodeBlocks.
I got the errors reported. If anything new is defined in 2343,
I didn't define it.

I then did an "svn update -r 2342", recompiled, and the error were gone.


--- End quote ---

The main difference between rev 2343 and 2342 is the Crash Handler. Anyway, it is not compiled by default and should not make troubles in Linux. I will check if I can build C::B with cbp.

Best wishes,
Michael

Navigation

[0] Message Index

[#] Next page

Go to full version