Hello!
I have some troubles to compile correctly Code::Blocks with Windows XP.
This is what I've done:
I read the manual here:
http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows (http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows)
I use the Gcc compiler given with Code::Blocks 10.05 (When I start Code::Blocks, it is displayed: "Release 10.05 rev 6283 (2010-05-27 09:09:13) gcc 4.4.1 Windows/unicode - 32bit").
I downloaded WxWidgets 2.8.12. I downloaded it on : http://www.wxwidgets.org/downloads/ (http://www.wxwidgets.org/downloads/) section "wxMSW - installer for Windows, with manual (other formats: zip)" (I downloaded the installer and not the zip file).
I defined the compiler in the path of WindowsXP: "c:\Programmes\CodeBlocks\mingw\bin;c:\Programmes\CodeBlocks\mingw\mingw32\bin"
I restarted my compture to update the path.
I installed WxWigdets in "C:\wxWidgets-2.8.12" and compile it with:
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 clean
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1
Next, I downloaded the last version of CodeBlocks on SVN (rev 7620 on http://svn.berlios.de/svnroot/repos/codeblocks/trunk).
I launched the codeBlock project : CodeBlocks.cbp
I defined the global variables for wxWidgets.
Next I buiilt all. The compilation ran into the end. Next, I entered in the directory "src/devel/" and launched the file "codeblocks.exe".
The CodeBlocks application is starting with "SVN 0" written.
A pop-up appears at the bottom right of the screen with a warning message :
"WARNING
One or more pluginswere not loaded.
This usually happens when a plugin is built for a different version of the Code::Blocks SDK.
Check the application log for more info.
List of failed plugins:
astyle.dll
autosave.dll
... (others .dll)
compiler.dll
... (others .dll)
"
I tryed also to make a release version using the "update.bat" file. I generated an "output" directory. I try to start the application with these files but it is the same problem.
With this warning I can use Code:Blocks, but I can't compile, open project... etc...
When I try to open a project I have the following message:
"Deactivating the compiler plugin is most unwise.
If you intend to open a project, you have to re-activate the compiler plugin first."
So, I tryed to add plugins. I exported all the plugins of my official CodeBlocks 10.05 in .cbplugin format in a directory and tryed to import them in my customized codeBlocks, using section "Plugins/Manage plugins...". I clicked on "Install new", selected the .cbplugin files.
A warning message appears:
"One or more plugins were not installed successfully:
astyle-1.2.cbplugin
...
"
Is anybody have an idea about my problem?
Regards,
Crepuscule