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

Error compiling #4

Closed
thx4ever opened this issue Dec 13, 2021 · 4 comments
Closed

Error compiling #4

thx4ever opened this issue Dec 13, 2021 · 4 comments

Comments

@thx4ever
Copy link

I get those errors when try to link with Visual Studio 2019 or 2022

KytyScripts.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl Kyty::Emulator::EmulatorSubsystem::Init(class Kyty::Core::SubsystemsList *)" (?Init@EmulatorSubsystem@Emulator@Kyty@@UEAAXPEAVSubsystemsList@Core@3@@z)
2>KytyScripts.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl Kyty::Emulator::EmulatorSubsystem::Destroy(class Kyty::Core::SubsystemsList *)" (?Destroy@EmulatorSubsystem@Emulator@Kyty@@UEAAXPEAVSubsystemsList@Core@3@@z)
2>KytyScripts.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl Kyty::Emulator::EmulatorSubsystem::UnexpectedShutdown(class Kyty::Core::SubsystemsList *)" (?UnexpectedShutdown@EmulatorSubsystem@Emulator@Kyty@@UEAAXPEAVSubsystemsList@Core@3@@z)

Regards

@InoriRus
Copy link
Owner

What compiler and linker do you use?
Open CMakeCache.txt in your build folder and check values CMAKE_CXX_COMPILER and CMAKE_LINKER
There should be clang-cl.exe and lld-link.exe

@gandalfthewhite19890404
Copy link

Any chances for CI (Appveyor or Github Actions), it gonna be easier to get compiled binaries?

@InoriRus
Copy link
Owner

Appveyor CI is now supported

@thx4ever
Copy link
Author

OK i managed to compile with Visual Studio clang version 12, thanks. closing...

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

3 participants