Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Windows compile #127

Open
grendo opened this issue May 7, 2017 · 4 comments
Open

Windows compile #127

grendo opened this issue May 7, 2017 · 4 comments

Comments

@grendo
Copy link

grendo commented May 7, 2017

Hi, interested it using the lib to write a c# client via swig. Can you give a quick guide on building on windows ?

@yasserf
Copy link
Contributor

yasserf commented May 7, 2017

Hey! Thats awesome! Unfortunately I can't right now (just moved towards using a mac) but will try to get back to you on this ASAP sometime this week!

@grendo
Copy link
Author

grendo commented May 11, 2017 via email

@Snow-Okami
Copy link

I would also like to know proper instructions to building in windows. I have tried using cmake but it fails for various reasons, no C++11 support for the compiler (MSVC 15 - Visual Studio 2017) and if enable that to work in the cmake file with: set (CMAKE_CXX_STANDARD 11) it then complains about the path to Poco. I'm new to using libraries with C++ and things vary so wildly from Unix to Windows that it really makes it hard.

The error I am stuck with now:

CMake Error: The source directory "C:/Users/User/Downloads/deepstream.io-client-cpp-master/POCO_INCLUDE_DIR=C:/local/poco-1.7.8p3/Foundation/include/Poco" does not exist.

I used this command: cmake -G "Visual Studio 15" POCO_INCLUDE_DIR="C:\local\poco-1.7.8p3\Foundation\include\Poco"

I also tried building it from making my own VS C++ project linking it manually to Poco and it ALMOST works but it seems there is a lexer.h file that is generated, that I don't know how to generate without cmake that it depends upon that causes the build to fail.

Any help would be greatly appreciated. Thank you.

@tnie
Copy link

tnie commented Jan 30, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants