Hi Oliviu,

It looks like this is probably something to do with the version of libpng that you're using requiring zlib to be linked and this is not being picked up for some reason.

Can you give us some more information about the environment you're working on since that will assist in trying to identify the problem. e.g. can you please provide the Linux distribution and version that you're working on, the version of Nektar++ you're trying to build and whether you've cloned from GitHub or downloaded a source tarball from the website. Can you also tell us what CMake configuration you're using.

Thanks,
Jeremy

On 15 Aug 2019, at 13:25, Oliviu Sugar <oliviu_sugar@yahoo.com> wrote:

Dear all,

I get the following error when compiling:
//usr/lib/x86_64-linux-gnu/libpng16.so.16: undefined reference to `inflateValidate@ZLIB_1.2.9'
collect2: error: ld returned 1 exit status
utilities/NekMesh/CMakeFiles/NekMesh.dir/build.make:1083: recipe for target 'utilities/NekMesh/NekMesh' failed
make[2]: *** [utilities/NekMesh/NekMesh] Error 1
CMakeFiles/Makefile2:618: recipe for target 'utilities/NekMesh/CMakeFiles/NekMesh.dir/all' failed
make[1]: *** [utilities/NekMesh/CMakeFiles/NekMesh.dir/all] Error 2
Can anyone point me in the right direction about what could be causing this issue?

Many thanks,

Oliviu
_______________________________________________
Nektar-users mailing list
Nektar-users@imperial.ac.uk
https://mailman.ic.ac.uk/mailman/listinfo/nektar-users