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

LNK1104 When trying to build on Windows network share

Neil_B_
Beginner
290 Views

Hi,

 

 

I can't build when the output directory for my project is on a Windows network share.

The build log contains the following:

     1>LINK : : error LNK1104: cannot open file '\psf\Hacking\merely\Client Names\Blotter\Debug\Utils.lib'
     1>Done Building Project "\\psf\Hacking\merely\Client Names\Blotter\Utils\Utils.vcxproj" (Build target(s)) -- FAILED.

The LNK1104 error shows only one initial backslash in the output location. So it obviously can't do the output.   If I change the output directory to a drive the lib builds correctly.

Other than mapping a drive, which for other reasons I'd rather not do, does anyone know of a workaround?

Thanks

Neil

 

0 Kudos
1 Reply
Neil_B_
Beginner
290 Views

I managed to get a build by manually inserting the path but preceding it with a triple backslash. - \\\psf\Hacking... This means that my project is not portable though as I have to manually change the output directory for each subproject.

0 Kudos
Reply