User forums > Help
ubuntu Breezy compile error (SVN)
Pecan:
--- Quote from: mandrav on January 15, 2007, 09:51:12 am ---
--- Quote from: Pecan on January 14, 2007, 10:19:46 pm ---When -include sdk.h occurs in the command line, and the source file also contains #include sdk.h I get a fdopen err and the compilation fails.
--- End quote ---
This is clearly an indication that you are #including the PCH inside a header file. Never do that. The PCH must only be included inside source files (*.c, *.cpp, etc)...
--- End quote ---
I haven't included anything. I'm just compiling CodeBlocks-Unix.cbp on Ubuntu 5.10 Breezy. I've never modified the .cbp or the file. It came with the svn update process.
This does not happen when compiling CB with andLinux Ubuntu Edgy.
I'll try to recreate the situation, but it may be too late. In the attempt to get Breezy to apply wx2.6.3 I hosed the system.
Pecan:
--- Quote from: Pecan on January 15, 2007, 02:53:27 pm ---
--- Quote from: mandrav on January 15, 2007, 09:51:12 am ---
--- Quote from: Pecan on January 14, 2007, 10:19:46 pm ---When -include sdk.h occurs in the command line, and the source file also contains #include sdk.h I get a fdopen err and the compilation fails.
--- End quote ---
This is clearly an indication that you are #including the PCH inside a header file. Never do that. The PCH must only be included inside source files (*.c, *.cpp, etc)...
--- End quote ---
I haven't included anything. I'm just compiling CodeBlocks-Unix.cbp on Ubuntu 5.10 Breezy. I've never modified the .cbp or the file. It came with the svn update process.
This does not happen when compiling CB with andLinux Ubuntu Edgy.
I'll try to recreate the situation, but it may be too late. In the attempt to get Breezy to apply wx2.6.3 I hosed the system.
--- End quote ---
Apt-Get hosed my Ubuntu 5.10 Breezy system, so I just updated to Dapper.
I then compiled CodeBlocks with no problems. The only difference I can find is that a new compiler was used; gcc 4.0.3
However, I have not found a way to get wxGTK 2.6.3. Synaptics still only offers 2.6.1 .
stahta01:
--- Quote --- mandrav
* Added preprocessor guard around call to wxXmlResource::Unload() in sc_dialog.cpp.
--- End quote ---
From svn log
Tim S
Navigation
[0] Message Index
[*] Previous page
Go to full version