SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files
How to build Crow with MSVC 8.0

Next steps assume that instructions in README.msvc in GuiLoader/C++ package are already followed.

  1. Crow compilation requires several libraries to be configured in boostxy_z\tools\build\v2\site-config.jam file. They are:
gtk+          - GTK+ toolkit
guiloader     - alias for GuiLoader library project
gtk+-c++      - gtkmm wrapper
guiloader-c++ - alias for GuiLoader/C++ wrapper project
desktop       - Win32 libraries that provide registry and shell API's

Here is a sample site-config.jam file:

############################################################ import project ;
project.initialize $(__name__) ;
project site-config ;

alias gtk+ : : : :

        <cflags>"/wd4018 /wd4244 -IC:/GTK/include/gtk-2.0 -IC:/GTK/lib/gtk-2.0/include -IC:/GTK/include/atk-1.0 -IC:/GTK/include/cairo -IC:/GTK/include/pango-1.0 -IC:/GTK/include/glib-2.0 -IC:/GTK/lib/glib-2.0/include"
        <linkflags>"/LIBPATH:C:/GTK/lib gtk-win32-2.0.lib gdk-win32-2.0.lib atk-1.0.lib gdk_pixbuf-2.0.lib pangowin32-1.0.lib pangocairo-1.0.lib cairo.lib pangoft2-1.0.lib pango-1.0.lib gobject-2.0.lib gmodule-2.0.lib glib-2.0.lib intl.lib iconv.lib"

;

alias gtk+-c++ : gtk+ : : :

        <cxxflags>"/wd4520 /wd4250 /vd2 /DNOMINMAX -IC:/GTK/include/gtkmm-2.4 -IC:/GTK/lib/gtkmm-2.4/include -IC:/GTK/include/glibmm-2.4 -IC:/GTK/lib/glibmm-2.4/include -IC:/GTK/include/gdkmm-2.4 -IC:/GTK/lib/gdkmm-2.4/include -IC:/GTK/include/pangomm-1.4 -IC:/GTK/include/atkmm-1.6 -IC:/GTK/include/sigc++-2.0 -IC:/GTK/lib/sigc++-2.0/include -IC:/GTK/include/cairomm-1.0"
        <linkflags>"gtkmm-2.4.lib gdkmm-2.4.lib atkmm-1.6.lib pangomm-1.4.lib cairomm-1.0.lib glibmm-2.4.lib sigc-2.0.lib"

;

alias desktop : gtk+ : : :

        <cflags>""
        <linkflags>"shell32.lib advapi32.lib"

;

alias guiloader : /C:/Temp2/guiloader-2.10.0 ; alias guiloader-c++ : /C:/Temp2/guiloader-c++-2.10.0 ; ############################################################

2. Release version of Crow could be built now with "bjam" command executed in a command prompt window from the toplevel distribution directory 'crow-x.y.z'.

PATH environment variable needs to be updated to point to crow.dll directory before Crow Designer can run. Alternatively crow.dll may be copied to the directory containing crow.exe or to the system directory.


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.