Menu

Using GSL on Qt for Windows

Help
2010-03-27
2012-07-26
  • Marco Gutierrez

    Marco Gutierrez - 2010-03-27

    Hi!

    I am trying to use GSL in Qt for windows.

    I have little experience using external libraries, and I was trying to install
    GSL by means of the installer.

    It created the folder " e:\program files\GnuWin32 "

    I have created a new project in Qt using the new libraries and it marks the
    error: " undefined reference to 'gsl_matrix_view_array' "

    Can you give me more specific steps to install and use this library?

     
  • mark

    mark - 2010-03-27

    Hi,

    Just wanted to suggest that cross building on a Unix/Linux machine for MinGW32
    might be a good solution. An excellent environment for doing this is mingw-
    cross-env. http://www.nongnu.org/mingw-cross-env/. It includes Qt and many other libraries. GSL builds fine
    and is about to be added to the standard distribution. You will probably find
    that this is easier than trying to assemble all the bits and pieces yourself.
    Cross building is faster than building natively on MinGW/MSYS. The mailing
    list is also quite helpful.

     
  • GnuWin

    GnuWin - 2010-03-28

    I'm not at all familiar with Qt, so I'm afraid I can't be of much help here.
    In any case, I guess you would also have to define the macro (compile switch)
    GSL_DLL ; see http://gnuwin32.sourceforge.net/packages/gsl.htm.