cucumber / cucumber-cpp

Support for writing Cucumber step definitions in C++
MIT License
306 stars 131 forks source link

Impossible to get the tests working (and probably the compilation) #199

Closed zadigus closed 8 months ago

zadigus commented 6 years ago

Hi, I carefully followed the procedure documented here: https://github.com/cucumber/cucumber-cpp. Indeed, I did

gem install bundler // For windows: gem install bundle
bundle install

and then

git submodule init
git submodule update
cmake -E make_directory build
cmake -E chdir build cmake -DCUKE_ENABLE_EXAMPLES=on -DCMAKE_INSTALL_PREFIX=C:/myPath ..
cmake --build build

Up to here I get zero errors and 7 warnings build.log.

When I now do

cmake --build build --target test

I get

Microsoft (R) Build Engine version 4.6.1590.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1009: Project file does not exist.
Switch: test.vcxproj

and when I do

cmake --build build --target features

I get test.log.

I am working under Windows 10 with Visual Studio 2010 and boost 1.57. Does anyone have a hint what I am doing wrong?

zadigus commented 6 years ago

Here you can also see my CMakeCache.txt

zadigus commented 6 years ago

I gave it a try again today. I downloaded the latest release you have (version 0.5) and got the following result with a

cmake --build build --target features

Is it fine? What can I do about

CUSTOMBUILD : warning : cannot load such file -- 2.5/gherkin_lexer_en [D:\workspace\cucumber-cpp-0.5\build\features.vcxproj]

?

ghost commented 5 years ago

I've tried building on Windows 10 with similar results.
This builds w/o GTest and Qt.

Environment

Steps

Setup Ruby, clone, etc. up to this point:

> cmake -E make_directory build
> cmake -E chdir build cmake -DCUKE_ENABLE_EXAMPLES=on -DCUKE_DISABLE_GTEST=ON -DCUKE_DISABLE_QT=ON ..
> cmake --build build
> cmake --build build --target test
> cmake --build build --target features

Output

CMakeCache.txt

configure.log build.log build_test.log build_features.log

2BlackCoffees commented 5 years ago

Hi, I have the same problem on Windows 10 cmake version 3.13.4 Visual Studio 2017 ruby 2.5.5p157 (2019-03-15 revision 67260) [x64-mingw32]

Any update ?

Thanks,

zadigus commented 5 years ago

I saw nothing new on that topic. I guess the project is dead ... I am now using SpecFlow instead.

syaifulnizamyahya commented 5 years ago

I have the same problem. No fix so far. Any hints?

jermus67 commented 3 years ago

Hello,

Support is being picked up again, but unfortunately for Windows users by an engineer who mainly develops on Linux. I do not have a windows build environment in place. Until I get around to install a windows build environment, or until another windows maintainer steps in I am afraid that support for building cucumber-cpp on Windows will be neigh to non-existent. I have no personal need for cucumber-cpp on Windows, so installing a Windows development environment and making cucumber-cpp work in that environment is not on the top of my to-do list.

Maybe some of the contributors to this issue are interested in stepping in to help maintain cucumber-cpp for Windows?

Kind regards, Jeroen Kouwer

ursfassler commented 8 months ago

Please reopen this issue if it is not resolved for you. In the case it works for you, I would appreciate if you can help others by doing one or more: