I got
------ Rebuild All started: Project: LOS, Configuration: Release x64 ------
main.cpp
main.obj : error LNK2001: unresolved external symbol "void __cdecl InfereceWithBayesNet(void)" (?InfereceWithBayesNet@@YAXXZ)
main.obj : error LNK2001: unresolved external symbol "void __cdecl CreateNetwork(void)" (?CreateNetwork@@YAXXZ)
main.obj : error LNK2001: unresolved external symbol "void __cdecl InferenceWithInfluenceDiagram(void)" (?InferenceWithInfluenceDiagram@@YAXXZ)
main.obj : error LNK2001: unresolved external symbol "void __cdecl UpgradeToInfluenceDiagram(void)" (?UpgradeToInfluenceDiagram@@YAXXZ)
main.obj : error LNK2001: unresolved external symbol "void __cdecl ComputeValueOfInformation(void)" (?ComputeValueOfInformation@@YAXXZ)
C:\Users\Peter Cai\Documents\Visual Studio 2012\Projects\DBN\x64\Release\LOS.exe : fatal error LNK1120: 5 unresolved externals
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
My setting:
Additional Invlude Directories: C:\Users\Peter Cai\Documents\libs\smile_vc11_x64
Additional Library Directories: C:\Users\Peter Cai\Documents\libs\smile_vc11_x64
Additional Dependencies:
What did I do wrong? Thanks.
Unsolved External Symbols - Window 7 x64 Visual Studio 2012
-
- Site Admin
- Posts: 1417
- Joined: Mon Nov 26, 2007 5:51 pm
Re: Unsolved External Symbols - Window 7 x64 Visual Studio 2
Your LNK2001's are not related to SMILE. We definitely don't have a function called "InfereceWithBayesNet".What did I do wrong? Thanks.
Re: Unsolved External Symbols - Window 7 x64 Visual Studio 2
I've seen that typo before, it's tutorial code.
What does your main code look like Peter?
Martijn
What does your main code look like Peter?
Martijn
-
- Site Admin
- Posts: 1417
- Joined: Mon Nov 26, 2007 5:51 pm
Re: Unsolved External Symbols - Window 7 x64 Visual Studio 2
Tutorial or not, it's not in the library itself, hence I suspect a problem not related to SMILE.Martijn wrote:I've seen that typo before, it's tutorial code.
Re: Unsolved External Symbols - Window 7 x64 Visual Studio 2
Thanks, Shooltz and Martijn. I forgot to include other functions in the tutorial into the project, which caused the errors. The libraries actually work well.