erichocean / libjingle

Automatically exported from code.google.com/p/libjingle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compile 0.6.2 for MacOSX with 10.5 SDK using scons/swtoolkit craps out at GTest

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1. After getting the $SCONS_DIR setup and configuring the srtp and expat-2.0.1 
folders, I run the hammer.sh command and it gives me the output below. Please 
tell me whats going on, I just want to compile the basic sample for OSX, it 
seems as if i am missing a link to C++  since vector and iostream aren't being 
found.



TheGateKeeper:talk 9r0ximi7y$ hammer.sh
scons: Reading SConscript files ...
/Users/9r0ximi7y/Desktop/VideoChat_Folder/VideoChat/VideoChat_libjingle_v0.6.2/s
wtoolkit/site_scons/site_tools/component_targets_msvs.py:34: 
DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5

scons: warning: The build_dir keyword has been deprecated; use the variant_dir 
keyword instead.
File 
"/Users/9r0ximi7y/Desktop/VideoChat_Folder/VideoChat/VideoChat_libjingle_v0.6.2/
swtoolkit/site_scons/site_init.py", line 203, in BuildEnvironmentSConscripts
scons: done reading SConscript files.
scons: Building targets ...
________Compiling build/dbg/obj/third_party/gtest/src/gtest-all.o
In file included from third_party/gtest/src/gtest-all.cc:39:
third_party/gtest/include/gtest/gtest.h:54:18: error: limits: No such file or 
directory
third_party/gtest/include/gtest/gtest.h:55:18: error: vector: No such file or 
directory
In file included from 
third_party/gtest/include/gtest/internal/gtest-internal.h:40,
                 from third_party/gtest/include/gtest/gtest.h:57,
                 from third_party/gtest/src/gtest-all.cc:39:
third_party/gtest/include/gtest/internal/gtest-port.h:196:31: error: iostream: 
No such file or directory
third_party/gtest/include/gtest/internal/gtest-port.h:197:30: error: sstream: 
No such file or directory
third_party/gtest/include/gtest/internal/gtest-port.h:198:29: error: string: No 
such file or directory
third_party/gtest/include/gtest/internal/gtest-port.h:410:21: error: typeinfo: 
No such file or directory
third_party/gtest/include/gtest/internal/gtest-port.h:499:35: error: tr1/tuple: 
No such file or directory
In file included from third_party/gtest/include/gtest/gtest.h:57,
                 from third_party/gtest/src/gtest-all.cc:39:
third_party/gtest/include/gtest/internal/gtest-internal.h:51:19: error: 
iomanip: No such file or directory
third_party/gtest/include/gtest/internal/gtest-internal.h:53:15: error: set: No 
such file or directory
In file included from third_party/gtest/include/gtest/gtest.h:61,
                 from third_party/gtest/src/gtest-all.cc:39:
third_party/gtest/include/gtest/gtest-param-test.h:185:20: error: utility: No 
such file or directory
In file included from third_party/gtest/include/gtest/gtest-param-test.h:192,
                 from third_party/gtest/include/gtest/gtest.h:61,
                 from third_party/gtest/src/gtest-all.cc:39:
third_party/gtest/include/gtest/internal/gtest-param-util.h:37:20: error: 
iterator: No such file or directory
In file included from 
third_party/gtest/include/gtest/internal/gtest-param-util.h:47,
                 from third_party/gtest/include/gtest/gtest-param-test.h:192,
                 from third_party/gtest/include/gtest/gtest.h:61,
                 from third_party/gtest/src/gtest-all.cc:39:
third_party/gtest/include/gtest/gtest-printers.h:98:30: error: ostream: No such 
file or directory
In file included from third_party/gtest/include/gtest/gtest.h:64,
                 from third_party/gtest/src/gtest-all.cc:39:
third_party/gtest/include/gtest/gtest-test-part.h:36:18: error: iosfwd: No such 
file or directory
In file included from third_party/gtest/src/gtest.cc:39,
                 from third_party/gtest/src/gtest-all.cc:42:
/Developer/SDKs/MacOSX10.5.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No 
such file or directory
In file included from third_party/gtest/src/gtest-all.cc:42:
third_party/gtest/src/gtest.cc:45:21: error: algorithm: No such file or 
directory
In file included from third_party/gtest/src/gtest-all.cc:44:
third_party/gtest/src/gtest-filepath.cc:47:71: error: climits: No such file or 
directory
In file included from 
third_party/gtest/include/gtest/internal/gtest-internal.h:40,
                 from third_party/gtest/include/gtest/gtest.h:57,
                 from third_party/gtest/src/gtest-all.cc:39:
third_party/gtest/include/gtest/internal/gtest-port.h:756: error: 'string' in 
namespace 'std' does not name a type
third_party/gtest/include/gtest/internal/gtest-port.h:762: error: 'wstring' in 
namespace 'std' does not name a type
third_party/gtest/include/gtest/internal/gtest-port.h:816: error: expected 
unqualified-id before '&' token
third_party/gtest/include/gtest/internal/gtest-port.h:816: error: expected ',' 
or '...' before '&' token
third_party/gtest/include/gtest/internal/gtest-port.h:837: error: expected 
unqualified-id before '&' token
third_party/gtest/include/gtest/internal/gtest-port.h:837: error: expected ',' 
or '...' before '&' token
third_party/gtest/include/gtest/internal/gtest-port.h:840: error: expected 
unqualified-id before '&' token
third_party/gtest/include/gtest/internal/gtest-port.h:840: error: expected ',' 
or '...' before '&' token
third_party/gtest/include/gtest/internal/gtest-port.h: In constructor 
'testing::internal::RE::RE()':
third_party/gtest/include/gtest/internal/gtest-port.h:816: error: 'regex' was 
not declared in this scope
third_party/gtest/include/gtest/internal/gtest-port.h: In static member 
function 'static bool testing::internal::RE::FullMatch()':
third_party/gtest/include/gtest/internal/gtest-port.h:838: error: 'str' was not 
declared in this scope
third_party/gtest/include/gtest/internal/gtest-port.h:838: error: 're' was not 
declared in this scope
third_party/gtest/include/gtest/internal/gtest-port.h: In static member 
function 'static bool testing::internal::RE::PartialMatch()':
third_party/gtest/include/gtest/internal/gtest-port.h:841: error: 'str' was not 
declared in this scope
third_party/gtest/include/gtest/internal/gtest-port.h:841: error: 're' was not 
declared in this scope
third_party/gtest/include/gtest/internal/gtest-port.h: At global scope:
third_party/gtest/include/gtest/internal/gtest-port.h:884: error: 'string' in 
namespace 'std' does not name a type
third_party/gtest/include/gtest/internal/gtest-port.h:889: error: 'string' in 
namespace 'std' does not name a type
third_party/gtest/include/gtest/internal/gtest-port.h:915: error: ISO C++ 
forbids declaration of 'ostream' with no type
third_party/gtest/include/gtest/internal/gtest-port.h:915: error: invalid use 
of '::'
third_party/gtest/include/gtest/internal/gtest-port.h:915: error: expected ';' 
before '&' token
third_party/gtest/include/gtest/internal/gtest-port.h:917: error: expected `;' 
before 'private'
third_party/gtest/include/gtest/internal/gtest-port.h: In function 'To 
testing::internal::DownCast_(From*)':
third_party/gtest/include/gtest/internal/gtest-port.h:1018: error: 'class 
testing::internal::GTestLog' has no member named 'GetStream'
third_party/gtest/include/gtest/internal/gtest-port.h: In function 'Derived* 
testing::internal::CheckedDowncastToActualType(Base*)':
third_party/gtest/include/gtest/internal/gtest-port.h:1031: error: cannot use 
typeid with -fno-rtti
third_party/gtest/include/gtest/internal/gtest-port.h:1031: error: cannot use 
typeid with -fno-rtti
third_party/gtest/include/gtest/internal/gtest-port.h:1031: error: 'class 
testing::internal::GTestLog' has no member named 'GetStream'
third_party/gtest/include/gtest/internal/gtest-port.h: At global scope:
third_party/gtest/include/gtest/internal/gtest-port.h:1057: error: expected 
initializer before '<' token
third_party/gtest/include/gtest/internal/gtest-port.h:1060: error: expected 
initializer before '<' token
third_party/gtest/include/gtest/internal/gtest-port.h: In constructor 
'testing::internal::ThreadWithParam<T>::ThreadWithParam(void (*)(T), T, 
testing::internal::Notification*)':
third_party/gtest/include/gtest/internal/gtest-port.h:1155: error: 'class 
testing::internal::GTestLog' has no member named 'GetStream'
third_party/gtest/include/gtest/internal/gtest-port.h: In member function 'void 
testing::internal::ThreadWithParam<T>::Join()':
third_party/gtest/include/gtest/internal/gtest-port.h:1162: error: 'class 
testing::internal::GTestLog' has no member named 'GetStream'
third_party/gtest/include/gtest/internal/gtest-port.h: In member function 'void 
testing::internal::MutexBase::Lock()':
third_party/gtest/include/gtest/internal/gtest-port.h:1208: error: 'class 
testing::internal::GTestLog' has no member named 'GetStream'
third_party/gtest/include/gtest/internal/gtest-port.h: In member function 'void 
testing::internal::MutexBase::Unlock()':
third_party/gtest/include/gtest/internal/gtest-port.h:1218: error: 'class 
testing::internal::GTestLog' has no member named 'GetStream'
third_party/gtest/include/gtest/internal/gtest-port.h: In member function 'void 
testing::internal::MutexBase::AssertHeld() const':
third_party/gtest/include/gtest/internal/gtest-port.h:1224: error: 'class 
testing::internal::GTestLog' has no member named 'GetStream'
third_party/gtest/include/gtest/internal/gtest-port.h: In constructor 
'testing::internal::Mutex::Mutex()':
third_party/gtest/include/gtest/internal/gtest-port.h:1251: error: 'class 
testing::internal::GTestLog' has no member named 'GetStream'
third_party/gtest/include/gtest/internal/gtest-port.h: In destructor 
'testing::internal::Mutex::~Mutex()':
third_party/gtest/include/gtest/internal/gtest-port.h:1255: error: 'class 
testing::internal::GTestLog' has no member named 'GetStream'
third_party/gtest/include/gtest/internal/gtest-port.h: In destructor 
'testing::internal::ThreadLocal<T>::~ThreadLocal()':
third_party/gtest/include/gtest/internal/gtest-port.h:1340: error: 'class 
testing::internal::GTestLog' has no member named 'GetStream'
third_party/gtest/include/gtest/internal/gtest-port.h: In static member 
function 'static pthread_key_t testing::internal::ThreadLocal<T>::CreateKey()':
third_party/gtest/include/gtest/internal/gtest-port.h:1365: error: 'class 
testing::internal::GTestLog' has no member named 'GetStream'
third_party/gtest/include/gtest/internal/gtest-port.h: In member function 'T* 
testing::internal::ThreadLocal<T>::GetOrCreateValue() const':
third_party/gtest/include/gtest/internal/gtest-port.h:1379: error: 'class 
testing::internal::GTestLog' has no member named 'GetStream'
In file included from 
third_party/gtest/include/gtest/internal/gtest-internal.h:55,
                 from third_party/gtest/include/gtest/gtest.h:57,
                 from third_party/gtest/src/gtest-all.cc:39:
third_party/gtest/include/gtest/internal/gtest-string.h: At global scope:
third_party/gtest/include/gtest/internal/gtest-string.h:226: error: expected 
unqualified-id before '&' token
third_party/gtest/include/gtest/internal/gtest-string.h:226: error: expected 
',' or '...' before '&' token
third_party/gtest/include/gtest/internal/gtest-string.h:226: error: 
'testing::internal::String::String()' cannot be overloaded
third_party/gtest/include/gtest/internal/gtest-string.h:192: error: with 
'testing::internal::String::String()'
third_party/gtest/include/gtest/internal/gtest-string.h:230: error: expected 
type-specifier before '::' token
third_party/gtest/include/gtest/internal/gtest-string.h: In constructor 
'testing::internal::String::String()':
third_party/gtest/include/gtest/internal/gtest-string.h:227: error: 'str' was 
not declared in this scope
third_party/gtest/include/gtest/internal/gtest-string.h: At global scope:
third_party/gtest/include/gtest/internal/gtest-string.h:316: error: expected 
initializer before '&' token
In file included from /Developer/SDKs/MacOSX10.5.sdk/usr/include/fcntl.h:23,
                 from third_party/gtest/src/gtest-death-test.cc:44,
                 from third_party/gtest/src/gtest-all.cc:43:
/Developer/SDKs/MacOSX10.5.sdk/usr/include/sys/fcntl.h:377: error: expected `}' 
before end of line
/Developer/SDKs/MacOSX10.5.sdk/usr/include/sys/fcntl.h:377: error: expected `}' 
before end of line
/Developer/SDKs/MacOSX10.5.sdk/usr/include/sys/fcntl.h:377: error: expected 
declaration before end of line
scons: *** [build/dbg/obj/third_party/gtest/src/gtest-all.o] Error 1
scons: building terminated because of errors.
TheGateKeeper:talk 9r0ximi7y$ 




What is the expected output? What do you see instead?
I was hoping to try the OSX version of libjingle with the Carbon videoRendering 
engine working... I have snowleopard with XCode 4.1 with the additional 10.5 
SDK installed for the depricated Carbon/CoreAudio/MacSockets libraries.

What version of the product are you using? On what operating system?
SnowLeopard

Please provide any additional information below.


Original issue reported on code.google.com by Rudy.Mayo@gmail.com on 28 Oct 2011 at 10:27