我叫Hector Perez。我是来自危地马拉的国际学生,学习计算机科学和音乐。我对将OpenNN用于计算机音乐项目非常感兴趣。我今天尝试创建一个具有适当依赖关系的Visual C ++项目(如http://www.opennn.net/documentation/building_opennn.html中所述)。
然而,我想经过一些尝试,我意识到我可能做错了什么。我在此消息结束后提供了我的程序。 如果您能指导我逐步执行项目构建的教程,我将非常感激。
我的程序:
这是我得到的那种错误。 (只是方式更大!)
... SimplePatternRecognition.obj : error LNK2019: unresolved external symbol "public: void __cdecl OpenNN::NeuralNetwork::save(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?save@NeuralNetwork@OpenNN@@QEBAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function main
1>...C:\Users\Owner\documents\visual studio 2017\Projects\SimplePatternRecognition\x64\Debug\SimplePatternRecognition.exe : fatal error LNK1120: 46 unresolved externals
1>Done building project "SimplePatternRecognition.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
答案 0 :(得分:0)
我解决了!
我在这个存储库中添加了示例代码以及将OpenNN添加到Visual Studio的步骤:查看README.md文件。
REPOSITORY:https://github.com/HectorGit/allMyOpenNNCode