tag:blogger.com,1999:blog-22176493.post115639236346428167..comments2023-12-18T19:47:08.762+08:00Comments on Chinson's: C/C++ GNU Scientific Library(GSL) for Windowschinsonyehhttp://www.blogger.com/profile/08193820306750767690noreply@blogger.comBlogger16125tag:blogger.com,1999:blog-22176493.post-81755591308283184672010-01-29T10:17:46.404+08:002010-01-29T10:17:46.404+08:00謝謝!^^謝謝!^^michellenoreply@blogger.comtag:blogger.com,1999:blog-22176493.post-38715284782994124382010-01-28T00:29:49.397+08:002010-01-28T00:29:49.397+08:00To michelle:
cd "C:\Program Files\Microsoft ...To michelle:<br /><br />cd "C:\Program Files\Microsoft Visual Studio 9.0\VC\lib"<br /><br />即可chinsonyehhttps://www.blogger.com/profile/08193820306750767690noreply@blogger.comtag:blogger.com,1999:blog-22176493.post-57172357269392591802010-01-27T23:15:09.143+08:002010-01-27T23:15:09.143+08:00您好
想請問一下
您說由於此版本的 lib 子目錄中不含 .lib 檔,必須用以下指令產生。請先開...您好<br />想請問一下<br /><br />您說由於此版本的 lib 子目錄中不含 .lib 檔,必須用以下指令產生。請先開啟 DOS 模式視窗(附屬應用程式/命令提式字元),切換目錄到 lib 目錄下<br />可是我不知道要怎麼切換到這個目錄下<br />我的路徑是以下<br />C:\Program Files\Microsoft Visual Studio 9.0\VC\lib<br />謝謝!michellenoreply@blogger.comtag:blogger.com,1999:blog-22176493.post-82446069443186581022008-12-09T13:51:00.000+08:002008-12-09T13:51:00.000+08:00Hi,Adding a simple line "#define WIN32" in your so...Hi,<BR/><BR/>Adding a simple line "#define WIN32" in your source code or "GSL_DLL" in "Preprocessor definitions" would probably eliminate many problems when using Visual Studio.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-22176493.post-36538383443742026982007-11-30T15:50:00.000+08:002007-11-30T15:50:00.000+08:00抱歉,我的功力不足,幫不上忙了。我拿該範例程式在 Linux 下用 gcc 編譯,程式是可以正確執行...抱歉,我的功力不足,幫不上忙了。我拿該範例程式在 Linux 下用 gcc 編譯,程式是可以正確執行的,不過拿到 MSVC 2005 編譯跟執行,會有相同的問題。這部份恐怕要找真正的高手問了..chinsonyehhttps://www.blogger.com/profile/08193820306750767690noreply@blogger.comtag:blogger.com,1999:blog-22176493.post-3070081616281998252007-11-28T13:29:00.000+08:002007-11-28T13:29:00.000+08:00謝謝您的回覆另外想在詢問小弟拿了GSL Reference Manual裡面用來求eigenvalu...謝謝您的回覆<BR/>另外想在詢問<BR/>小弟拿了GSL Reference Manual裡面用來求eigenvalue和eigenvector的範例來測試<BR/>在compiler和build的時後都正常沒問題<BR/>為何執行後會出現下圖的錯誤<BR/>http://www.imagehostingsite.com/images/znmqtzmmnuh2yrz2zmjw.jpg<BR/><BR/>braynAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-22176493.post-62477826823770535432007-11-27T17:30:00.000+08:002007-11-27T17:30:00.000+08:00Hi brayn,我查了一下 GSL for Windows 的網站(http://gnuwin32...Hi brayn,<BR/>我查了一下 GSL for Windows 的網站(http://gnuwin32.sourceforge.net/packages/gsl.htm),目前最近版還是在 1.8 喔,你說的 1.10 應該是指 Linux 版的。從 GSL 的官方網站說明來看(http://www.gnu.org/software/gsl/),如果要使用 GSL 1.10 版,可能要透過 Cygwin 的方式。不過這部份我沒有研究過,並不清楚是不是能直接套用到 Visual C++ 中使用 。chinsonyehhttps://www.blogger.com/profile/08193820306750767690noreply@blogger.comtag:blogger.com,1999:blog-22176493.post-20994658674545600482007-11-27T12:48:00.000+08:002007-11-27T12:48:00.000+08:00Hi Chinson感謝您的教學讓小弟第一次使用library就可以很快上手另外想詢問一下你的教學使...Hi Chinson<BR/>感謝您的教學<BR/>讓小弟第一次使用library就可以很快上手<BR/>另外想詢問一下<BR/>你的教學使用到的gsl文1.8版<BR/>若我想要升級到吹新的1.10版的話該如何做<BR/><BR/>braynAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-22176493.post-75346413383887811782007-10-19T13:25:00.000+08:002007-10-19T13:25:00.000+08:00Please make sure that you have added "GSL_DLL" in ...Please make sure that you have added "GSL_DLL" in "Preprocessor definitions".<BR/>I got the same problem before doing it.chinsonyehhttps://www.blogger.com/profile/08193820306750767690noreply@blogger.comtag:blogger.com,1999:blog-22176493.post-62947767414272309242007-10-18T20:21:00.000+08:002007-10-18T20:21:00.000+08:00when running "gsl_rng_alloc()",crashes happen,tip:...when running "gsl_rng_alloc()",crashes happen,tip:a fatal error! ?? thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-22176493.post-53300660973499978862007-09-22T21:00:00.000+08:002007-09-22T21:00:00.000+08:00thanks, Chinson!thanks, Chinson!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-22176493.post-73224103260316914212007-09-19T18:55:00.000+08:002007-09-19T18:55:00.000+08:00Hi Jerry, First, you have to open the "Property P...Hi Jerry,<BR/> First, you have to open the "Property Pages" from the main menu : "Project" -> "Properties".<BR/> In the property pages, go to "Configuration Properties"->"Linker"->"Input" and add "libgsl.lib libgslcblas.lib" into the "Additional Dependences" attribute.<BR/> Go to "Configuration Properties"->"C/C++"->"Preprocessor" and add "GSL_DLL" into the "Preprocessor Definitions".<BR/> Bychinsonyehhttps://www.blogger.com/profile/08193820306750767690noreply@blogger.comtag:blogger.com,1999:blog-22176493.post-48682088894783378322007-09-19T01:56:00.000+08:002007-09-19T01:56:00.000+08:00Hi, Chinson,I am using VS 2005. How should I do 5....Hi, Chinson,<BR/><BR/>I am using VS 2005. How should I do 5. and 6.,<BR/>5. 在 VC 專案中加入 libgsl.lib, libgslcblas.lib 這 2 個 lib 到 link 參數中。<BR/>6. 在 VC 專案的 Preprocessor definitions 中加入 GSL_DLL。<BR/>?<BR/>I am kind of new to VC++, so could you explain it in a little bit more detailed?<BR/><BR/>thanks a lot!<BR/><BR/>JerryAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-22176493.post-49296618982028183792007-04-26T20:52:00.000+08:002007-04-26T20:52:00.000+08:00thx alot for teaching me these lines:lib /machine:...thx alot for teaching me these lines:<BR/>lib /machine:i386 /def:libgsl.def<BR/>lib /machine:i386 /def:libgslcblas.defAnonymoushttps://www.blogger.com/profile/07496899857287348384noreply@blogger.comtag:blogger.com,1999:blog-22176493.post-1162277805119155462006-10-31T14:56:00.000+08:002006-10-31T14:56:00.000+08:00Hi Brady,I am not familiar with this kind of probl...Hi Brady,<BR/>I am not familiar with this kind of problem. But here is my lib files. Hope they help.<BR/><BR/><A HREF="http://chinsonyeh.googlepages.com/libgsl.lib" REL="nofollow">libgsl.lib</A><BR/><A HREF="http://chinsonyeh.googlepages.com/libgslcblas.lib" REL="nofollow">libgslcblas.lib</A>chinsonyehhttps://www.blogger.com/profile/08193820306750767690noreply@blogger.comtag:blogger.com,1999:blog-22176493.post-1161371737241650692006-10-21T03:15:00.000+08:002006-10-21T03:15:00.000+08:00Hi Chinson,I am having trouble generating LIB file...Hi Chinson,<BR/><BR/>I am having trouble generating LIB files from DEF files thru DOS. <BR/><BR/>I get error message like this...<BR/><BR/>LIB : warning LNK4012: invalid value "i386/def:libgsl.DEF", must be ALPHA, ARM,IX86, MIPS, MIPS16, MIPSR41XX, PPC, SH3, or SH4; option ignored<BR/><BR/>Do you know know what's causing me this problem? <BR/><BR/>or can I use the lib file generate from other's Anonymousnoreply@blogger.com