rapidcheck icon indicating copy to clipboard operation
rapidcheck copied to clipboard

GTest integration example outdated?

Open fkromer opened this issue 7 years ago • 5 comments

When I build the GTest integration example in https://github.com/emil-e/rapidcheck/tree/master/examples/gtest I get an error:

florian@e330:~/ws_github/rapidcheck/examples$ mkdir build && cd build && cmake -DRC_ENABLE_GTEST=ON .. && make gtest_integration
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/florian/ws_github/rapidcheck/examples/build
Scanning dependencies of target gtest_integration
[ 50%] Building CXX object gtest/CMakeFiles/gtest_integration.dir/main.cpp.o
/home/florian/ws_github/rapidcheck/examples/gtest/main.cpp:2:30: fatal error: rapidcheck/gtest.h: Datei oder Verzeichnis nicht gefunden

Is setting the target_include_directories(...) probably outdated?

fkromer avatar Apr 07 '18 18:04 fkromer

I've been very busy lately so I'm unable to look into this right now, a PR would be very appreciated if you can figure this out.

emil-e avatar May 15 '18 07:05 emil-e

@emil-e Probably I'll find some time soon. I began to create some workshop material for RapidCheck until I was blocked by this issue. As soon as priorities allow it I'll PR.

fkromer avatar May 15 '18 07:05 fkromer

@fkromer That sounds great. Sorry for the late reply, busy life leads to side projects being deprioritized.

emil-e avatar May 15 '18 08:05 emil-e

@emil-e W.r.t. workshop I was inspired by libfuzzer-workshop which is a really good workshop for learning how to start using libfuzzer. As soon as the rapidcheck workshop has an acceptable state I will make it public. If you think making it public earlier to allow contribution makes sense let me know.

fkromer avatar May 15 '18 09:05 fkromer

@emil-e I could not work on it the last months. But probably some people are interested in collaboration to get it done faster: workshop_rapidcheck

fkromer avatar Jun 02 '18 09:06 fkromer