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

Is there any plan for Windows support ? #57

Open
keshpa opened this issue Sep 13, 2017 · 12 comments
Open

Is there any plan for Windows support ? #57

keshpa opened this issue Sep 13, 2017 · 12 comments

Comments

@keshpa
Copy link

keshpa commented Sep 13, 2017

Hello,

I think the project is currently only meant for Mac and Linux distros. Is there a plan to include Windows in the mix ?

@zandbelt
Copy link
Contributor

zandbelt commented Sep 14, 2017

It is actually possible to compile for Windows today. There's (perhaps a bit stalled) WIP on a CMake environment here:
https://github.com/tgorol/cjose

@PierreAT
Copy link

PierreAT commented Oct 2, 2018

Hello
I try to compile for Windows but it's doesn't work.
The following link is actually not found:
https://github.com/zandbelt/cjose/tree/compile-for-windows
and that one: https://github.com/tgorol/cjose
does'nt compile with my LIBEAY32.lib version and I don't understand which check dir and library the project needs

@PierreAT
Copy link

PierreAT commented Oct 3, 2018

I try to compile the project:
https://github.com/zmartzone/cjose/tree/compile-for-windows
but it doesn't work: >LINK : fatal error LNK1104: cannot open file 'Source.def'
I use Visual studio 2017. Can you please tell me how I can compile and use the generated DLL.

@PierreAT
Copy link

PierreAT commented Oct 3, 2018

where I is the file "check.h"

@PierreAT
Copy link

PierreAT commented Oct 8, 2018

cjose.log
I try to compile the project:
https://github.com/zmartzone/cjose/tree/compile-for-windows
but it doesn't work: >LINK : fatal error LNK1104: cannot open file 'Source.def'
I use Visual studio 2017. I change the properties and change "Source.def" by "cjose.def" because Source.def don't exist in the project but the compilation doesn't work please see attached file.

@PierreAT
Copy link

PierreAT commented Oct 8, 2018

I use it but I would like to compile by myself to apply some modification if necessary

@PierreAT
Copy link

I try to use different version of Openssl LIB but none of it works. Can you send me your openssl LIB and include folder?

@mpsun
Copy link

mpsun commented Jul 20, 2019

The library now depends on <arpa/inet.h>, which apparently not even mingw provides.

Is there any chance we can get official support for Windows for this library?

Thanks.

@zandbelt
Copy link
Contributor

A Windows DLL is provided as part of an official commercial support subscription available via https://github.com/zmartzone/mod_auth_openidc#commercial-services

@mpsun
Copy link

mpsun commented Jul 22, 2019

Thanks. I managed to write a cmake build file for the project and patch the library to compile on Windows. Are you guys willing to add support for Windows and switch to cmake? I can make a couple of pull requests if you are interested.

A pre-compiled DLL unfortunately does not work for us for various reasons.

@zandbelt
Copy link
Contributor

see #103

@sergey-chernikov
Copy link

Also #119 which proved to build with VS2019. It's based on @tgorol's PR, but applied to the latest cjose source (6y.o., hah). Though I have doubts it will ever be merged.
BTW, is anyone interested in having C++ wrapper classes around this lib, or https://github.com/Thalhammer/jwt-cpp is good enough as a replacement?

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

5 participants