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

Troubles building solution in Visual Studio 2017 #14

Open
CDragu opened this issue May 20, 2017 · 1 comment
Open

Troubles building solution in Visual Studio 2017 #14

CDragu opened this issue May 20, 2017 · 1 comment

Comments

@CDragu
Copy link

CDragu commented May 20, 2017

Hi,

I am trying to build this project in order to study it. At the moment I have this error and some other ones that have the same code.

Error LNK2019 unresolved external symbol __imp_GetVJDStatus referenced in function "public: static int __cdecl vJoyCtrl::vJoyAttach(class CMogaSerialMain *,bool)" (?vJoyAttach@vJoyCtrl@@SAHPEAVCMogaSerialMain@@_N@Z)

Can you give me some direction to how are you using the code. Maybe going with VS2017 wasn't the best idea?

@Zel-os
Copy link
Owner

Zel-os commented May 21, 2017

I built MogaSerial using VS2010 on a system running Windows 7, but I didn't use any fancy aspects of Visual Studio so I don't imagine VS2017 would cause any problems on its own.

If library dependencies happened to get cleared, I'm linking to these: vJoy\vJoyInterface.lib;Setupapi.lib;Xinput.lib

I see that vJoy got updated, and it's possible the API changed somehow. I built using version 2.1.6.

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