When I try to load static libraries using icpc -std=c++17 I get unresolved symbols from C++. In particular
Undefined symbols for architecture x86_64:
Can somebody tell me what is really going on here? When I try dynamic loading I get the message
ld: illegal text reloc in '__ZN10BasicUnitsC1EPKc' to '__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1Ev' for architecture x86_64
This constructor uses a const char* as an argument.
- Development Tools
- Intel® C++ Compiler
- Intel® Parallel Studio XE
- Intel® System Studio
- Parallel Computing
I get the same error. Under dynamic loading it occurs too. This bug renders the Intel compiler useless on my Apple MacPro. I suspect I won't be renewing the license if it is not fixed. I also suspect it is Xcode related to I can blame both Intel and Apple.
Guess what. I sent the original message too but I forgot. Since no one is bothering the answer I guess Intel doesn't care if I drop support for their license. Spending $1000 for something that doesn't work doesn't make sense.