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
Cross compile for windows not generating .lib file #391
Comments
It's generating static libraries ending in .a. You should set the |
Thanks for the response, I made BUILD_SHARED_LIBS=ON and now its generate dll file, I migrated the dll to windows and try to run basic example using libvnc server. but getting following error
IDE: Qt creator What could be the reason. |
Seems you're not correctly linking to the DLL. Try the .a. |
Sorry for the late replay, actually I have linked correctly, but still showing the same error, I have tried with shared library and static library. Also tried with library compiled on windows using VS-2013 and cross compiled from linux, but got same error. I have uploaded the project here, can you please check it. |
I am sure you will understand that the priorities for my free time are with other projects, sorry. I can provide general advice, but no debugging of other projects. I provide freelance services for that, though. |
Ok no problem I understand, do you any reference to pre-built libvnc server for windows. |
I can point you at our CI provider: https://ci.appveyor.com/project/bk138/libvncserver/branch/master |
I am using follwing command to cross compile libarary for windows
But it's not generating .lib library compatible with windows, I can see the example directory with exe file but the libarary generated is
libvncserver.a
notlibvncserver.lib
what could be the issue.The text was updated successfully, but these errors were encountered: