Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intercept plugin template - Links errors #5

Open
SarcelSkaia opened this issue Apr 20, 2019 · 3 comments
Open

Intercept plugin template - Links errors #5

SarcelSkaia opened this issue Apr 20, 2019 · 3 comments

Comments

@SarcelSkaia
Copy link

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 dedmen transferred this issue from intercept/intercept Apr 20, 2019
@dedmen
Copy link
Member

dedmen commented Apr 20, 2019

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
Copy link
Author

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
Copy link
Member

dedmen commented Apr 21, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants