librelist archives

« back to archive

VS 2013 Gtest build fails

VS 2013 Gtest build fails

From:
Asmodehn Shade
Date:
2014-02-25 @ 02:51
Hello,

I recently forked entityx on github as I plan to use it as a base for an
entity system on a game I am currently working on

I have been trying to build it with VS2013, and entityx works, but gtest
fails.
I would really like to have tests running on latest windows compiler, but I
am not sure if googletest does support it yet or ever will ( the list of
actively supported compilers is not easy to find on their website ).
I tried gtest 1.7 without success too.

I was wondering if anyone had more information about it, or any advice
about what should be done here ( try gtest from trunk, fix gtest, change
test framework ? )

Thanks,
--
AlexV

Re: [entityx] VS 2013 Gtest build fails

From:
Alec Thomas
Date:
2014-02-25 @ 10:26
Hi AlexV, 

That's unfortunate news about googletest. If you do find a solution I'd 
appreciate a patch to merge back in to EntityX.

Alec 


On Tuesday, 25 February 2014 at 1:51 pm, Asmodehn Shade wrote:

> Hello,
> 
> I recently forked entityx on github as I plan to use it as a base for an
entity system on a game I am currently working on
> 
> I have been trying to build it with VS2013, and entityx works, but gtest fails.
> I would really like to have tests running on latest windows compiler, 
but I am not sure if googletest does support it yet or ever will ( the 
list of actively supported compilers is not easy to find on their website 
).
> I tried gtest 1.7 without success too.
> 
> I was wondering if anyone had more information about it, or any advice 
about what should be done here ( try gtest from trunk, fix gtest, change 
test framework ? )
> 
> Thanks,
> --
> AlexV

Re: [entityx] VS 2013 Gtest build fails

From:
Asmodehn Shade
Date:
2014-02-26 @ 07:41
Hi,

I checked a bit more, and this problem comes
from -DGTEST_USE_OWN_TR1_TUPLE=1.
In VS 2013 this needs to be set to 0.

The CMakeLists is a bit messy, I ll try to fix it for my purpose soon.
I ll send a push request when that is done...

I made a wrapper to use CMake always the way I want to :
https://github.com/asmodehn/wkcmake
I might convert it to that at some point later on, whenever i get time.

Cheers !

--
AlexV

Alexandre VINCENT

Asmodehn's Corp.
IT & OpenSource development
http://asmodehn.com


2014-02-25 19:26 GMT+09:00 Alec Thomas <alec@swapoff.org>:

>  Hi AlexV,
>
> That's unfortunate news about googletest. If you do find a solution I'd
> appreciate a patch to merge back in to EntityX.
>
> Alec
>
> On Tuesday, 25 February 2014 at 1:51 pm, Asmodehn Shade wrote:
>
> Hello,
>
> I recently forked entityx on github as I plan to use it as a base for an
> entity system on a game I am currently working on
>
> I have been trying to build it with VS2013, and entityx works, but gtest
> fails.
> I would really like to have tests running on latest windows compiler, but
> I am not sure if googletest does support it yet or ever will ( the list of
> actively supported compilers is not easy to find on their website ).
> I tried gtest 1.7 without success too.
>
> I was wondering if anyone had more information about it, or any advice
> about what should be done here ( try gtest from trunk, fix gtest, change
> test framework ? )
>
> Thanks,
> --
> AlexV
>
>
>

Re: [entityx] VS 2013 Gtest build fails

From:
Alec Thomas
Date:
2014-03-04 @ 02:06
FYI I just switched to using the Catch 
(https://github.com/philsquared/Catch) test framework on the 1.0.0 branch 
(https://github.com/alecthomas/entityx/tree/1.0.0). It is *much* lighter 
weight.


On Wednesday, 26 February 2014 at 6:41 pm, Asmodehn Shade wrote:

> Hi,
> 
> I checked a bit more, and this problem comes from -DGTEST_USE_OWN_TR1_TUPLE=1.
> In VS 2013 this needs to be set to 0.
> 
> The CMakeLists is a bit messy, I ll try to fix it for my purpose soon. 
> I ll send a push request when that is done...
> 
> I made a wrapper to use CMake always the way I want to : 
https://github.com/asmodehn/wkcmake
> I might convert it to that at some point later on, whenever i get time.
> 
> Cheers !
> 
> --
> AlexV
> 
> 
> Alexandre VINCENT
> 
> Asmodehn's Corp.
> IT & OpenSource development
> http://asmodehn.com 
> 
> 2014-02-25 19:26 GMT+09:00 Alec Thomas <alec@swapoff.org 
(mailto:alec@swapoff.org)>:
> > Hi AlexV, 
> > 
> > That's unfortunate news about googletest. If you do find a solution 
I'd appreciate a patch to merge back in to EntityX.
> > 
> > Alec
> > 
> > On Tuesday, 25 February 2014 at 1:51 pm, Asmodehn Shade wrote:
> > 
> > > Hello,
> > > 
> > > I recently forked entityx on github as I plan to use it as a base 
for an entity system on a game I am currently working on
> > > 
> > > I have been trying to build it with VS2013, and entityx works, but 
gtest fails.
> > > I would really like to have tests running on latest windows 
compiler, but I am not sure if googletest does support it yet or ever will
( the list of actively supported compilers is not easy to find on their 
website ).
> > > I tried gtest 1.7 without success too.
> > > 
> > > I was wondering if anyone had more information about it, or any 
advice about what should be done here ( try gtest from trunk, fix gtest, 
change test framework ? )
> > > 
> > > Thanks,
> > > --
> > > AlexV
> > 
> 

Re: [entityx] VS 2013 Gtest build fails

From:
Asmodehn Shade
Date:
2014-03-04 @ 09:46
Thanks for letting me know. I ll have a look sometimes.
But since my team found a way to use it that work for us now, i m not sure
when i ll be able to spend more time on it.
Anyway i ll let you know when that happens ;-)
On Mar 4, 2014 11:06 AM, "Alec Thomas" <alec@swapoff.org> wrote:

> FYI I just switched to using the 
Catch<https://github.com/philsquared/Catch>test framework on the 1.0.0
> branch <https://github.com/alecthomas/entityx/tree/1.0.0>. It is *much*
> lighter weight.
>
> On Wednesday, 26 February 2014 at 6:41 pm, Asmodehn Shade wrote:
>
> Hi,
>
> I checked a bit more, and this problem comes
> from -DGTEST_USE_OWN_TR1_TUPLE=1.
> In VS 2013 this needs to be set to 0.
>
> The CMakeLists is a bit messy, I ll try to fix it for my purpose soon.
> I ll send a push request when that is done...
>
> I made a wrapper to use CMake always the way I want to :
> https://github.com/asmodehn/wkcmake
> I might convert it to that at some point later on, whenever i get time.
>
> Cheers !
>
> --
> AlexV
>
> Alexandre VINCENT
>
> Asmodehn's Corp.
> IT & OpenSource development
> http://asmodehn.com
>
>
> 2014-02-25 19:26 GMT+09:00 Alec Thomas <alec@swapoff.org>:
>
>  Hi AlexV,
>
> That's unfortunate news about googletest. If you do find a solution I'd
> appreciate a patch to merge back in to EntityX.
>
> Alec
>
> On Tuesday, 25 February 2014 at 1:51 pm, Asmodehn Shade wrote:
>
> Hello,
>
> I recently forked entityx on github as I plan to use it as a base for an
> entity system on a game I am currently working on
>
> I have been trying to build it with VS2013, and entityx works, but gtest
> fails.
> I would really like to have tests running on latest windows compiler, but
> I am not sure if googletest does support it yet or ever will ( the list of
> actively supported compilers is not easy to find on their website ).
> I tried gtest 1.7 without success too.
>
> I was wondering if anyone had more information about it, or any advice
> about what should be done here ( try gtest from trunk, fix gtest, change
> test framework ? )
>
> Thanks,
> --
> AlexV
>
>
>
>
>