Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Neil_B_
Beginner
57 Views

LNK1104 When trying to build on Windows network share

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
57 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.

Reply