User forums > Help

Using CygWin to Install Code::Blocks

(1/2) > >>

stahta01:
FYI:

This is a record of me trying to install Code::Blocks under CygWin.
Note: I know it is rather pointless; but, it should help me test Code::Blocks Build changes without using Linux till the final test.

Tim S

stahta01:
Cygwin setup 1.7 packages needed; this is not a complete list.
    Build Tools
        gcc4-g++         (Devel)
        libtool              (Devel)
        make               (Devel)
        pkg-config        (Devel)
        subversion        (Devel)
        zip                  (Archive)
    Code Packages
        atk-devel         (Gnome)
        gtk2-x11-devel  (Devel, Graphic, Libs
        pango-devel      (Devel, Libs, Test)
       
Test before doing configure
    pkg-config gtk+-2.0 --libs
    g++ -v

stahta01:
Patch needed for Building CB under CygWin. Tim S


--- Code: ---Index: codeblocks-trunk/src/sdk/wxscintilla/Makefile.am
===================================================================
--- codeblocks-trunk/src/sdk/wxscintilla/Makefile.am (revision 5593)
+++ codeblocks-trunk/src/sdk/wxscintilla/Makefile.am (working copy)
@@ -3,7 +3,7 @@
  -I$(srcdir)/src/scintilla/include \
  -I$(srcdir)/src/scintilla/src
 
-AM_CPPFLAGS = -DSCI_LEXER -DLINK_LEXERS -DGTK -D__WX__
+AM_CPPFLAGS = -DSCI_LEXER -DLINK_LEXERS -DGTK -D__WX__ -DWXMAKINGDLL_SCI
 
 noinst_LTLIBRARIES = libwxscintilla.la
 

--- End code ---

stahta01:
I am having problems with scripting (sqplus and etc.)

Going to have to relearn how to patch Squirrel stuff; it always seems so complex.


SVN 4648 note: update from Squirrel 2.1.0/SQPlus 1.7 to Squirrel 2.1.1/SQPlus 2.3

from squirrel.h SQUIRREL_VERSION    "Squirrel 2.1.1 stable"

bindings   Code::Blocks custom bindings best guess
include     "Squirrel 2.1.1 stable" best guess
sqstdlib    "Squirrel 2.1.1 stable" best guess
squirrel     "Squirrel 2.1.1 stable" best guess 
sqplus      2.3 or higher              best guess

Tim S.

MortenMacFly:

--- Quote from: stahta01 on May 18, 2009, 01:39:49 am ---from squirrel.h SQUIRREL_VERSION    "Squirrel 2.1.1 stable"

bindings   Code::Blocks custom bindings best guess
include     "Squirrel 2.1.1 stable" best guess
sqstdlib    "Squirrel 2.1.1 stable" best guess
squirrel     "Squirrel 2.1.1 stable" best guess 
sqplus      2.3 or higher              best guess

--- End quote ---
I don't really get the question from this part but keep in mind that we are using a patched version of Squirrel to match C::B requirements. So there is no package you can download with the sources except exactly the ones from C::B SVN.

Navigation

[0] Message Index

[#] Next page

Go to full version