intercept / intercept-plugin-template

A template plugin for Intercept
MIT License
1 stars 6 forks source link

Intercept plugin template - Links errors #5

Open SarcelSkaia opened 5 years ago

SarcelSkaia commented 5 years ago

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

dedmen commented 5 years ago

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

SarcelSkaia commented 5 years ago

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

dedmen commented 5 years ago

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.