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

Error when Linking CXX executable ../bin/create_calibration_file_from_exif #239

Open
weders opened this issue Apr 23, 2019 · 1 comment
Open

Comments

@weders
Copy link

weders commented Apr 23, 2019

When compiling TheiaSfM, I get the following error when Linking CXX executable ../bin/create_calibration_file_from_exif

undef: __ZN16OpenImageIO_v2_08ImageBufC1ENS_11string_viewEiiPNS_10ImageCacheEPKNS_9ImageSpecE
undef: __ZN16OpenImageIO_v2_010ParamValue12init_noclearENS_7ustringENS_8TypeDescEiNS0_6InterpEPKvb
undef: _ZNK16OpenImageIO_v2_09ImageSpec20get_string_attributeENS_11string_viewES1
undef: __ZN16OpenImageIO_v2_09ImageSpec14find_attributeENS_11string_viewENS_8TypeDescEb
undef: __ZNK16OpenImageIO_v2_08ImageBuf4specEv
undef: __ZNK16OpenImageIO_v2_09ImageSpec17get_int_attributeENS_11string_viewEi
undef: __ZNK16OpenImageIO_v2_09ImageSpec19get_float_attributeENS_11string_viewEf
undef: __ZN16OpenImageIO_v2_010ParamValue11clear_valueEv
undef: __ZN16OpenImageIO_v2_08ImageBufD1Ev
Undefined symbols for architecture x86_64:
"OpenImageIO_v2_0::ImageBuf::ImageBuf(OpenImageIO_v2_0::string_view, int, int, OpenImageIO_v2_0::ImageCache*, OpenImageIO_v2_0::ImageSpec const*)", referenced from:
_main in lto.o
"OpenImageIO_v2_0::ParamValue::init_noclear(OpenImageIO_v2_0::ustring, OpenImageIO_v2_0::TypeDesc, int, OpenImageIO_v2_0::ParamValue::Interp, void const*, bool)", referenced from:
_main in lto.o
"OpenImageIO_v2_0::ImageSpec::get_string_attribute(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::string_view) const", referenced from:
_main in lto.o
"OpenImageIO_v2_0::ImageSpec::find_attribute(OpenImageIO_v2_0::string_view, OpenImageIO_v2_0::TypeDesc, bool)", referenced from:
_main in lto.o
"OpenImageIO_v2_0::ImageBuf::spec() const", referenced from:
_main in lto.o
"OpenImageIO_v2_0::ImageSpec::get_int_attribute(OpenImageIO_v2_0::string_view, int) const", referenced from:
_main in lto.o
"OpenImageIO_v2_0::ImageSpec::get_float_attribute(OpenImageIO_v2_0::string_view, float) const", referenced from:
_main in lto.o
"OpenImageIO_v2_0::ParamValue::clear_value()", referenced from:
_main in lto.o
"OpenImageIO_v2_0::ImageBuf::~ImageBuf()", referenced from:
_main in lto.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/create_calibration_file_from_exif] Error 1
make[1]: *** [applications/CMakeFiles/create_calibration_file_from_exif.dir/all] Error 2
make: *** [all] Error 2

Has anyone an idea what might be the issue here?

Thanks!

@vfragoso
Copy link
Contributor

I think you may have two different versions of OpenImageIO?

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

2 participants