在win10上配置Eclipse+GCC+GSL

http://blog.csdn.net/wangran51/article/details/7497863
https://www.youtube.com/watch?v=VJ6HKJeeaSM
https://sites.google.com/a/phys.buruniv.ac.in/statmech2/installing-cygwin-gsl-win
https://www.ntu.edu.sg/home/ehchua/programming/howto/EclipseCpp_HowTo.html

change the encoding
(windows -> preference -> general -> workspace)
text file encoding: other - UTF-8
New text file line delimiter :other - Unix
apply the change

change the toolchains
(windows -> preference -> C/C++ -> New C/C++ Project Wizard)
Project type -> Executable -> Empty Project -> Toolchains -> MinGW GCC -> Make toolchains preferred -> apply

remove the aotu update so that it will nbot interrupt your project.
(windows -> preference -> Install/Update -> Automatic Updates -> Untick the "Automatically find new updates and notify me" -> Apply)

project-->properties--->C/C++ builder---> MinGW C++ Linker---->Libraries

在libraries(-l)中添加 (1) gsl (2) gslcblas

posted @ 2018-03-06 13:28  Gre Tony  阅读(474)  评论(0编辑  收藏  举报