Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need build scripts for Windows and Mac #3

Closed
GoogleCodeExporter opened this issue Aug 1, 2015 · 6 comments
Closed

Need build scripts for Windows and Mac #3

GoogleCodeExporter opened this issue Aug 1, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

  • Added labels: OpSys-OSX, OpSys-Windows, Priority-High
  • Removed labels: Priority-Medium

@GoogleCodeExporter
Copy link
Author

Make sure cygwin is covered as well.

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

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

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

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant