首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 使用VC编译GSL Windows 32位

使用VC编译GSL Windows 32位

  • 资源大小:22.85 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: vc 使用 编译

资 源 简 介

Build gsl library as static library using cl.exe and lib.exe Download source gsl-1.15.tar.gz http://mirrors.ustc.edu.cn/gnu/gsl/gsl-1.15.tar.gz If you have visual studio 2010, use this sln files (gsl-1.15-vc10.zip): http://svn.icmb.utexas.edu/svn/repository/trunk/zpub/sdkpub/gsl-1.15/vs2010_port/ Or use my scripts (gsl-build-msvc.zip): http://code.google.com/p/gsl-w32/downloads/detail?name=gsl-build-msvc.zip ``` unpack gsl-1.15.tar.gz cd gsl-1.15 cat msvc.patch | patch -p1 cd _build-msvc nmake ``` include files `in gsl-1.15gsl` library files in `_build-msvc` Example: ```c ``` #include #include #include #include #include #define RAW(v) ((void*)&(v)) void test_gsl_linear_regression(void) { int i = 0; //sample size_t norris_n = 11; size_t xstride = 1; size_t ystride = 1; double x[] = { 71, 73, 64, 65, 61, 70, 65, 72, 63, 67, 64}; double y[] = {160, 1

文 件 列 表

_build-msvc
utils
test
libgsl
libcblas
Makefile
cdf_def.h
config.h
fp-win.c
poly_def.h
templates_on.h
unistd.h
vcxprj-files.py
msvc.patch
readme.txt
VIP VIP
0.171305s