天空是藍色的

          做好軟件為中國 #gcc -c helloworld.c -o helloworld.o //編譯目標文件 #gcc helloworld.o -o helloworld //編譯成可執行exe #helloworld //運行exe
          數據加載中……
          use eclipse to develope c or c++ On Windows platform

          use eclipse to develope c or c++ On Windows platform
          of course you need j2sdk
          1 download eclipse platform and cdt plugins from eclipse official site http://www.eclipse.org/
          2 download GNU c/c++ compilers I use MinGW http://www.mingw.org
          I use the MinGW-3.1.0-1.exe
          2.1 Install MinGW say:D:/MinGW
          2.2 set environment
           
           Path D:\MinGW\bin;
           C_INCLUDE_PATH D:\MinGW\include;
           CPLUS_INCLUDE_PATH  D:\MinGW\include\c++\3.2.3;D:\MinGW\include\c++\3.2.3\mingw32;D:\MinGW\include\c++\3.2.3\backward;D:\MinGW\include;
           LIBRARY_PATH D:\MinGW\lib;
           change the D:\MinGW\bin\mingw32-make.exe file name to make.exe
           
          3 also download the Msys from MinGW.org
          3.1 Install Msys

          4 downloads wxWidgets-2.6.3.zip from http://www.wxwidgets.org/ 
          4.1 building it
           unzip it first say:D:\MinGW\wxWidgets-2.6.3
           > cd D:\MinGW\wxWidgets-2.6.3\build\msw
             > make -f makefile.gcc BUILD=release
             > cd D:\MinGW\wxWidgets-2.6.3\samples\minimal
             > make -f makefile.gcc BUILD=release
          4.2 use wxWidgets-2.6.3 in eclipse
           Properties for a c++ project
           GCC C++ Compiler
            Preprocessor(-D)  _WINDOWS
               WIN32
               __WIN95__
            Directories  "D:\MinGW\lib\gcc-lib\mingw32\3.2.3\include"
               "D:\MinGW\wxWidgets-2.6.3\include"
               "D:\MinGW\wxWidgets-2.6.3\lib\gcc_lib\msw"
           GCC C++ Linker
            Libraries
             Libraries(-l)
              wxmsw26_adv
              wxmsw26_core
              wxbase26
              wxtiff
              wxjpeg
              wxpng
              wxzlib
              wxregex
              wxexpat
              kernel32
              user32
              gdi32
              comdlg32
              winspool
              winmm
              shell32
              comctl32
              ole32
              oleaut32
              uuid
              rpcrt4
              advapi32
              wsock32
              odbc32
             Library search path(-L)
              "D:\MinGW\lib"
              "D:\MinGW\wxWidgets-2.6.3\lib\gcc_lib"

          5 Install some libs tools on eclpise
          ACE_wrappers build with Msys  http://www.cs.wustl.edu/~schmidt/ACE.html
          mysql++-2.1.1 build with makefile and need the mysql source src zip file http://www.tangentsoft.net/mysql++/ 
          STLport-4.6.2 http://stlport.org
          STLsgi-3.3 http://www.sgi.com/tech/stl
          boost_1_33_1   http://www.boost.org/

          look the readme file will help you build


          http://www.freebyte.com/programming/cpp/

          posted on 2006-05-09 09:40 bluesky 閱讀(3180) 評論(0)  編輯  收藏 所屬分類: C/C++

          主站蜘蛛池模板: 瑞金市| 佛坪县| 彭阳县| 邢台县| 宝应县| 普兰店市| 自贡市| 奉贤区| 获嘉县| 汕头市| 哈密市| 瑞丽市| 新昌县| 仙居县| 青浦区| 黄大仙区| 灯塔市| 博野县| 门头沟区| 专栏| 临邑县| 冀州市| 南宁市| 常州市| 金华市| 白水县| 天门市| 锡林郭勒盟| 泸定县| 怀集县| 苗栗市| 大埔县| 两当县| 百色市| 临沧市| 文水县| 齐齐哈尔市| 于田县| 桑日县| 金塔县| 襄汾县|