Looks like a problem with one of the STL containers...

Check online for others with the same issue, since it's not podofo related...

Leonard

From: Waleed Mashaqbeh [mailto:[email protected]]
Sent: Wednesday, February 16, 2011 8:37 AM
To: Leonard Rosenthol; [email protected]
Subject: Please Help

Dear All,

            I have successfully compiled podofo library against iphone 
simulator (i386 architecture), and I have done some tests using the iphone 
simulator with podofo library, however when I switch to compile the podofo 
static library against device (arm architecture) I get the following error from 
Xcode IDE:


/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/include/c++/4.2.1/bits/deque.tcc:
 In function 'void std::fill(const std::_Deque_iterator<_Tp, _Tp&, _Tp*>&, 
const std::_Deque_iterator<_Tp, _Tp&, _Tp*>&, const _Tp&) [with _Tp = 
PoDoFo::PdfPage*]':

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/include/c++/4.2.1/bits/deque.tcc:486:
   instantiated from 'void std::deque<_Tp, _Alloc>::_M_insert_aux(typename 
std::_Deque_base<_Tp, _Alloc>::iterator, size_t, const _Tp&) [with _Tp = 
PoDoFo::PdfPage*, _Alloc = std::allocator<PoDoFo::PdfPage*>]'

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/include/c++/4.2.1/bits/deque.tcc:217:
   instantiated from 'void std::deque<_Tp, _Alloc>::_M_fill_insert(typename 
std::_Deque_base<_Tp, _Alloc>::iterator, size_t, const _Tp&) [with _Tp = 
PoDoFo::PdfPage*, _Alloc = std::allocator<PoDoFo::PdfPage*>]'

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/include/c++/4.2.1/bits/stl_deque.h:1130:
   instantiated from 'void std::deque<_Tp, _Alloc>::insert(typename 
std::_Deque_base<_Tp, _Alloc>::iterator, size_t, const _Tp&) [with _Tp = 
PoDoFo::PdfPage*, _Alloc = std::allocator<PoDoFo::PdfPage*>]'

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/include/c++/4.2.1/bits/stl_deque.h:893:
   instantiated from 'void std::deque<_Tp, _Alloc>::resize(size_t, _Tp) [with 
_Tp = PoDoFo::PdfPage*, _Alloc = std::allocator<PoDoFo::PdfPage*>]'

/Users/mohammed/Downloads/podofo-0.8.4_2/src/PdfPagesTreeCache.cpp:31:   
instantiated from here

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/include/c++/4.2.1/bits/deque.tcc:763:
 error: type/value mismatch at argument 3 in template parameter list for 
'template<class _Tp, class _Ref, class _Ptr> struct std::_Deque_iterator'

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/include/c++/4.2.1/bits/deque.tcc:763:
 error:   expected a type, got '#'obj_type_ref' not supported by 
dump_expr#<expression error>'

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/include/c++/4.2.1/bits/deque.tcc:763:
 error: type/value mismatch at argument 3 in template parameter list for 
'template<class _Tp, class _Ref, class _Ptr> struct std::_Deque_iterator'

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/include/c++/4.2.1/bits/deque.tcc:763:
 error:   expected a type, got '#'obj_type_ref' not supported by 
dump_expr#<expression error>'

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/include/c++/4.2.1/bits/deque.tcc:763:
 error: type/value mismatch at argument 3 in template parameter list for 
'template<class _Tp, class _Ref, class _Ptr> struct std::_Deque_iterator'

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/include/c++/4.2.1/bits/deque.tcc:763:
 error:   expected a type, got '#'obj_type_ref' not supported by 
dump_expr#<expression error>'

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/include/c++/4.2.1/bits/deque.tcc:763:
 error: type/value mismatch at argument 3 in template parameter list for 
'template<class _Tp, class _Ref, class _Ptr> struct std::_Deque_iterator'

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/include/c++/4.2.1/bits/deque.tcc:763:
 error:   expected a type, got '#'obj_type_ref' not supported by 
dump_expr#<expression error>'

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/include/c++/4.2.1/bits/deque.tcc:763:
 error: type/value mismatch at argument 3 in template parameter list for 
'template<class _Tp, class _Ref, class _Ptr> struct std::_Deque_iterator'

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/include/c++/4.2.1/bits/deque.tcc:763:
 error:   expected a type, got '#'obj_type_ref' not supported by 
dump_expr#<expression error>'




Please Help

Regards Waleed

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to