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

SVN 2343 doesn't compile under linux

<< < (3/3)

Michael:

--- Quote from: mandrav on April 14, 2006, 03:59:19 pm ---It seems Thomas didn't add these files in non-windows builds.
The files themselves are #ifdef'd so they won't actually be compiled, but they need to be added to the build.
I will do it later today.
For the time being do it yourselves, locally.

For autotools, edit src/src/Makefile.am and add crashhandler.cpp in the codeblocks_SOURCES list of files.
For the .cbp builds, add src/crashhandler.cpp|h in the codeblocks-unix.cbp.

--- End quote ---

Ok, I will do it :).

Thank you for your help.

Best wishes,
Michael

Michael:

--- Quote from: thomas on April 14, 2006, 05:46:40 pm ---
--- Quote from: mandrav on April 14, 2006, 03:59:19 pm ---It seems Thomas didn't add these files in non-windows builds.
--- End quote ---
Yes, he did (to the best of his knowledge).

He added them to
a) CodeBlocks.cbp
b) CodeBlocks-unix.cbp
c) Makefile.am inside src

He believes you have to run bootstrap again for new files to be honoured, but he isn't entirely sure about this, being an autotools noob :)

--- End quote ---

Hello,

I have checked and found as you said that the files were added to the src/src/makefile.am. This should explains why I could build the .deb package (but not why Pecan could not build rev2343). Anyway, in the CodeBlocks-unix.cbp I have not found them. I have added them and I will try now a re-build to know if it works. [EDIT]: I have just built successfully rev2349 :).

Best wishes,
Michael

Pecan:

--- Quote ---From Michael
I have checked and found as you said that the files were added to the src/src/makefile.am. This should explains why I could build the .deb package (but not why Pecan could not build rev2343).

--- End quote ---

Pecan was using Codeblocks 2316 to compile
Codeblocks 2343. And it didnt work.

But... As long as it's fixed...Pecan is happy

Michael:

--- Quote from: Pecan on April 14, 2006, 11:33:02 pm ---
--- Quote ---From Michael
I have checked and found as you said that the files were added to the src/src/makefile.am. This should explains why I could build the .deb package (but not why Pecan could not build rev2343).

--- End quote ---

Pecan was using Codeblocks 2316 to compile
Codeblocks 2343. And it didnt work.

But... As long as it's fixed...Pecan is happy


--- End quote ---

Ok, sorry for the misunderstanding :oops:.

Best wishes,
Michael

Navigation

[0] Message Index

[*] Previous page

Go to full version