WDL-OL - How to add common .h and .cpp
Hi Guys
I am trying to understand WDL-OL, specifically how to add some .cpp and .h files at the root level.
I created a new folder for these files in the WDL folder, and added the .cpp and .h files.
I created a new User Macro, $(NEW_INCLUDE) and added the folder reference using "..\..\WDL\new_folder" format.
Next I've added it to the C/C++\All Options"Additional Include Directories" in Project Manager/PropertySheet for the App, Vst and VSt3 projects.
In code, the compiler can see the files and Intellisense works just fine.
But I am getting unresolved external symbol errors LNK2019 (VS2013), when it tries to create my plugin.lib and exp.
I -think- instinctively I need to add something else to solve the Linker problem in the property sheet - do I add something to the Additional Library Directories in Linker\All Options?
Presently that reads:
$(WDL_PATH)\Iplug\build-win... etc.. as it comes supplied.
The "everything on top of everything else" multi-project structure is new to me, and it's probably this I am finding more confusing than it probably is, once more familiar with the framework.
A little help from the experienced would be appreciated.
Last edited by s9dd; 04-11-2017 at 12:32 PM.
Reason: \
|