-
-
Notifications
You must be signed in to change notification settings - Fork 232
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
Not working when compiled but working on visual studio #43
Comments
I think i need to make a dll of it on my release folder |
You cant build a dll of jwt-cpp, as its header only. |
you mean an openssl.dll ? |
Unless you linked your project against a static build of openssl (which is not the default as far as I know) there should be an openssl.dll somewhere. |
And on Linux, you don't have this problem ? |
On linux you also need to link against openssl but almost every linux system has it installed and unlike windows you dont need a copy of the dll per programm but it uses one per system. So its much less of a problem. |
I've tried many thing but, my project work only from Visual Studio, but when i start it from the exe it doesn't work, i don't understand why, i tested why nuget too, and linked some lib manually but it's the same |
@eric72 Is there some kind of error message or something the like. |
"failed to load public key: PEM_read_bio_PUBKEY failed" but it's working fine when i compile with Visual Studio |
@eric72 Are you sure it is actually compiled correctly ? |
Oh man you right, i found the problem thanks my friend i was focus somewhere else |
No problem, I am happy to help :) |
Hi,
Maybe you know where my problem come from, the verification for the token work when i test on visual studio, but then, when i've compiled and test from the compiled code, the token is always false.
Maybe some missed links for the compiled code and the function return an error or something ?
Thanks for you help.
The text was updated successfully, but these errors were encountered: