Thanks Oliviu, can you also provide some information on your CMake configuration - what CMake options do you have switched on/off? In particular, it would be useful to know which of the THIRDPARY_BUILD_ options you have switched on and whether you're using boost and zlib from Ubuntu packages or whether they're being built as part of the Nektar build.

Regards,
Jeremy


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

Hello Jeremy,

Here is some additional information:
Linux distribution and version: Ubuntu 18.04.3
Nektar version: cloned latest Master branch from the repository
CMake: 3.10.2

Best regards,
Oliviu

On Thursday, August 15, 2019, 1:34:32 PM GMT+1, Jeremy Cohen <jeremy.cohen@imperial.ac.uk> wrote:


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