Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

icpc link error in Xcode 3.0 with Mac OSX 10.5

sdettrick
Beginner
274 Views
Hi,

I have OS X 10.5.2, Xcode 3.0, and Intel C++ 10.1.012 and MKL 10.0.2.018.

I have a code which compiles and links from the command line without errors, but when I try to compile/link with Xcode, the link step fails with two warnings and one error:
W: warning, duplicate dylib /opt/intel/cce/10.1.012/lib/libintlc.dylib
W: symbol(s) not found
E: Command /usr/bin/icc-10.1-base/bin/icpc failed with error code 1

I have compared the project.pbxproj file and my old makefile, and verified that for every -L... and -Wl,rpath,... in my old makefile there is a matching LIBRARY_SEARCH_PATHS and LD_RUNPATH_SEARCH_PATHS entry, respectively.

Also the libraries linked in the makefile with -l... have a matching entry in the OTHER_LDFLAGS entry of the project.pbxproj file.

I use the 64-bit compiler/MKL in both cases, and in the Xcode case, I set the architecture to be x86_64.

Any suggestions?

Thanks,
Sean

0 Kudos
1 Reply
Dale_S_Intel
Employee
274 Views
I don't know of any issues like this offhand. I would recommend that you either post an example here or at submit an issue with an example at premier.intel.com so we can reproduce the problem.

Thanks!

Dale

0 Kudos
Reply