[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gsl] Buiding GSL on Windows
From: |
lukasz_urbanski |
Subject: |
[Help-gsl] Buiding GSL on Windows |
Date: |
Fri, 23 May 2008 19:02:18 +0200 |
Hello,
My problem is the following: I want to build GSL to use it with Dev-Cpp or/and
CodeBlocks (both using mingw-gcc compiler)on Windows. I am running the
compilation process using Cygwin - here are the commands I use:
"./configure"
"make"
"make install"
As a result, I am obtaining the statics, namely: libgsl.a & libgslblas.a in
.lib directory and gsl directory containing headers.
I link my Dev-Cpp project against those libraries.
My IDE displays the following liker errors:
***********************************************************************************
C:\gsl-1.9\.libs\libgsl.a(error.o)(.text+0x43) In function `gsl_error':
[Linker error] undefined reference to `__getreent'
[Linker error] undefined reference to `__getreent'
[Linker error] undefined reference to `__getreent'
C:\gsl-1.9\.libs\libgsl.a(stream.o)(.text+0x82) In function
`gsl_stream_printf':
[Linker error] undefined reference to `__getreent'
C:\gsl-1.9\.libs\libgsl.a(stream.o)(.text+0xd1) In function `gsl_set_stream':
[Linker error] undefined reference to `__getreent'
C:\gsl-1.9\.libs\libgsl.a(stream.o)(.text+0xd1) ld returned 1 exit status
C:\Documents and Settings\user\My Documents\CProj\DevTryOuts\Makefile.win
[Build Error] [test.exe] Error 1
***********************************************************************************
What is more, I end up with several errors after typing "make check" in cygwin.
Below one can find the list of errors:
***********************************************************************************
===================
1 of 1 tests failed
===================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/cygdrive/c/gsl-1.9'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/cygdrive/c/gsl-1.9'
make: *** [check-recursive] Error 1
***********************************************************************************
I was applying the routine described above to GSL 1.8, 1.9, 1.10 & 1.11
versions - each time with the same result. That's why I am almost sure, it's my
compiler's settings issue or the configure file might be someway not compliant
with windoze. I've also tried to compile the whole stuff with mingw - You can
check the result out below ->
***********************************************************************************
make[2]: *** [prec.lo] Error 1
make[2]: Leaving directory `/cygdrive/c/gsl-1.9/sys'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/gsl-1.9'
make: *** [all] Error 2
***********************************************************************************
Can anybody tell me where did I go wrong?
I would also appreciate any hints or howtos from people who succeed in building
gsl to use it with windows(mingw).
Best,
Lukasz
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Help-gsl] Buiding GSL on Windows,
lukasz_urbanski <=