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

Compiling Code Block

<< < (3/4) > >>

Biplab:

--- Quote from: puneet_m on August 14, 2007, 01:24:28 am ---:C:/Documents and Settings/pmaheshw/Desktop/codeblocks-1.0rc2/codeblocks-1.0rc2/src/sdk/wxscintilla/src/PlatWX.cpp:(.text$_ZN12wxStringBaseC2EPKcj[wxStringBase::wxStringBase(char const*, unsigned int)]+0x23): undefined reference to `_imp___ZN12wxStringBase8InitWithEPKcjj'
.objs\sdk\wxscintilla\src\ScintillaWX.o: In function `ZNK12wxSCICallTip12AcceptsFocusEv':C:/wxWidgets-2.6.4/include/wx/window.h:(.text$_Z16wxGetTranslationPKc[wxGetTranslation(char const*)]+0x2c): undefined reference to `_imp___ZNK8wxLocale9GetStringEPKcS1_'
.objs\sdk\wxscintilla\src\wxscintilla.o: In function `ZN11wxScintilla12StyleSetSpecEiRK8wxString':C:/Documents and Settings/pmaheshw/Desktop/codeblocks-1.0rc2/codeblocks-1.0rc2/src/sdk/wxscintilla/src/wxscintilla.cpp:2552: undefined reference to `_imp___ZNK8wxString11BeforeFirstEc'

--- End quote ---

Please don't use Code::Blocks RC2.  8)

It's an old code which may not compile with latest wx sources. It's use is highly NOT recommended.

1. Remove all traces of C::B RC2 from your PC including the MinGW compiler installed with it.
2. Download and install a latest nightly build of C::B from the following forum.

--- Quote ---http://forums.codeblocks.org/index.php/board,20.0.html
--- End quote ---
Read the following article for installation details.

--- Quote ---http://forums.codeblocks.org/index.php/topic,3232.0.html
--- End quote ---
3. Install GCC-3.4.5 (MinGW build) at C:\MinGW (recommended).
4. Download the latest source from SVN (http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows) and compile it. Please note that this article is bit old.

Alternatively you may download latest source tarball from the following link.

--- Quote ---http://www.esnips.com/web/CodeBlocks-SVN-TarBall
--- End quote ---

Another point you should keep in mind that Path containing Spaces may create problem with certain programs (windres.exe) and this may break compilation. So put the source in a path which doesn't have space in between.

Please note that C::B has moved to wx-2.8. So try to compile the latest source using wx-2.8 (recommended).

puneet_m:
Thanks Biplab for your help. It got compiled successfully. But after I run update.bat, it gives the following error --

zip is not recongnized as internal or external command, operable program or batch file.
The system cannot find the file specified.

Biplab:

--- Quote from: puneet_m on August 14, 2007, 06:38:01 pm ---zip is not recongnized as internal or external command, operable program or batch file.
The system cannot find the file specified.

--- End quote ---

Download the zip.exe from the following link.

--- Quote ---http://www.info-zip.org/Zip.html#Win32
--- End quote ---
Extract the zip file and put zip.exe in C:\MinGW\bin or any other folder mentioned in %PATH%. :)

Best Regards,

Biplab

puneet_m:
Thanks Biplab. It is working fine now.

lubos:

--- Quote from: Biplab on August 14, 2007, 03:01:50 am ---Please don't use Code::Blocks RC2.  8)

It's an old code which may not compile with latest wx sources. It's use is highly NOT recommended.

--- End quote ---
and its the last 'stable' release  :D

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version