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

Using lighter.hpp in Windows #3

Open
ghost opened this issue May 31, 2019 · 0 comments
Open

Using lighter.hpp in Windows #3

ghost opened this issue May 31, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented May 31, 2019

Hello,

I had a problem using lighter.hpp under Windows. The definition of mkdir in io.h seems different based on the OS.
Windows:

mkdir(char[] path)

Linux:

mkdir(char[] path, int mode)

Fix

I could fix it by changing

mkdir(fn_prefix.c_str(), 0777)

to

mkdir(fn_prefix.c_str())

in the lighter_impl_info.hpp. Now it compiles.

Regards

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

0 participants