gghyoo / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Need build scripts for Windows and Mac #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The initial release of Google Test contains autotools-based build scripts.
 We need to add support for Windows and Mac OS X. 

Original issue reported on code.google.com by shiq...@gmail.com on 2 Jul 2008 at 7:35

GoogleCodeExporter commented 9 years ago

Original comment by shiq...@gmail.com on 7 Jul 2008 at 9:58

GoogleCodeExporter commented 9 years ago
Make sure cygwin is covered as well.

Original comment by shiq...@gmail.com on 7 Jul 2008 at 10:01

GoogleCodeExporter commented 9 years ago
Hi,

I'm quite interested in this project. Maybe you could have cross plataform 
scripts by
using an specific tool like CMake. That would be nice for sure.

André Ferreira.

Original comment by dede...@gmail.com on 8 Jul 2008 at 12:33

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
We support building on Cygwin, Mac OS X, and Windows (using VS project files) 
now. 
Check out trunk or release-1.0.1.

Original comment by shiq...@gmail.com on 9 Jul 2008 at 10:12

GoogleCodeExporter commented 9 years ago
Just downloaded it today (9/10) and tried to build it on Windows with VS 2005. 
Only 
gtest and gtest_main projects can be built. All other projects failed with many 
linking errors. Sorry don't have much time debugging them.

Below is the errors from gtest_color_test_ projects:

Error   1   error LNK2019: unresolved external symbol "bool __cdecl 
testing::internal::ShouldUseColor(bool)" 
(?ShouldUseColor@internal@testing@@YA_N_N@Z) 
referenced in function _main    gtest_color_test_.obj   
Error   2   error LNK2019: unresolved external symbol "void __cdecl 
testing::InitGoogleTest(int *,char * *)" 
(?InitGoogleTest@testing@@YAXPAHPAPAD@Z) 
referenced in function _main    gtest_color_test_.obj   
Error   3   error LNK2019: unresolved external symbol "public: static class 
testing::TestInfo * __cdecl testing::TestInfo::MakeAndRegisterInstance(char 
const 
*,char const *,void *,void (__cdecl*)(void),void (__cdecl*)(void),class 
testing::Test 
* (__cdecl*)(void))" (?
MakeAndRegisterInstance@TestInfo@testing@@SAPAV12@PBD0PAXP6AXXZ2P6APAVTest@2@XZ@
Z) 
referenced in function "void __cdecl `dynamic initializer for 'private: static 
class 
testing::TestInfo * GTestColorTest_Dummy_Test::test_info_''(void)" (??__E?
test_info_@GTestColorTest_Dummy_Test@@0QAVTestInfo@testing@@A@@YAXXZ)   
gtest_color_test_.obj   
Error   4   error LNK2019: unresolved external symbol "protected: __thiscall 
testing::Test::Test(void)" (??0Test@testing@@IAE@XZ) referenced in function 
"public: 
__thiscall GTestColorTest_Dummy_Test::GTestColorTest_Dummy_Test(void)" (??
0GTestColorTest_Dummy_Test@@QAE@XZ) gtest_color_test_.obj   
Error   5   error LNK2001: unresolved external symbol "protected: virtual void 
__thiscall testing::Test::SetUp(void)" (?SetUp@Test@testing@@MAEXXZ)    
gtest_color_test_.obj   
Error   6   error LNK2001: unresolved external symbol "protected: virtual void 
__thiscall testing::Test::TearDown(void)" (?TearDown@Test@testing@@MAEXXZ)  
gtest_color_test_.obj   
Error   7   error LNK2019: unresolved external symbol "public: virtual __thiscall 
testing::Test::~Test(void)" (??1Test@testing@@UAE@XZ) referenced in function 
"public: 
virtual __thiscall GTestColorTest_Dummy_Test::~GTestColorTest_Dummy_Test(void)" 
(??
1GTestColorTest_Dummy_Test@@UAE@XZ) gtest_color_test_.obj   
Error   8   fatal error LNK1120: 7 unresolved externals 
Debug/gtest_color_test_.exe 

Original comment by ping....@gmail.com on 10 Sep 2008 at 4:03