@HISEnberg Hi, thanks for the quick response !
My filter was indeed inside ProjectName\DspNetworks\ThirdParty\src and I had a reference to it in my node header.
I'm not sure if my first post was clear so here is a step by step to reproduce my issue :
Create a new hise project
Create c++ third party node template
Compile DPS node as dll
Create a src folder in thirdParty
Create test_filter.cpp and test_filter.h
// .cpp
#include "test_filter.h"
namespace TestFilter
{
Test::Test(float param){
test_float = param;
}
}
/// .h
namespace TestFilter {
class Test {
public:
float test_float;
Test(float param);
};
}
Inside the template, add #include "src/test_filter.h" at the beginning and TestFilter::Test t(0.5); in prepare
Now if I try to build inside visual studio code I get a linker error saying that it can't find the definition of my constructor.
If I add the dependency to test.h and test.cpp, it works, but only once, and if I retry to compile the dps network as dll I have to re-add the filters to my dependencies.
And if I go back to hise and try to export as a standalone app, I have the linker error again.
I hope this make my issue more clear and sorry if it wasn't on my first message