-
Notifications
You must be signed in to change notification settings - Fork 641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: ‘H5T_NATIVE_FLOAT’ was not declared in this scope #1658
Comments
What version of HDF5 do you have? Those types should be defined by |
I think the problem here is that you installed the parallel version of HDF5 and are trying to build serial Meep (the default in the configure script) without specifying
|
No, this essense of this bug is that this error appears even if meep is built with Please, reopen this bug. |
These lines are at the very bottom of this file, and there are no |
See #2742 |
I got the follwing error after running
make
h5file.cpp: In member function ‘void meep::h5file::write_chunk(int, const size_t*, const size_t*, float*)’:
h5file.cpp:688:16: error: ‘H5T_NATIVE_FLOAT’ was not declared in this scope
688 | H5T_NATIVE_FLOAT, data);
| ^~~~~~~~~~~~~~~~
h5file.cpp: In member function ‘void meep::h5file::write_chunk(int, const size_t*, const size_t*, double*)’:
h5file.cpp:694:16: error: ‘H5T_NATIVE_DOUBLE’ was not declared in this scope
694 | H5T_NATIVE_DOUBLE, data);
| ^~~~~~~~~~~~~~~~~
h5file.cpp: In member function ‘void meep::h5file::read_chunk(int, const size_t*, const size_t*, float*)’:
h5file.cpp:829:15: error: ‘H5T_NATIVE_FLOAT’ was not declared in this scope
829 | H5T_NATIVE_FLOAT, data);
| ^~~~~~~~~~~~~~~~
h5file.cpp: In member function ‘void meep::h5file::read_chunk(int, const size_t*, const size_t*, double*)’:
h5file.cpp:835:15: error: ‘H5T_NATIVE_DOUBLE’ was not declared in this scope
835 | H5T_NATIVE_DOUBLE, data);
| ^~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:660: h5file.lo] Error 1
make[4]: Leaving directory '/home/mk/Downloads/meep-1.19.0/src'
make[3]: *** [Makefile:721: all-recursive] Error 1
make[3]: Leaving directory '/home/mk/Downloads/meep-1.19.0/src'
make[2]: *** [Makefile:506: all] Error 2
make[2]: Leaving directory '/home/mk/Downloads/meep-1.19.0/src'
make[1]: *** [Makefile:515: all-recursive] Error 1
make[1]: Leaving directory '/home/mk/Downloads/meep-1.19.0'
make: *** [Makefile:422: all] Error 2
The text was updated successfully, but these errors were encountered: