0

I get this error message when i try to build the project. I think there is a space in the path specified. I am completely new to VS 2012. This question may be simple, but. Kindly please tell me how do I remove the space in the path? (xxx\ _space_dllmain.obj). Or is there an other reason why my build fails

1 Answer 1

2

Have you read this ? As quoted in the documentation::

Another possible cause for LNK1181 is that a long file name with embedded spaces was not enclosed in quotation marks. In that case, the linker will only recognize a file name up to the first space, and then assume a file extension of .obj. The solution to this situation is to enclose the long file name (path plus file name) in quotation marks.

Sign up to request clarification or add additional context in comments.

2 Comments

Well the error was because of the space. I have fixed it. Thank you :)
Yeah, and I think I have provided you the same solution. So you can accept the answer if it helped you or is correct to the question you have asked.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.