I am not the best with C++, and I am being forced to use Visual Studio 2010 which I am not very comfortable with, so excuse my lack of knowledge.
I am attempting to compile code that was supplied to me by TI to operate a micro controller... getting the following errors:
1 2 3 4 5 6 7
1>DirDialog.obj : error LNK2019: unresolved external symbol __imp__MakeSureDirectoryPathExists@4 referenced in function "protected: void __thiscall CDlgWnd::OnOpen(void)" (?OnOpen@CDlgWnd@@IAEXXZ)
1>TabNFC.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall CDirDialog2::~CDirDialog2(void)" (??1CDirDialog2@@UAE@XZ) referenced in function "protected: void __thiscall CTabNFC::OnNFCNewDname(void)" (?OnNFCNewDname@CTabNFC@@IAEXXZ)
1>TabNFC.obj : error LNK2019: unresolved external symbol "public: int __thiscall CDirDialog2::DoBrowse(void)" (?DoBrowse@CDirDialog2@@QAEHXZ) referenced in function "protected: void __thiscall CTabNFC::OnNFCNewDname(void)" (?OnNFCNewDname@CTabNFC@@IAEXXZ)
1>TabNFC.obj : error LNK2019: unresolved external symbol "public: __thiscall CDirDialog2::CDirDialog2(void)" (??0CDirDialog2@@QAE@XZ) referenced in function "protected: void __thiscall CTabNFC::OnNFCNewDname(void)" (?OnNFCNewDname@CTabNFC@@IAEXXZ)
1>.\Debug\RFIDread.exe : fatal error LNK1120: 4 unresolved externals
1>
1>Build FAILED.
From my limited knowledge I thought it was just a missing library... but only one came with the package, I added it to the libraries folder, didn't help. I added it in the "Additional Dependencies" option, get a fatal error, cant read it. Believe it may be some other issue...
Although you have provided the header to the functions you are using it does look as though you are not providing the library i.e. .lib file for these functions.
Why don't you locate where these files are located on your PC and ensure that the filepaths are on your PATH as @coder777 has suggested. Once the compiler and linker can find the required files all will be well.