nlesc-dirac / sagecal

SAGECal is a fast, memory efficient and GPU accelerated radio interferometric calibration program. It supports all source models including points, Gaussians and Shapelets. Distributed calibration using MPI and consensus optimization is enabled. Both spectral and spatial priors can be used as constraints. Tools to build/restore sky models are included.
http://sagecal.sourceforge.net
GNU General Public License v2.0
12 stars 8 forks source link

GLIB directories not found #204

Closed mnijhuis-tos closed 3 months ago

mnijhuis-tos commented 3 months ago

When compiling sagecal, I'm getting a message "/usr/bin/ld: cannot find -lintl"

I could fix this issue by editing CMakeLists.txt and changing

if (GLIB_PKG_FOUND)
    include_directories(${GLIB_PKG_INCLUDE_DIRS})
endif()

into

if (GLIB_PKG_FOUND)
    include_directories(${GLIB_PKG_INCLUDE_DIRS})
    link_directories(${GLIB_PKG_LIBRARY_DIRS})
endif()

Could you apply this fix to sagecal?

SarodYatawatta commented 3 months ago

OK thanks, will be fixed