My name is Hector Perez. I am an international student from Guatemala studying Computer Science and Music. I am very interested in using OpenNN for a Computer-Music project. I have tried today to create a Visual C++ project that has the appropriate dependencies (as stated in http://www.opennn.net/documentation/building_opennn.html).
However, I think after some attempts, I realized I was probably doing something wrong. I include my procedure after the end of this message. I would highly appreciate it if you can point me to a tutorial where it performs a project build step by step.
My procedure:
- Created a C++ project in Visual Studio.
- Right clicked the application folder in the Solution Explorer,
- Went to Properties under VC++ Directories.
- Copied the full paths for the dependencies into 'Include Directories'.
- I built the project, but errors occur - as if the files are not found.
- They are found if I explicitly use #include, but that's probably not the intent.
This is the kind of error I get. (JUST WAY BIGGER ! )
... 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 ==========