I want to be able to link statically to a juce project and be able to use all juce functionality (Windows only for now). I created a juce solution changed the target type to static .lib added in the include paths for headers for both modules and route juceLib (copied into project) folder. Hit build and sure enough tons of linker errors so I added the juce project as reference and hitting build starts juce compiling before my main project but I still get one linker error of
|Error|LNK2019|unresolved external symbol “public: static int __cdecl juce::JUCEApplicationBase::main(int,char const * * const)” (?main@JUCEApplicationBase@juce@@SAHHQEAPEBD@Z) referenced in function main|FromScratchCpp|C:\Data\Source\Repos\FromScratchCpp\App\Main.obj|1||
Any ideas on how to resolve. PS below is how I’m trying to setup my project. The reason for this is because it’s part of a much broader solution with many projects inside.