I'm a beginner in V-Rep and I'm trying to compile "simpleTest.cpp" file to see the best Visual Studio configuration before working on more difficult projects.
- I've created a VS project with a "simpleTest.cpp" file and I've included "b0RemoteApi.h" and "b0RemoteApi.cpp" files
- then I've included "...msgpack-c/include" and "...blueZero/include" paths with the follow procedure: Project properties -> C/C++ -> Additional Include Directories -> paths
- finally I've linked blueZero library with the follow procedure: I've added the b0.lib's path in Project properties -> linker -> Additional Library Directories and then I've added "b0.lib" dependency in Project properties -> linker -> Input -> Additional Dependencies
- The first problem was related to the dependencies with the Boost library: I solved this problem downloading the library, although I don't know if this was a good choice.
- The second problem is related to the "config.h" file. In fact the compiler point out 4 errors:
- E1696 ----- cannot open source file "b0/config.h" --------------------------------------- File: b0.h
- E2512 ----- the argument to a feature-test macro must be a simple identifier --------------- File: config.hpp (of the boost library)
- C1083 ----- cannot open include file: "b0/config.h": No such file or directory ----------------- File: b0.h
- C1083 ----- cannot open include file: "b0/config.h": No such file or directory ----------------- File: b0.h
Thanks in advance