[Boost.Real] Testing Boost.Real in Visual Studio
Hi, I would like to contribute to the upcoming Real library. I have cloned the library at BoostGSoC19/Real. I wanted to ask whether it is possible to directly test the library in Visual Studio, or do I have to use CMake to build the project first? Thanks, Jai
El mar., 28 ene. 2020 a las 12:07, Jai . via Boost (
Hi,
I would like to contribute to the upcoming Real library. I have cloned the library at BoostGSoC19/Real. I wanted to ask whether it is possible to directly test the library in Visual Studio, or do I have to use CMake to build the project first?
Thanks, Jai
Hi Jai, I never tried it in visual studio. We only tested in linux and osx, both cases using the cmake building scripts. Adding Laouen to the conversation in case he had any experience with VS. Best regards, Damian
Thanks for the response. I tried building using CMake in Linux in the test
directory, but on executing the 'make' command, it failed to include the
library header files including
El mar., 28 ene. 2020 a las 12:07, Jai . via Boost (
) escribió: Hi,
I would like to contribute to the upcoming Real library. I have cloned the library at BoostGSoC19/Real. I wanted to ask whether it is possible to directly test the library in Visual Studio, or do I have to use CMake to build the project first?
Thanks, Jai
Hi Jai, I never tried it in visual studio. We only tested in linux and osx, both cases using the cmake building scripts. Adding Laouen to the conversation in case he had any experience with VS. Best regards, Damian
If you run this line in the root of the project it should build:
https://github.com/BoostGSoC19/Real/blob/1ec47426297d61bc8a1e6d8e940d50ca926...
On Wed, Jan 29, 2020, 11:38 Jai .
Thanks for the response. I tried building using CMake in Linux in the test directory, but on executing the 'make' command, it failed to include the library header files including
into the test files. Does the path of the header files have to be set? Also, the root directory of the project also has a CMakeLists.txt file, so do I have to build the project there as well?
Thanks, Jai
On Wed, 29 Jan 2020 at 08:31, Damian Vicino
wrote: El mar., 28 ene. 2020 a las 12:07, Jai . via Boost (< boost@lists.boost.org>) escribió:
Hi,
I would like to contribute to the upcoming Real library. I have cloned the library at BoostGSoC19/Real. I wanted to ask whether it is possible to directly test the library in Visual Studio, or do I have to use CMake to build the project first?
Thanks, Jai
Hi Jai, I never tried it in visual studio. We only tested in linux and osx, both cases using the cmake building scripts. Adding Laouen to the conversation in case he had any experience with VS. Best regards, Damian
I tried running this command, and got this error:
```
CMake Error at CMakeLists.txt:10 (include):
include could not find load file:
CodeCoverage
```
is this to be installed separately before running CMake?
________________________________
From: Boost
Thanks for the response. I tried building using CMake in Linux in the test directory, but on executing the 'make' command, it failed to include the library header files including
into the test files. Does the path of the header files have to be set? Also, the root directory of the project also has a CMakeLists.txt file, so do I have to build the project there as well?
Thanks, Jai
On Wed, 29 Jan 2020 at 08:31, Damian Vicino
wrote: El mar., 28 ene. 2020 a las 12:07, Jai . via Boost (< boost@lists.boost.org>) escribió:
Hi,
I would like to contribute to the upcoming Real library. I have cloned the library at BoostGSoC19/Real. I wanted to ask whether it is possible to directly test the library in Visual Studio, or do I have to use CMake to build the project first?
Thanks, Jai
Hi Jai, I never tried it in visual studio. We only tested in linux and osx, both cases using the cmake building scripts. Adding Laouen to the conversation in case he had any experience with VS. Best regards, Damian
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
FYI, This is a top-post reminding people to please not top-post:
https://www.boost.org/community/policy.html#quoting
On Thu, 30 Jan 2020 at 10:29, Siddhant Jain via Boost
I tried running this command, and got this error:
``` CMake Error at CMakeLists.txt:10 (include): include could not find load file:
CodeCoverage ```
is this to be installed separately before running CMake?
If you look at the content of the repo https://github.com/BoostGSoC19/Real/tree/master you will see the cmake-modules are Git submodule. It means, you need to clone or pull recursively. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net
participants (4)
-
Damian Vicino
-
Jai .
-
Mateusz Loskot
-
Siddhant Jain