intercept/intercept-plugin-template

Intercept plugin template - Links errors

Opened this issue · 3 comments

Hi, i have clone and make the source with cmake 3.14.2, configured with visual studio 2017. I try to build template-plugin but i had missing headers.I fix it with copy and paste client & host folder.
I try to build again and now i have some links errors.
links_error
Thanks

Your compiler is omitting things because it thinks they are not used. And then trips over itself when it finds out they are indeed needed.

but i had missing headers

which?

Also that is not the correct include path in your screenshot. Should just be
#include <intercept.hpp> Just like here:
https://github.com/intercept/intercept-plugin-template/blob/master/src/main.cpp#L1

Have you tried compiling x64? Barely anyone uses 32bit anymore.

This is apprently going wrong:
https://github.com/intercept/intercept/blob/f283e2fd3ce1024e496c6c17eb27f81693f05ca8/src/client/headers/client/eventhandlers.hpp#L17

When i build the 32bit version i fix the missing headers but there are same errors. I try to build x64 and i have several errors:
x64

What? Why are you building intercept core files?
They should not be built in a plugin. And the plugin-template doesn't include them.

Try not using cmake directly, but instead using the "Open Folder" feature of visual studio, and let it do the cmake stuff.