[dev] detailed compiler version check and tg_compv.mk
Hi All, In current OOo source tree, detailed compiler version check is being done in solenv/inc/tg_compv.mk and set to CCNUMVER. Compler version is also checked at configure time but the detailed version number does not seem to be passed to the build environment. I am implementing mingw port and considering to support different experimental versions of mingw compilers. However, different versions of gcc compilers emit warnings in different manners and I have to change default compiler switches between versions. Unless, we have to face so many useless warnings or suppress many useful warnings. So I have to check the compiler version in solenv/inc/wntgcci6.mk but platform specific makefiles are included before solenv/inc/tg_compv.mk! I wonder why can't we pass the compiler version from the configure script and would like to have any suggestions. Best Regards, Takashi Ono(HK Freak) mailto:[EMAIL PROTECTED] or [EMAIL PROTECTED] (Personal Address, checked every morning/evening and holidays) mailto:[EMAIL PROTECTED] (Address for business, checked every working days) http://www.hkfreak.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Trouble compiling DEV300_m19
Hello, I've tried with DEV300_m20 and got the same error. kind regards Regina - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] Trouble compiling DEV300_m19
Hello, I try to compile DEV300_m19 on WinXP using Visual C++ 2005 Express Edition. That had worked without problems for OOo680m244. But for DEV300_m19 building stops with this message: Making: ../../wntmsci11.pro/slo/string.obj c:/PROGRA~1/MICROS~2/VC/bin/cl.exe -Zm500 -Zc:forScope,wchar_t- -GR -c -nologo -Gs -Gy -Ob1 -Oxs -Oy- -Gd -I. -I../../wntmsci11.pro/inc/misc -I../inc -I../../inc/pch -I../../inc -I../../WIN/inc -I../../wntmsci11.pro/inc -I. -Id:/SoftwareArchiv/OOoSource300m19zwei/solver/300/wntmsci11.pro/inc/stl -Id:/SoftwareArchiv/OOoSource300m19zwei/solver/300/wntmsci11.pro/inc/external -Id:/SoftwareArchiv/OOoSource300m19zwei/solver/300/wntmsci11.pro/inc -Id:/SoftwareArchiv/OOoSource300m19zwei/solenv/wntmsci11/inc -Id:/SoftwareArchiv/OOoSource300m19zwei/solenv/inc -Id:/SoftwareArchiv/OOoSource300m19zwei/res -Id:/SoftwareArchiv/OOoSource300m19zwei/solver/300/wntmsci11.pro/inc/stl -Ic:/PROGRA~1/Java/JDK16~1.0_0/include/win32 -Ic:/PROGRA~1/Java/JDK16~1.0_0/include -Ic:/PROGRA~1/MICROS~2/PSDK/include -Ic:/PROGRA~1/MICROS~2/VC/include -Ic:/Programme/dxsdk/include -Ic:/Programme/dxsdk/include -Id:/SoftwareArchiv/OOoSource300m19zwei/solver/300/wntmsci11.pro/inc/offuh -I. -I../../res -I. -Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4250 -wd4251 -wd4275 -wd4290 -wd4294 -wd4355 -wd4511 -wd4512 -wd4514 -wd4611 -wd4625 -wd4626 -wd4640 -wd4675 -wd4710 -wd4711 -wd4786 -wd4800 -wd4820 -wd4503 -wd4619 -wd4365 -wd4668 -wd4738 -wd4826 -wd4350 -wd4505 -wd4692 -wd4189 -wd4005 -DWNT -DWNT -DNT351 -DMSC -DM1400 -DINTEL -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS -DFULL_DESK -DSTLPORT_VERSION=400 -D_MT -DWINVER=0x0400 -D_WIN32_IE=0x0400 -DCPPU_ENV=msci -DSUPD=300 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA -DCOMPHELPER_DLLIMPLEMENTATION -DSHAREDLIB -D_DLL_ -DWIN32 -D_MT -D_DLL -DWIN32 -D_MT -D_DLL -EHa -DEXCEPTIONS_ON -Fo../../wntmsci11.pro/slo/string.obj d:/SoftwareArchiv/OOoSource300m19zwei/comphelper/source/misc/string.cxx string.cxx ../../inc\comphelper/stlunosequence.hxx(157) : error C2244: 'comphelper::stlunosequence::StlSequenceConstIterator::operator *' : unable to match function definition to an existing declaration ../../inc\comphelper/stlunosequence.hxx(85) : see declaration of 'comphelper::stlunosequence::StlSequenceConstIterator::operator *' definition 'StlSequenceIterator::const_reference comphelper::stlunosequence::StlSequenceConstIterator::operator *(void) const' existing declarations 'const V &comphelper::stlunosequence::StlSequenceConstIterator::operator *(void) const' ../../inc\comphelper/stlunosequence.hxx(285) : error C2244: 'comphelper::stlunosequence::StlSequenceConstIterator::operator []' : unable to match function definition to an existing declaration ../../inc\comphelper/stlunosequence.hxx(86) : see declaration of 'comphelper::stlunosequence::StlSequenceConstIterator::operator []' definition 'StlSequenceIterator::const_reference comphelper::stlunosequence::StlSequenceConstIterator::operator [](const comphelper::stlunosequence::StlSequenceIterator::difference_type) const' existing declarations 'const V &comphelper::stlunosequence::StlSequenceConstIterator::operator [](const comphelper::stlunosequence::StlSequenceIterator::difference_type) const' dmake: Error code 2, while making '../../wntmsci11.pro/slo/string.obj' ERROR: Error 65280 occurred while making /cygdrive/d/SoftwareArchiv/OOoSource300m19zwei/comphelper/source/misc What to do? kind regards Regina - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] Community process email address
Hi all, I asked a question about the Community Innovation Programme using the community-program at council.openoffice.org email address but didn't get a response at all. Does anyone know if this email address is being monitored or another way to talk to the council? Thanks R. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Please help for creating com.sun.star.awt.Toolkit service
Rainman Lee wrote: thank you very much Carsten! I will try it. but, I guess i was missing something by far. I notice that there is a InitVCL call, in the file you mentioned. but it seems that it need something like a static or dynamic lib to get it work. where can I get such a lib, should I compile the vcl project on my computer or I can just download it somewhere. thank you, and hope your reply. Hi Rainman, Sorry for the wrong information. I missed a special part inside the toolkit project which takes over the VCL initialization in case the Application object is not in execute mode, which is true in your case. Currently I am without a clue why you can see a crash creating "com.sun.star.awt.Toolkit". May be you can write an issue via Issue Tracker and attach some sample code to reproduce your problem. Regards, Carsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Hi, I'd like to know how do i contibute openoffice.org
hi , you can find some useful information from the url http://documentation.openoffice.org/ 2008/6/17, 조규남 <[EMAIL PROTECTED]>: > > Hi, This is kyuNam Cho from Korea. > > I'm a software developer in samsung electronics. > These days I have interest in OpenOffice.org and develop core of Writer. > > But I don't know how to start this work. > Also don't know start with what, where. > > Finaly I find message in OpenOffice.org. > If I don't know how to start contirbute, Send email to dev@openoffice.org > So, I send mail to you. > > Plz, give to me guide to start contiribute OpenOffice.org. > Plz, Let me know what can I study. > > Best Regard > KyuNam >
Re: [dev] Please help for creating com.sun.star.awt.Toolkit service
On Fri, 2008-06-20 at 12:28 +0200, Eike Rathke wrote: > Hi Stephan, > > On Thursday, 2008-06-19 14:30:09 +0200, Stephan Bergmann wrote: > > > On Windows, the L"..." version should also work, by accident. > Highly unportable though. gcc has a -fshort-wchar feature (like mozilla uses) and SunPro has a U"" string option. I've wondered if there would be any advantage to hacking up some sort of "const_rtl_uString" magic which would implement a rtl_uString compatible layout string struct that could be initialized from a L""/U"" string, eliding the rtl_uString constructor for such const rtl_uStrings enabling them to be stored in the rodata section. Maybe giving some measurable startup performance advantage. C. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Please help for creating com.sun.star.awt.Toolkit service
Hi Stephan, On Thursday, 2008-06-19 14:30:09 +0200, Stephan Bergmann wrote: > On Windows, the L"..." version should also work, by accident. > (sal_Unicode is a typedef for wchar_t there, and there is a non-explicit > rtl::OUString(sal_Unicode const *) ctor). Ah, that explains why a compiler accepts it, after I sent the mail I already wondered.. Highly unportable though. Eike -- OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer. SunSign 0x87F8D412 : 2F58 5236 DB02 F335 8304 7D6C 65C9 F9B5 87F8 D412 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't send personal mail to the [EMAIL PROTECTED] account, which I use for mailing lists only and don't read from outside Sun. Use [EMAIL PROTECTED] Thanks. pgp3TxmfTvEo9.pgp Description: PGP signature
Re: [dev] Troubles building DEv300_m20: dictmgr.hxx is missing
Giuseppe Castagno schrieb: Hi all, while building DEV300_m20 tag I came across this: ... lingucomponent/source/lingutil/lingutil.cxx:62:23: error: dictmgr.hxx: No such file or directory lingucomponent/source/lingutil/lingutil.cxx: In function '_STL::vector Get module 'hunspell'. Ruediger - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] sandbox not exist
Hi! Two questions: - where di you get your sources from? OOo 2.4.0 ist not DEV300 m14 - how do you configure and how start your build? You apparently either are missing some module or the build order is incorrect. 'sandbox.jar' comes from OOo module called 'sandbox' which has to be built before sj2. Rüdiger ghost80 wrote: > Hi, > when I built the OOo2.4.0,I met this error: > = > Building module sj2 > = > /home/hook/openoffice-test/DEV300_m14/sj2/stardiv/controller > dmake: Warning: -- Target > [../../unxlngi6.pro/class/stardiv/controller/SjSettings.class] was made but > the time stamp has not been updated. > /usr/bin/javac -classpath > ".:../../unxlngi6.pro/class:/usr/lib/j2se/1.4/jre/lib/rt.jar:.:/home/hook/openoffice-test/DEV300_m14/solver/300/unxlngi6.pro/bin/sandbox.jar:/home/hook/openoffice-test/DEV300_m14/solver/300/unxlngi6.pro/bin/tkt.jar" > -d ../../unxlngi6.pro/class @/tmp/mkIiF2bA > SjSettings.java:37: package com.sun.star.lib.sandbox does not exist > import com.sun.star.lib.sandbox.SandboxSecurity; > ^ > SjSettings.java:165: cannot resolve symbol > symbol : class SandboxSecurity > location: class stardiv.controller.SjSettings > System.setSecurityManager(new > SandboxSecurity(bNoExit)); > ^ > 2 errors > dmake: Error code 1, while making > '../../unxlngi6.pro/misc/controller_dummy.java' > > ERROR: Error 65280 occurred while making > /home/hook/openoffice-test/DEV300_m14/sj2/stardiv/controller > = > I am lack of sandbox. > Is there the sandbox in the jre?? > But I have downloaded jre1.4. > who can tell me why? > Thank you very much! > > > > - > 雅虎邮箱,您的终生邮箱! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Troubles building DEv300_m20: dictmgr.hxx is missing
Hi Giuseppe, On Fri, Jun 20, 2008 at 11:02 AM, Giuseppe Castagno <[EMAIL PROTECTED]> wrote: > > while building DEV300_m20 tag I came across this: > > ... > lingucomponent/source/lingutil/lingutil.cxx:62:23: error: dictmgr.hxx: > No such file or directory > lingucomponent/source/lingutil/lingutil.cxx: In function > '_STL::vector
[dev] "error: cannot run /bin/sh" when runing OOo 2.4.x build configure
hi everyone, I was trying to build OOo 2.4.x on my Windows platform using Cygwin. after I ran "bash configure --with-win32", in config_office directory, it reported: configure: error: cannot not run /bin/sh ../solenv/bin/config.sub what's wrong with it? does that mean there was lack of sh in my bin directory? if so, where can I get it? thanks best wishes, Rainman.
[dev] Troubles building DEv300_m20: dictmgr.hxx is missing
Hi all, while building DEV300_m20 tag I came across this: ... lingucomponent/source/lingutil/lingutil.cxx:62:23: error: dictmgr.hxx: No such file or directory lingucomponent/source/lingutil/lingutil.cxx: In function '_STL::vectorhttp://www.acca-esse.eu [EMAIL PROTECTED] [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] sandbox not exist
Hi, when I built the OOo2.4.0,I met this error: = Building module sj2 = /home/hook/openoffice-test/DEV300_m14/sj2/stardiv/controller dmake: Warning: -- Target [../../unxlngi6.pro/class/stardiv/controller/SjSettings.class] was made but the time stamp has not been updated. /usr/bin/javac -classpath ".:../../unxlngi6.pro/class:/usr/lib/j2se/1.4/jre/lib/rt.jar:.:/home/hook/openoffice-test/DEV300_m14/solver/300/unxlngi6.pro/bin/sandbox.jar:/home/hook/openoffice-test/DEV300_m14/solver/300/unxlngi6.pro/bin/tkt.jar" -d ../../unxlngi6.pro/class @/tmp/mkIiF2bA SjSettings.java:37: package com.sun.star.lib.sandbox does not exist import com.sun.star.lib.sandbox.SandboxSecurity; ^ SjSettings.java:165: cannot resolve symbol symbol : class SandboxSecurity location: class stardiv.controller.SjSettings System.setSecurityManager(new SandboxSecurity(bNoExit)); ^ 2 errors dmake: Error code 1, while making '../../unxlngi6.pro/misc/controller_dummy.java' ERROR: Error 65280 occurred while making /home/hook/openoffice-test/DEV300_m14/sj2/stardiv/controller = I am lack of sandbox. Is there the sandbox in the jre?? But I have downloaded jre1.4. who can tell me why? Thank you very much! - 雅虎邮箱,您的终生邮箱!
Re: [dev] about the native print error on Mac AquaBuild
Hi, Le 20 juin 08 à 10:18, debin lei a écrit : Can you tell me what is the e-mail address for openoffice.porting.mac? You just have to sen a mail to : [EMAIL PROTECTED] , then confirm ... and once done, you'll be able to post on [EMAIL PROTECTED] mailing list :-) Regards, Eric Bachard -- qɔᴉɹə
Re: [dev] about the native print error on Mac AquaBuild
Can you tell me what is the e-mail address for openoffice.porting.mac? 2008/6/20, eric b <[EMAIL PROTECTED]>: > > Hi, > > Le 20 juin 08 à 08:52, debin lei a écrit : > > Thank you for your answers. I did't try the DEV300_m20, but from the web >> cvs, i have checked the file salprn.cxx in vcl\aqua\source\gdi\, it seem >> nothing change to print opertions. >> >> > If I'm not wrong, Philipp Lohmann commited some changes in vcl/ aqua/ > source/ gdi/ salprn.cxx in aquavcl08, not integrated yet. > > and if you need to add it in your build, we'll explain you how proceed. > > I will ask the question to openoffice.porting.mac >> > > Yes, good idea. > > > and i will ooo_macport IRC channel soon. >> >> > Ok, see you soon ! > > > Thank you very much. >> >> > You're welcome :-) > > Eric Bachard > > > -- > qɔᴉɹə > > > > >
Re: [dev] Please help for creating com.sun.star.awt.Toolkit service
thank you very much Carsten! I will try it. but, I guess i was missing something by far. I notice that there is a InitVCL call, in the file you mentioned. but it seems that it need something like a static or dynamic lib to get it work. where can I get such a lib, should I compile the vcl project on my computer or I can just download it somewhere. thank you, and hope your reply. best wishes, Rainman. On Thu, Jun 19, 2008 at 11:14 PM, Carsten Driesner <[EMAIL PROTECTED]> wrote: > Rainman Lee wrote: > >> hello everyone, >> I'm trying to use uno controls independently without OO runing. >> but when I try to create the com.sun.star.awt.Toolkit service in my >> program, >> it crashes. >> I have tried to create other services (e.g. UnoButtonModel), and it seeems >> ok. >> I use OOo 2.4 on windows platform with Visual C++ for this testing, and >> here >> is how I do: >> >> first, I implement a uno component with XMain interface. >> in its run method, I just try to get the service manager through the >> component context that I have restored during the component instantiation. >> >> virtual ::sal_Int32 SAL_CALL run(const Sequence< ::rtl::OUString >& >> aArguments) SAL_THROW((RuntimeException)) >> { >>if (m_xContext.is()) >>MessageBox(NULL, TEXT("1 OK!"), TEXT("Msg"), MB_OK); >> >>Reference xMultiFactory = >> m_xContext.get()->getServiceManager(); >>if (xMultiFactory.is()) >>MessageBox(NULL, TEXT("2 OK!"), TEXT("Msg"), MB_OK); >> >>Reference xInterface = >> >> xMultiFactory.get()->createInstanceWithContext(L"com.sun.star.awt.Toolkit", >> m_xContext); >>if (xInterface.is()) >>MessageBox(NULL, TEXT("3 OK!"), TEXT("Msg"), MB_OK); >>return 0; >> } >> >> then I register all uno dll components in [OFFICE_PROGRAM_PATH] with my >> component into a new rdb file.(myservices.rdb) >> finally I run uno -s MY_SERVICENAME -ro myservices.rdb to startup my uno >> component. >> >> when the component is runing, it shows the first two message boxes as >> expected, and crashes without showing the last one. >> but if I replace "com.sun.star.awt.Toolkit" with >> "com.sun.star.awt.UnoButtonModel" or >> "com.sun.star.awt.ContainerWindowProvider" instead, it runs correctly with >> all message boxes displayed. >> so why cant I create the Toolkit service in my component? does this >> serivce >> depend on other services or things which I haven't prepared ready? >> hope for your reply, and thanks very much! >> > Hi Rainman, > > You have to make sure that VCL is properly initialized before you can use > UNO awt! UNO awt is a wrapper around VCL and cannot work correctly if VCL > has not been initialized. To initialize VCL you have to call InitVCL(...). > You can find how to call InitVCL in the desktop project, e.g. look within > desktop/source/pkgchk/unopkg/unopkg_misc.cxx at the function getUNO(...). > There is also a function called DeInitVCL(). > > Regards, > Carsten > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >