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

libuihook compilation fails on Windows #30

Closed
Djiit opened this issue Sep 18, 2017 · 6 comments
Closed

libuihook compilation fails on Windows #30

Djiit opened this issue Sep 18, 2017 · 6 comments

Comments

@Djiit
Copy link
Collaborator

Djiit commented Sep 18, 2017

Hello there,

When running cmake . in the libuihook folder, I get this error :

PS D:\_DEV\electrontest\node_modules\iohook\libuiohook> cmake .
-- Building for: Visual Studio 15 2017
-- The C compiler identification is MSVC 19.10.25019.0
-- The CXX compiler identification is MSVC 19.10.25019.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error: File D:/_DEV/electrontest/node_modules/iohook/libuiohook/include/config.h.in does not exist.
CMake Error at CMakeLists.txt:97 (configure_file):
  configure_file Problem configuring file

Is there any config.h file that could have been omitted in the repo ?

Note : In cloned this repo in my node_modules folder.

Thanks

@Djiit
Copy link
Collaborator Author

Djiit commented Sep 19, 2017

Ok nevermind, this was really a compilation issue. On windows, one should use e.g. MSYS2 to use autoconf and cmake and generate that config.h file. Closing this for now.

@Djiit Djiit closed this as completed Sep 19, 2017
@tobeorla
Copy link

@Djiit could you share the resulting .dll file?

@AjManoj
Copy link

AjManoj commented Jan 31, 2018

@tobeorla were you able to fix this

@tobeorla
Copy link

@AjManoj Yes, i just switched to another working lib.

@Djiit
Copy link
Collaborator Author

Djiit commented Feb 12, 2018 via email

@comod
Copy link

comod commented Mar 3, 2018

@Djiit can you explain how do you solved this more detailed? Thanks

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

4 participants