在win10上配置Eclipse+GCC+GSL

本文详细介绍了如何在Eclipse环境中配置C/C++开发环境,包括设置文本编码为UTF-8,选择合适的行结束符,指定工具链为MinGW GCC,并禁用自动更新以防干扰项目。此外,还提供了如何为项目添加gsl和gslcblas库的具体步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

http://blog.youkuaiyun.com/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

转载于:https://www.cnblogs.com/songtianyu/p/8513869.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值