forbmj
September 23, 2009, 9:36am
1
I just download the latest source code, but don’t know how to compile it using visual studio. Is there any solution file or makefile for this purpose?
BTW, I notice we have had the binary windows package, but I am still curious of knowing the way to compile it.
Thanks in advance for your reply.
Axel
September 24, 2009, 8:14am
2
Hi,
as described here rootbuilder.codeplex.com
Cheers, Axel.
forbmj
October 1, 2009, 12:22am
3
Thanks Axel. I tried to build using cygwin, but I got the following errors:
libgsl.a(roots_falsepos.o) : error LNK2001: unresolved external symbol _finite
libgsl.a(roots_brent.o) : error LNK2001: unresolved external symbol _finite
libgsl.a(roots_newton.o) : error LNK2001: unresolved external symbol _finite
libgsl.a(roots_secant.o) : error LNK2001: unresolved external symbol _finite
libgsl.a(min_fsolver.o) : error LNK2019: unresolved external symbol _finite refe
renced in function _gsl_min_fminimizer_set_with_values
libgsl.a(min_golden.o) : error LNK2001: unresolved external symbol _finite
libgsl.a(min_brent.o) : error LNK2001: unresolved external symbol _finite
libgsl.a(roots_bisection.o) : error LNK2001: unresolved external symbol _finite
libgsl.a(complex_math.o) : error LNK2019: unresolved external symbol _log1p refe
renced in function _gsl_complex_logabs
libgsl.a(cdf_gammainv.o) : error LNK2001: unresolved external symbol _log1p
libgsl.a(sys_invhyp.o) : error LNK2001: unresolved external symbol _log1p
libgsl.a(cdf_tdist.o) : error LNK2001: unresolved external symbol _log1p
bin/libMathMore.dll : fatal error LNK1120: 2 unresolved externals
I am using gsl-1.8 for windows. Any suggestions? Thanks.
[quote=“Axel”]Hi,
as described here rootbuilder.codeplex.com
Cheers, Axel.[/quote][/code]
system
October 1, 2009, 2:04pm
4
[quote=“forbmj”]… but I got the following errors:
libgsl.a(roots_falsepos.o) : error LNK2001: unresolved external symbol _finite
....
[/quote]Which compiler (SDK - Software Development Kit) ) did you use?
The message " error LNK2001" comes from Microsoft Visual C++ linker. However, the extensions “.a” / “*.o” suggest that gcc was in use to compile gsl.
Axel
October 2, 2009, 5:07pm
5
Hi,
you might need to link in a windows fortran library. This is non-standard. Do you really need gsl? Otherwise --disable-mathmore will solve this issue.
Cheers, Axel.