- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I try to use intel icx/icpx compiler with vs2022 and a cmake project. Unfortunately both OS without any success.
On Windows the compiler does not pass the cmake test, on linux I can compile my files, but not link.
icx want to link libraries from the root folder of the system:
ninja: error: '/libirng.a', needed by 'TestProject.so', missing and no known rule to make it
If I copy this library from /opt/intel/oneapi/compiler/latest/lib I will get the next of the next missing library.
I think it cannot be a good solution to copy all missing intel libraries into the root of the OS? I guess the library-names must come from some 'autolink' feature of the compiler since I didn't add them to the project. It looks like the 'HOME' or oneapi compiler path is missing in from of the lib?
Anyone here have an idea what is missing?
Already tried:
- adding environment var: "INTEL_ONEAPI_ROOT": "/opt/intel/oneapi"
- calling: setvars intel64
- add target_link_libraries in the makefile with the correct path and name / without path / without extension
- add link_directories in thew makefile with the correct path to the libs
all without any success.
Thanks for helping!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We need a small reproducer to investigate this further, please provide one that can demonstrate your issue with exact commands used.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page