[Boost.Real] Testing Boost.Real in Visual Studio

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Boost.Real] Testing Boost.Real in Visual Studio

Boost - Dev mailing list
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

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Reply | Threaded
Open this post in threaded view
|

Re: [Boost.Real] Testing Boost.Real in Visual Studio

Boost - Dev mailing list
El mar., 28 ene. 2020 a las 12:07, Jai . via Boost (<[hidden email]>)
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
Reply | Threaded
Open this post in threaded view
|

Re: [Boost.Real] Testing Boost.Real in Visual Studio

Boost - Dev mailing list
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 <catch2/catch.hpp> 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 <[hidden email]> wrote:

>
> El mar., 28 ene. 2020 a las 12:07, Jai . via Boost (<[hidden email]>)
> 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
Reply | Threaded
Open this post in threaded view
|

Re: [Boost.Real] Testing Boost.Real in Visual Studio

Boost - Dev mailing list
If you run this line in the root of the project it should build:
https://github.com/BoostGSoC19/Real/blob/1ec47426297d61bc8a1e6d8e940d50ca926a41f9/.travis.yml#L61

On Wed, Jan 29, 2020, 11:38 Jai . <[hidden email]> wrote:

> 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 <catch2/catch.hpp> 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 <[hidden email]> wrote:
>
>>
>> El mar., 28 ene. 2020 a las 12:07, Jai . via Boost (<
>> [hidden email]>) 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
Reply | Threaded
Open this post in threaded view
|

Re: [Boost.Real] Testing Boost.Real in Visual Studio

Boost - Dev mailing list
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 <[hidden email]> on behalf of Damian Vicino via Boost <[hidden email]>
Sent: 30 January 2020 03:28
To: Jai . <[hidden email]>
Cc: Damian Vicino <[hidden email]>; [hidden email] <[hidden email]>
Subject: Re: [boost] [Boost.Real] Testing Boost.Real in Visual Studio

If you run this line in the root of the project it should build:
https://github.com/BoostGSoC19/Real/blob/1ec47426297d61bc8a1e6d8e940d50ca926a41f9/.travis.yml#L61

On Wed, Jan 29, 2020, 11:38 Jai . <[hidden email]> wrote:

> 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 <catch2/catch.hpp> 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 <[hidden email]> wrote:
>
>>
>> El mar., 28 ene. 2020 a las 12:07, Jai . via Boost (<
>> [hidden email]>) 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

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Reply | Threaded
Open this post in threaded view
|

Re: [Boost.Real] Testing Boost.Real in Visual Studio

Boost - Dev mailing list
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
<[hidden email]> wrote:

>
> 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

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost