Run cucumber from the examples/Calc, not from the project root as described in the readme instructions ("cd examples/Calc && cucumber ."), otherwise you'll still get undefined definitions, even with cucumber-ruby 2.4.
Steps to Reproduce (for bugs)
Install ubuntu 18.04
Install dependencies with apt (boost, qt, g++, cmake, gtest, ruby)
Install bundler and cucumber-ruby with gem package manager (gem install bundler cucumber)
Follow the readme instructions to compile cucumber-cpp and examples
I struggled for hours to run cucumber-cpp examples. What I am trying to accomplish? This issue to be fixed, and let other developers know (by having the doc changed) that cucumber-cpp does not work with the latest version of cucumber-ruby, so they don't waste hours of their time.
Your Environment
Version used: cucumber-cpp v0.5.1-g79e92de
Operating System and version: Ubuntu 18.04 LTS Server
Summary
Cucumber-cpp does not work with the latest cucumber-ruby version (3.1)
Expected Behavior
Cucumber-cpp works with the latest cucumber-ruby version.
Current Behavior
Compiling cucumber-cpp and running the examples+cucumber throw "undefined definition" messages.
Possible Solution
Workaround:
Steps to Reproduce (for bugs)
build/examples/Calc/BoostCalculatorSteps >/dev/null & cucumber examples/Calc
Context & Motivation
I struggled for hours to run cucumber-cpp examples. What I am trying to accomplish? This issue to be fixed, and let other developers know (by having the doc changed) that cucumber-cpp does not work with the latest version of cucumber-ruby, so they don't waste hours of their time.
Your Environment