天空是藍色的

          做好軟件為中國 #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 閱讀(3181) 評論(0)  編輯  收藏 所屬分類: C/C++

          主站蜘蛛池模板: 汶上县| 梅河口市| 从江县| 晋江市| 定州市| 清流县| 鄂伦春自治旗| 江孜县| 宜黄县| 高青县| 洛隆县| 左云县| 连南| 克什克腾旗| 芜湖县| 湘乡市| 松原市| 山西省| 民权县| 陆丰市| 汾西县| 工布江达县| 大埔区| 广元市| 松滋市| 罗城| 会同县| 阜新市| 镇宁| 莱阳市| 武宣县| 沙河市| 东宁县| 麻城市| 龙陵县| 霸州市| 山阴县| 丹阳市| 舒城县| 朝阳市| 手机|