[Users] CarpetHDF5 compilation error
Frank Löffler
knarf at cct.lsu.edu
Sat Jun 29 15:54:44 CDT 2013
Hi
This error indicates that clang couldn't find your hdf5 include files. Usually, you tell this the compiler using the -L flag. Your warnings indicate that clang isn't using the path you give for hdf5 using -L. I didn't use clang yet so I don't know for sure whether it uses -L options but I would be surprised if not. Can you check whether hdf5 is in fact installed where you tell it it should: /Users/maria/Desktop/VisIt.app/Contents/Resources/2.6.2/darwin-x86_64/include/hdf5/include ?
Frank
"Babiuc-Hamilton, Maria" <babiuc at marshall.edu> schrieb:
>Hi,
>
>I'm getting this error when compiling the CarpetHDF5 plugging for Visit:
>
>clang: warning: argument unused during compilation:
>
>-----------------------------------------------------------------
>
>Plugin: CarpetHDF5 ("Carpet AMR/curvilinear HDF5 output generated by the Cactus Computational Toolkit", type=database) -- version 2.1
> Attribute: ()
>
>-- The C compiler identification is Clang 4.2.0
>-- The CXX compiler identification is Clang 4.2.0
>-- Check for working C compiler: /usr/bin/cc
>-- Check for working C compiler: /usr/bin/cc -- works
>-- Detecting C compiler ABI info
>-- Detecting C compiler ABI info - done
>-- Check for working CXX compiler: /usr/bin/c++
>-- Check for working CXX compiler: /usr/bin/c++ -- works
>-- Detecting CXX compiler ABI info
>-- Detecting CXX compiler ABI info - done
>-- Configuring done
>-- Generating done
>-- Build files have been written to: /Users/maria/GaussCactus/CarpetHDF5
>Scanning dependencies of target ECarpetHDF5Database_par
>[ 6%] Building CXX object CMakeFiles/ECarpetHDF5Database_par.dir/CarpetHDF5EnginePluginInfo.C.o
>clang: warning: argument unused during compilation: '-L/Users/maria/Desktop/VisIt.app/Contents/Resources/2.6.2/darwin-x86_64/include/hdf5/include'
>[ 12%] Building CXX object CMakeFiles/ECarpetHDF5Database_par.dir/CarpetHDF5PluginInfo.C.o
>clang: warning: argument unused during compilation: '-L/Users/maria/Desktop/VisIt.app/Contents/Resources/2.6.2/darwin-x86_64/include/hdf5/include'
>[ 18%] Building CXX object CMakeFiles/ECarpetHDF5Database_par.dir/CarpetHDF5CommonPluginInfo.C.o
>clang: warning: argument unused during compilation: '-L/Users/maria/Desktop/VisIt.app/Contents/Resources/2.6.2/darwin-x86_64/include/hdf5/include'
>In file included from /Users/maria/GaussCactus/CarpetHDF5/CarpetHDF5CommonPluginInfo.C:40:
>/Users/maria/GaussCactus/CarpetHDF5/avtCarpetHDF5FileFormat.h:59:10: fatal error:
> 'hdf5.h' file not found
>#include "hdf5.h"
> ^
>1 error generated.
>make[2]: *** [CMakeFiles/ECarpetHDF5Database_par.dir/CarpetHDF5CommonPluginInfo.C.o] Error 1
>make[1]: *** [CMakeFiles/ECarpetHDF5Database_par.dir/all] Error 2
>make: *** [all] Error 2
>
>
>Maria
>_______________________________________________
>Users mailing list
>Users at einsteintoolkit.org
>http://lists.einsteintoolkit.org/mailman/listinfo/users
More information about the Users
mailing list