天空是藍色的

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

          主站蜘蛛池模板: 新民市| 万州区| 曲水县| 长治县| 正宁县| 双柏县| 涿州市| 普宁市| 青州市| 康乐县| 贵溪市| 平安县| 灵石县| 浦东新区| 南郑县| 资中县| 攀枝花市| 长沙县| 璧山县| 高安市| 曲松县| 兴和县| 卫辉市| 大城县| 云安县| 故城县| 芦溪县| 郴州市| 读书| 富川| 东丽区| 菏泽市| 山东省| 万荣县| 浮梁县| 盐城市| 通州市| 建德市| 新余市| 教育| 雅江县|