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

duplicate symbol in test_interpolation.cpp #2788

Closed
shimwell opened this issue Nov 28, 2023 · 0 comments · Fixed by #2789
Closed

duplicate symbol in test_interpolation.cpp #2788

shimwell opened this issue Nov 28, 2023 · 0 comments · Fixed by #2789
Labels

Comments

@shimwell
Copy link
Member

Bug Description

When compiling openmc with emcmake and with testing enabled an error with a duplicate symbol in test_interpolation.cpp was noticed.

wasm-ld: error: duplicate symbol: openmc::interpolate(gsl::span, gsl::span, double, openmc::Interpolation)

defined in CMakeFiles/test_interpolate.dir/test_interpolate.cpp.o
defined in ../../lib/libopenmc.a(filter_energyfunc.cpp.o)

Steps to Reproduce

See this comment for reproduce steps shimwell/openmc-online-demo#1 (comment)

Environment

ubuntu, emsdk:3.1.49, openmc develop branch

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

Successfully merging a pull request may close this issue.

1 participant