Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Wednesday, November 4, 2015 7:39 AM
For example I got errors when trying to use network drive called Z: as home folder, but in local drives it works.
This is the message I got
Error 1 error LNK1104: cannot open file 'Z:\oo-modelling-programming\test2\Debug\cpp-lang-console-project-11.exe' Z:\oo-modelling-programming\test2\cpp-lang-console-project-11\LINK cpp-lang-console-project-11
All replies (1)
Thursday, November 5, 2015 6:38 AM ✅Answered
Hi Centria Ilkka Kujala,
Thank you for posting in MSDN forum.
I really understand the inconvenience it brings to you. I will try to help you solve this problem.
>>I got errors when trying to use network drive called Z: as home folder, but in local drives it works.
When you try to load the project from network drive, there may be some network connection problem or the path was not found problem.
>> Error 1 error LNK1104
This particular issue is caused by specifying a dependency to a lib file that had spaces in its path. The path needs to be surrounded by quotes for the project to compile correctly
There is one method:
On the Configuration Properties -> Linker -> Input tab of the project’s properties, there is an Additional Dependencies property. This issue was fixed by changing this property from:
C:\Program Files\sofware sdk\lib\library.lib To:" C:\Program Files\sofware sdk\lib\library.lib"
Please take a reference at the thread below:
Besides, I suggest you can save the project on your local machine and reopen it to see any error message, it can narrow down the network connection problem.
Best Regards,
Wen Xu
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.