Skip to content
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

MacOS issue with SERIALBOX_ENABLE_FORTRAN ON #246

Open
jdahm opened this issue Sep 8, 2020 · 3 comments
Open

MacOS issue with SERIALBOX_ENABLE_FORTRAN ON #246

jdahm opened this issue Sep 8, 2020 · 3 comments

Comments

@jdahm
Copy link

jdahm commented Sep 8, 2020

Currently fighting this issue:

[ 89%] Linking Fortran shared library libSerialboxFortran.dylib
[ 89%] Built target SerialboxFortranStatic
Undefined symbols for architecture x86_64:
  "_serialboxFortranSavepointAddMetainfoInt64", referenced from:
      ___m_serialize_MOD_fs_add_savepoint_metainfo_l in m_serialize.f90.o
  "_serialboxFortranSavepointGetMetainfoInt64", referenced from:
      ___m_serialize_MOD_fs_get_savepoint_metainfo_l in m_serialize.f90.o
  "_serialboxFortranSerializerAddFieldMetainfoInt64", referenced from:
      ___m_serialize_MOD_fs_add_field_metainfo_l in m_serialize.f90.o
  "_serialboxFortranSerializerAddMetainfoInt64", referenced from:
      ___m_serialize_MOD_fs_add_serializer_metainfo_l in m_serialize.f90.o
  "_serialboxFortranSerializerGetFieldMetainfoInt64", referenced from:
      ___m_serialize_MOD_fs_get_field_metainfo_l in m_serialize.f90.o
  "_serialboxFortranSerializerGetMetainfoInt64", referenced from:
      ___m_serialize_MOD_fs_get_serializer_metainfo_l in m_serialize.f90.o
ld: symbol(s) not found for architecture x86_64
@jdahm
Copy link
Author

jdahm commented Sep 8, 2020

@havogt did changing long to std::int64_t in the signature cause this?

@havogt
Copy link
Collaborator

havogt commented Oct 7, 2020

Sorry, I forgot about this. I guess that's related. Unfortunately, I don't have a Mac to test. Maybe you (=Vulcan) could contribute a github action for testing on MacOS? Does @ofuhrer use serialbox on the Mac as well?

@ofuhrer
Copy link
Contributor

ofuhrer commented Oct 8, 2020

I gave up after not being able to compile bare-metal and am now using Serialbox inside a container on my Mac.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants