- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm using Parallel Studio XE 2013 and VS 2012 RTM. It seems Intel C++ linker, unlike MSVC, does not accept relative paths in additional dependencies specifications for .lib files.
For example, in my project I have set the following project properties:
Under Linker -> Input -> Additional Dependencies: folder1/lib1.lib; folder2/lib2.lib; etc
And under Linker -> General -> Additional Library Directories: C:\rootfolder
Such that "C:\rootfolder\folder1\lib1.lib" would be the full lib path.
However, Intel C++ gives "lib file not found" messages when compiling. It only works if I put each subfolder under the Additional Library Directories and keep the filenames only in Additional Dependencies.
I would suggest it to behave the same way as MSVC linker.
Thanks,
Ricardo Costa
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mark,
Sorry for taking so long. Here is the test case attached. TestProject project folder contains another folder GL\lib with the glut32.lib referenced in the project as follows:
Under Linker -> Input -> Additional Dependencies: lib\glut32.lib
And under Linker -> General -> Additional Library Directories: $(ProjectDir)\GL
It works and compile fine with MSVC, but when you switch to ICL, it throws an error that the .lib file could not be found.
Sergey, I couldn't make it work with your workaround, i.e. changing it to ..\GL\lib\glut32.lib in the attached test project. The same error happens.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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