Hi Team, I am facing issue with build of stlport module with Windows 7 machine. I have tried this with AOO-3.4.1 and latest code from SVN repository.
Code is using STLport-4.5-119.tar.gz: 1) dmake fails with error "File to Patch:" - I have resolved this by skipping the patch. 2) After resolving the 1st issue dmake fails with error can't create directory "\\lib" and "\\lib\\obj\\VC7\\Release" - I have resolved this issue by creating this folder hierarchy manually. 3) After resolving 1st and 2nd issue it again failed with error: F:\source\aoo-trunk\main\stlport\wntmsci12\misc\build\STLport-4.5-0119\stlport\cstdio(49) : error C2039: '_vsnprintf' : is not a member of 'std' F:\source\aoo-trunk\main\stlport\wntmsci12\misc\build\STLport-4.5-0119\stlport\cstdio(115) : error C2039: 'vsnprintf' : is not a member of 'std' F:\source\aoo-trunk\main\stlport\wntmsci12\misc\build\STLport-4.5-0119\stlport\cstdio(115) : error C2873: 'vsnprintf' : symbol cannot be used in a using-declaration F:\source\aoo-trunk\main\stlport\wntmsci12\misc\build\STLport-4.5-0119\stlport\stl/_alloc.h(458) : warning C4346: '_STL::_Alloc_traits<_Tp,_Allocator>::allocator_type' : dependent name is not a type prefix with 'typename' to indicate a type F:\source\aoo-trunk\main\stlport\wntmsci12\misc\build\STLport-4.5-0119\stlport\stl/_alloc.h(458) : error C2143: syntax error : missing ';' before '__cdecl' F:\source\aoo-trunk\main\stlport\wntmsci12\misc\build\STLport-4.5-0119\stlport\stl/_alloc.h(458) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int F:\source\aoo-trunk\main\stlport\wntmsci12\misc\build\STLport-4.5-0119\stlport\stl/_alloc.h(458) : error C2888: '_Alloc_traits<_Tp,_Allocator>::allocator_type allocator_type' : symbol cannot be defined within namespace '_STL' F:\source\aoo-trunk\main\stlport\wntmsci12\misc\build\STLport-4.5-0119\stlport\stl/_alloc.h(458) : fatal error C1903: unable to recover from previous error(s); stopping compilation Can someone please help me resolving this issue? I am struggling to get this issues resolved for past few days. I would be very thankful for the team If my issues could be resolved. Thanks and Regards, Ankur Singhal -----Original Message----- From: Singhal, Ankur Sent: 19 July 2013 10:42 To: 'Regina Henschel'; dev@openoffice.apache.org Subject: RE: Fwd: Issue with dmake of AOO-3.4.1 for the module "stlport" HI Regina, Yes It's correct I am trying to build Version 3.4.1 which is the latest stable version. Thanks and Regards, Ankur Singhal -----Original Message----- From: Regina Henschel [mailto:rb.hensc...@t-online.de] Sent: 18 July 2013 22:07 To: dev@openoffice.apache.org; Singhal, Ankur Subject: Re: Fwd: Issue with dmake of AOO-3.4.1 for the module "stlport" Hi Ankur, is it correct, that you want to build the version 3.4.1? Kind regards Regina Rob Weir schrieb: > Forwarding to our development mailing list where you are more likely > to get an answer. > > -Rob > > > ---------- Forwarded message ---------- > From: Singhal, Ankur <asing...@ptc.com> > Date: Thu, Jul 18, 2013 at 9:24 AM > Subject: Issue with dmake of AOO-3.4.1 for the module "stlport" > To: "us...@openoffice.apache.org" <us...@openoffice.apache.org> > > > Hi Team, > > I need all your help in resolving my issues, while setting up my > machine(Windows 7) for development on OpenOffice. > > Steps I have followed to build > (http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step > _by_step#Windows_7) > > 1) I have downloaded source code directly from > http://www.openoffice.org/download/other.html#tested-sdk . > > 2) Did my configure using the below paths: > > --with-cl-home="/cygdrive/f/Microsoft Visual Studio 9.0/VC" \ > > --with-mspdb-path="/cygdrive/f/Microsoft Visual Studio > 9.0/Common7/IDE" \ > > --with-frame-home="/cygdrive/c/Program Files/Microsoft > SDKs/Windows/v7.0" \ > > --with-psdk-home="/cygdrive/c/Program Files/Microsoft > SDKs/Windows/v7.0" \ > > --with-midl-path="/cygdrive/c/Program Files/Microsoft > SDKs/Windows/v7.0/Bin" \ > > --with-asm-home="/cygdrive/f/Microsoft Visual Studio 9.0/VC/bin" \ > > --with-csc-path="/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v3.5" \ > > --with-jdk-home="/cygdrive/c/Java64/jdk1.6.0_35" \ > > --with-ant-home="/cygdrive/c/apache-ant-1.9.2" \ > > --with-dmake-url=http://dmake.apache-extras.org.codespot.com/files/dma > ke-4.12.tar.bz2 > \ > > --with-epm-url=http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz > \ > > --disable-directx \ > > --enable-dbgutil \ > > --enable-pch \ > > --disable-atl \ > > --disable-activex \ > > --disable-binfilter \ > > --without-junit > > 3) Bootstrap ran properly. > > 4) dmake is failing to build "stlport" module with the error > "File to Patch:" > > > Options that I have tried: > > 1) Resolving the conflicts by going to separate files like > VC7.mak, _monetary.c, _num_put.c, _time_facets.c, _list.h. > > After resolving conflicts it gives error as below: > > .\streambuf.cpp(43) : error C2511: > 'stlp_std::basic_streambuf<_CharT,_Traits>::basic_streambuf(FILE > *,FILE *)' : overloaded member function not found in > 'stlp_std::basic_streambuf<_CharT,_Traits>' > > 2) I tried moving from Visual Studio 2008 to Visual Studio 2010. > > It starts giving other error about a file named "exception" under > Visual Studio. I believe Visual Studio 2010 is not supported by > OpenOffice. > > 3) I tried replacing module "stlport-4.5" with "stlport-5.2.1" > and compiling the module. (With Visual Studio 2008) > > But I am still facing the same issue. > > .\streambuf.cpp(43) : error C2511: > 'stlp_std::basic_streambuf<_CharT,_Traits>::basic_streambuf(FILE > *,FILE *)' : overloaded member function not found in > 'stlp_std::basic_streambuf<_CharT,_Traits>' > > It would be very helpful if someone can help me in resolving this > issue or if someone have faced the same issue earlier. > > I believe this is not an issue related to code but a configuration issue. > > Thanks in Advance, > Ankur Singhal > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > For additional commands, e-mail: dev-h...@openoffice.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org