C++ code of my compiler There is only one .cpp file in my Win32 console project. I am facing these LNK compile-time errors in my code. I am working on Visual Studio 12. I have tried a lot of things but nothing seems to have solved my issue.
I am writing code for a compiler that was originally built in Java and now the task at hand is to convert it in C++. I am looking forward to some useful solutions. Can anyone help me with this task?
From the documentation:
unresolved external symbol 'symbol' referenced in function 'function'
The compiled code for function makes a reference or call to symbol, but that symbol isn't defined in any of the libraries or object files specified to the linker.
This error message is followed by fatal error LNK1120. You must fix all LNK2001 and LNK2019 errors to fix error LNK1120.
You are referencing something not in the file that you are not linking to.