#26 LNK2019 error with MSVC

open
nobody
None
5
2009-01-27
2009-01-27
No

Hi,

I use cpptasks to compile a project with MSVC. Now I added an external library (GSL) to my project.
I can properly compile this project using VisualC++2005, but when I try to compile with cpptaks I get a LNK2019 error.

Attached you find the two ant files used (the project is compiled in two sub projects) and below the working VC commands (pasted from the project properties)

Any hints?

Discussion

  • Simon Martin

    Simon Martin - 2009-01-27
     
  • Simon Martin

    Simon Martin - 2009-01-29

    Workaround for this issue:
    Use libgslcblas.lib, libgsl.lib for Ant compiling and libgslcblas_dll.lib, libgsl_dll.lib for VisualC++ compiling.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks