issue with --enable-dbg-util under Windows 7, cygwin64
Goal: Visual Studio 2010, where I can fully debug calc with an ability to compile individual files from library sc, and all of the libraries that are linked to sc. State of affairs: via cygwin64, I can build Libreoffice, in a release mode, with symbols, and open a LibreOffice.sln with 338 projects in Visual Studio 2010. My dev env: Cygwin64. A git clone of Libreoffice from trunk. Windows 7, SDK 7.0A, DirectX SDK, MSBuild, Visual Studio 2010 Pro (trial version) Question: (1)What steps must I do to get autogen.input feature: -enable-dbgutil to work? When I use that option, running 'make' always fails. I suspect because some link dependencies are getting built in release mode and create a conflict. Do I need to set specific features in autgen.input that will support -enable-dbgutil. I need that flag so boost will get built in debug mode etc. Does this require me to manually edit make files? Has someone done this and can send me an instruction of what specific files I have to edit? Or can someone point me to a url where I can download edited make files? I saw an email that 'make dev-install' would do what I want..but apparently that has been deprecated. I ask, because it's a huge task of work. With these options in autogen.input, my build does finish --enable-symbols --enable-pch --disable-odk --enable-vlc --visual-studio=2010 --disable-cve-tests --with-ant-home=/opt/apache-ant-1.9.2 --with-junit=/opt/junit/share/java/junit-4.4.jar After a good build, I run make vs2012-ide-integration ( I edit the file to work with VS2010) And then I can open LibreOffice.sln in visual Studio 2010. I can't get this optional feature of configure to work --enable-dbgutil My build fails. I suspect because many of the lower level librairies get built in release mode.and create a conflict. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RE: issue with --enable-dbg-util under Windows 7, cygwin64
Error msg: ExternalPackage_icu.mk:24 ...file icudtd53.dll does not exist in the tarball. Stop And build stops. -Original Message- From: Noel Grandin [mailto:noelgran...@gmail.com] Sent: Tuesday, September 16, 2014 7:49 AM To: nicholas ferguson Cc: libreoffice-dev Subject: Re: issue with --enable-dbg-util under Windows 7, cygwin64 it would help if you told us what the failure looked like. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RE: issue with --enable-dbg-util under Windows 7, cygwin64
Right. I have some project constraints...and a choice of VStudio doesn't impact --enable-dbgutil I can edit the gbuild-to-ide file and it generates a VS 2010 properly. For Visual Studio 2010 open gbuild-to-ide and set platform_toolset_node.text = 'v100' V100 is VS 2010 v110 is vs 2012 -Original Message- From: Stephan Bergmann [mailto:sberg...@redhat.com] Sent: Tuesday, September 16, 2014 8:34 AM To: nicholas ferguson; libreoffice@lists.freedesktop.org Subject: Re: issue with --enable-dbg-util under Windows 7, cygwin64 On 09/16/2014 01:41 PM, nicholas ferguson wrote: > Goal: Visual Studio 2010, where I can fully debug calc with an > ability to compile individual files from library sc, and all of the > libraries that are linked to sc. I cannot offer you any help with your --enable-dbgutil problem, but note that since late last week LO master requires at least MSVC 2012 (see recent "C++11" thread on this mailing list). Stephan ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Is there a version of Libreoffice where its tar files for 3rd party products include win32 debug libs and dlls?
When I set autogen.input with --enable-dbgutil Make kicks out this error msg and build fails. Error msg: ExternalPackage_icu.mk:24 ...file icudtd53.dll does not exist in the tarball. Stop And build stops. -Original Message- From: Stephan Bergmann [mailto:sberg...@redhat.com] Sent: Tuesday, September 16, 2014 8:34 AM To: nicholas ferguson; libreoffice@lists.freedesktop.org Subject: Re: issue with --enable-dbg-util under Windows 7, cygwin64 On 09/16/2014 01:41 PM, nicholas ferguson wrote: > Goal: Visual Studio 2010, where I can fully debug calc with an ability > to compile individual files from library sc, and all of the libraries > that are linked to sc. I cannot offer you any help with your --enable-dbgutil problem, but note that since late last week LO master requires at least MSVC 2012 (see recent "C++11" thread on this mailing list). Stephan ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
enable-dbgutil
I am trying to escape having to untar all of the 3rd parties and see which ones are missing win32 debug libs and dlls. On first pass of building Libreoffice with: --enable-dbgutil. build complained that ExternalPackage_icu.mk:24 ...file icudtd53.dll does not exist in the tarball. So reading configure help. I can set --with-system-icu and do a debug build there. My question: Who can send me instructon for how many of these third party tools have to be built that way? And what about boost? Libreoffice names its boost libraries not in "boost naming style" How do I handle that. My dev environment Cygwin64. A git clone of Libreoffice from trunk. Windows 7, SDK 7.0A, DirectX SDK, MSBuild, Visual Studio 2010 Pro (trial version) ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
issue with --enable-dbgutil for Visual Studio on Windows 7 ( solution to this mess)
I found a working solution to an issue, that I posted today, to this list .. About using an option feature in autogen.input -enable-dgbutil on a windows platform. My builds were failing. An initial error msg was that build failed because it could find debug libs for icu . My question today to this list was "what do I need to correct ? And get good builds". A solution I worked out today, corrected issues I was having with building LibreOffice with "-enable-dbgutil", on a Windows platform. I verified that correct debug lib files even for icu, were being generated. I looked into the /workdir/UnpackedTarBall/icu/source/lib and the debug versions of its range of libs had been built by this LibreOffice build system. My methodology . I searched the list.freedesktop.org archives for "problems with --enable-dbgutil on Windows" and . I did not find an expected series of posts answering previous questions on how to make it work on windows. .Really.. . Nor did I find a series of post to this issue that answered with "we are NOT having any issues building LibreOffice with option feature '-enable-dbgutil' on windows". . Nor did I get a quick answer with a solution from this list. . Started a review of LibreOffice's makefile design, and Library<>.mk file interdependencies to discover why I was having this problem. I tossed that investigation aside thinking that that route had been poured over by LibreOffice experts; and took another look... I didn't understand why I had to clean up this mess, with an open source product that has been on the market, for years.. Boost libs that were built with LibreOffice's makefile system were not conforming to boost lib naming conventions. Checking, LibreOffice was working with Boost v 1 55 0. So I decided to independently build Boost v 1_55_0, all of it. This insured that boost libs would have a correct naming convention. That took several hours. and then referred to a lib path in autogen.input. --with-boost-libdir=/home/lo/master/issues/boost_1_55_0/stage/lib . Autogen worked with that option feature "-with-boost-libdir", as per its explicit design features spelled out in configure. . autogen.input had this option feature: --enable-dbgutil I will post instructions at https://github.com/nicholasferguson/LibreOffice-Inx-for-VS2010-VS2012-dev-en v Regards Nicholas From: nicholas ferguson [mailto:nicholasfergu...@wingarch.com] Sent: Tuesday, September 16, 2014 9:29 AM To: 'libreoffice@lists.freedesktop.org' Subject: enable-dbgutil I am trying to escape having to untar all of the 3rd parties and see which ones are missing win32 debug libs and dlls. On first pass of building Libreoffice with: --enable-dbgutil. build complained that ExternalPackage_icu.mk:24 ...file icudtd53.dll does not exist in the tarball. So reading configure help. I can set --with-system-icu and do a debug build there. My question: Who can send me instructon for how many of these third party tools have to be built that way? And what about boost? Libreoffice names its boost libraries not in "boost naming style" How do I handle that. My dev environment Cygwin64. A git clone of Libreoffice from trunk. Windows 7, SDK 7.0A, DirectX SDK, MSBuild, Visual Studio 2010 Pro (trial version) ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
issue solved with --enable-dbgutil for Visual Studio on Windows 7 ( solution to this mess)
I found a working solution to an issue, that I posted today, to this list .. About using an option feature in autogen.input -enable-dgbutil on a windows platform. My builds were failing. An initial error msg was that build failed because it could NOT find debug libs for icu . My question today to this list was "what do I need to correct ? And get good builds". A solution I worked out today, corrected issues I was having with building LibreOffice with "-enable-dbgutil", on a Windows platform. I verified that correct debug lib files even for icu, were being generated. I looked into the /workdir/UnpackedTarBall/icu/source/lib and the debug versions of its range of libs had been built by this LibreOffice build system. My methodology . I searched the list.freedesktop.org archives for "problems with --enable-dbgutil on Windows" and . I did not find an expected series of posts answering previous questions on how to make it work on windows. .Really.. . Nor did I find a series of post to this issue that answered with "we are NOT having any issues building LibreOffice with option feature '-enable-dbgutil' on windows". . Nor did I get a quick answer with a solution from this list. . Started a review of LibreOffice's makefile design, and Library<>.mk file interdependencies to discover why I was having this problem. I tossed that investigation aside thinking that that route had been poured over by LibreOffice experts; and took another look... I didn't understand why I had to clean up this mess, with an open source product that has been on the market, for years.. Boost libs that were built with LibreOffice's makefile system were not conforming to boost lib naming conventions. Checking, LibreOffice was working with Boost v 1 55 0. So I decided to independently build Boost v 1_55_0, all of it. This insured that boost libs would have a correct naming convention. That took several hours. and then referred to a lib path in autogen.input. --with-boost-libdir=/home/lo/master/issues/boost_1_55_0/stage/lib . Autogen worked with that option feature "-with-boost-libdir", as per its explicit design features spelled out in configure. . autogen.input had this option feature: --enable-dbgutil I will post instructions at https://github.com/nicholasferguson/LibreOffice-Inx-for-VS2010-VS2012-dev-en v Regards Nicholas From: nicholas ferguson [mailto:nicholasfergu...@wingarch.com] Sent: Tuesday, September 16, 2014 9:29 AM To: 'libreoffice@lists.freedesktop.org' Subject: enable-dbgutil I am trying to escape having to untar all of the 3rd parties and see which ones are missing win32 debug libs and dlls. On first pass of building Libreoffice with: --enable-dbgutil. build complained that ExternalPackage_icu.mk:24 ...file icudtd53.dll does not exist in the tarball. So reading configure help. I can set --with-system-icu and do a debug build there. My question: Who can send me instructon for how many of these third party tools have to be built that way? And what about boost? Libreoffice names its boost libraries not in "boost naming style" How do I handle that. My dev environment Cygwin64. A git clone of Libreoffice from trunk. Windows 7, SDK 7.0A, DirectX SDK, MSBuild, Visual Studio 2010 Pro (trial version) ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
using eclipse c++ with libreoffice on windows
Hi, Is anyone using eclipse c++ on windows for Libreoffice development? My first attempt, eclipse was overloaded with too many projects and died. Eclipse c++ is used as an IDE for linux development. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Correction ==> Building a debug version of calc to be used in Visual Studio 2010
Goal: Visual Studio 2010, where I can fully debug calc with an ability to compile individual files from library sc, and all of the libraries that are linked to sc. State of affairs: via cygwin64, I can build Libreoffice, in a release mode, with symbols, and open a LibreOffice.sln with 338 projects in Visual Studio 2010. Question: (1)What steps must I do to get autogen.input feature: -enable-dbgutil to work? When I use that option, running 'make' always fails. I suspect because some link dependencies are getting built in release mode and create a conflict. Do I need to set specific features in autgen.input that will support -enable-dbgutil I saw an email that 'make dev-install' would do what I want..but apparently that has been deprecated. My dev env: Cygwin64. A git clone of Libreoffice from trunk. Windows 7, SDK 7.0A, DirectX SDK, MSBuild, Visual Studio 2010 Pro (trial version) With these options in autogen.input, my build does finish --enable-symbols --enable-pch --disable-odk --enable-vlc --visual-studio=2010 --disable-cve-tests --with-ant-home=/opt/apache-ant-1.9.2 --with-junit=/opt/junit/share/java/junit-4.4.jar After a good build, I run make vs2012-ide-integration ( I edit the file to work with VS2010) And then I can open LibreOffice.sln in visual Studio 2010. I can't get this optional feature of configure to work --enable-dbgutil My build fails. I suspect because many of the lower level librairies get built in release mode.and create a conflict. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RE: enable-dbgutil
I expect a much more erudite answer from a developer at redhat. To read my email and think oh...I can tell him to eliminate icu from a build..and that is the only problem reported. So problem is solved. That is irritating to read. -Original Message- From: Eike Rathke [mailto:er...@redhat.com] Sent: Wednesday, September 17, 2014 7:19 AM To: nicholas ferguson Cc: libreoffice@lists.freedesktop.org Subject: Re: enable-dbgutil Hi nicholas, On Tuesday, 2014-09-16 09:29:01 -0400, nicholas ferguson wrote: > I am trying to escape having to untar all of the 3rd parties and see > which ones are missing win32 debug libs and dlls. > > > > On first pass of building Libreoffice with: > > --enable-dbgutil. > > > > build complained that > > ExternalPackage_icu.mk:24 ...file icudtd53.dll does not exist in the > tarball. As has already been pointed out in the other mail thread you started, the icudt*.dll was moved from external/icu/ExternalPackage_icu.mk to external/icu/ExternalPackage_icu_ure.mk already in July. > So reading configure help. I can set > > --with-system-icu and do a debug build there. You can safely assume that almost none of the --with-system-... options will work on Windows simply because the Windows system does not provide any of those libraries. Plus, if you change configure options, especially with --enable-dbgutil, you usually need to make clean && make to force a clean build. In fact the missing icudtd53.dll may be a result of such mixed build because in a non-dbgutil build it is icudt53.dll instead. > A git clone of Libreoffice from trunk. Git has no notion of trunk, you probably mean the master branch, but apparently you're trying to build a quite old snapshot. Eike -- LibreOffice Calc developer. Number formatter stricken i18n transpositionizer. GPG key ID: 0x65632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A Care about Free Software, support the FSFE https://fsfe.org/support/?erack --- Begin Message --- I found a working solution to an issue, that I posted today, to this list .. About using an option feature in autogen.input -enable-dgbutil on a windows platform. My builds were failing. An initial error msg was that build failed because it could NOT find debug libs for icu . My question today to this list was "what do I need to correct ? And get good builds". A solution I worked out today, corrected issues I was having with building LibreOffice with "-enable-dbgutil", on a Windows platform. I verified that correct debug lib files even for icu, were being generated. I looked into the /workdir/UnpackedTarBall/icu/source/lib and the debug versions of its range of libs had been built by this LibreOffice build system. My methodology . I searched the list.freedesktop.org archives for "problems with --enable-dbgutil on Windows" and . I did not find an expected series of posts answering previous questions on how to make it work on windows. .Really.. . Nor did I find a series of post to this issue that answered with "we are NOT having any issues building LibreOffice with option feature '-enable-dbgutil' on windows". . Nor did I get a quick answer with a solution from this list. . Started a review of LibreOffice's makefile design, and Library<>.mk file interdependencies to discover why I was having this problem. I tossed that investigation aside thinking that that route had been poured over by LibreOffice experts; and took another look... I didn't understand why I had to clean up this mess, with an open source product that has been on the market, for years.. Boost libs that were built with LibreOffice's makefile system were not conforming to boost lib naming conventions. Checking, LibreOffice was working with Boost v 1 55 0. So I decided to independently build Boost v 1_55_0, all of it. This insured that boost libs would have a correct naming convention. That took several hours. and then referred to a lib path in autogen.input. --with-boost-libdir=/home/lo/master/issues/boost_1_55_0/stage/lib . Autogen worked with that option feature "-with-boost-libdir", as per its explicit design features spelled out in configure. . autogen.input had this option feature: --enable-dbgutil I will post instructions at https://github.com/nicholasferguson/LibreOffice-Inx-for-VS2010-VS2012-dev-en v Regards Nicholas From: nicholas ferguson [mailto:nicholasfergu...@wingarch.com] Sent: Tuesday, September 16, 2014 9:29 AM To: 'libreoffice@lists.freedesktop.org' Subject: enable-dbgutil I am trying to escape having to untar all of the 3rd parties and see which ones are missing win32 debug libs and dlls. On first pass of building Libreoffice with: --enable-dbgutil.
RE: enable-dbgutil
You obviously have never built Libreoffice under a window, using --enable-dbgutil. So to tell me to do extra work...on your hypothesis. Don't. I have tons of work then to prove our your hypothesis. And I think this rule should apply to any answers you give on Libreoffice. I expect a Redhat developer, world experts in Linux...not to have me chase their rabbits. nick -Original Message- From: Eike Rathke [mailto:er...@redhat.com] Sent: Wednesday, September 17, 2014 8:04 AM To: nicholas ferguson Cc: libreoffice@lists.freedesktop.org Subject: Re: enable-dbgutil Hi nicholas, On Wednesday, 2014-09-17 07:46:19 -0400, nicholas ferguson wrote: > I expect a much more erudite answer from a developer at redhat. > > To read my email and think oh...I can tell him to eliminate icu from a > build..and that is the only problem reported. So problem is solved. > > That is irritating to read. That is not what I said. I told you you need to build ICU and not use with-system and you need to rebuild everything from scratch if you enable dbgutil. Eike -- LibreOffice Calc developer. Number formatter stricken i18n transpositionizer. GPG key ID: 0x65632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A Care about Free Software, support the FSFE https://fsfe.org/support/?erack ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RE: enable-dbgutil
I don't think that telling you..not to provide me with 'guesses' is insulting. Libreoffice is a huge installation. Your guesses can cost me day(s) of useless work. I'm not willin g to chase your guesses. I am posting questions on this list so that an expert can answer me. Expert with actual experience can tell me do a,b,c and problem solved. As a redhat developer, you should understand that. -Original Message- From: Noel Grandin [mailto:noelgran...@gmail.com] Sent: Wednesday, September 17, 2014 8:14 AM To: nicholas ferguson Subject: Re: enable-dbgutil We're generally quite a friendly bunch, but you're not making it very easy to help you. You start off by insulting us, and then insult the person trying to help you. If you need rapid answers, I suggest you start hanging out on the #libreoffice-dev IRC channel, and give us a little more time - remember that a lot of us here are pure volunteers, not being paid one cent for our work. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RE: enable-dbgutil
I disagree. Answers have to be responsible. I got one answer, and the person said, I don't have any experience with enable-dbgutil on windows..but I advise you not to use VS 2010. That is a responsible answer. So tell me you don't have any experience with --enable-dbgutil on windows. And then give me some pointers, about other issues of LibreOffice.. . But don't answer an email.. where the intent of the msgs is that if I follow your suggestions..I 'might' get a build -Original Message- From: Norbert Thiebaud [mailto:nthieb...@gmail.com] Sent: Wednesday, September 17, 2014 8:19 AM To: nicholas ferguson Cc: Eike Rathke; libreoffice Subject: Re: enable-dbgutil On Wed, Sep 17, 2014 at 7:13 AM, nicholas ferguson wrote: > You obviously have never built Libreoffice under a window, using > --enable-dbgutil. So to tell me to do extra work...on your hypothesis. > Don't. I have tons of work then to prove our your hypothesis. And I > think this rule should apply to any answers you give on Libreoffice. > > I expect a Redhat developer, world experts in Linux...not to have me > chase their rabbits. What make you think you can _expect_ anything at all. As an expert Windows dev you should know that there is no such thing as 'system icu' on windows... In anycase, you asked a question, it has been answered graciously.. if you do not like the answer, fine, just ignore it and fidn a better one for yourself.. but do _not_ bite the hand that nicely tried to help you Norbert ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RE: enable-dbgutil
-Original Message- From: Jan Holesovsky [mailto:ke...@collabora.com] Sent: Wednesday, September 17, 2014 8:40 AM To: nicholas ferguson Cc: 'Norbert Thiebaud'; 'Eike Rathke'; 'libreoffice' Subject: Re: enable-dbgutil Hi Nicholas, I suggest we stop with thread and start anew - is that possible? I am sorry that you are having trouble building with --enable-dbgutil on Windows. I used to maintain a tinderbox that had this setting on, to avoid bitrot, but then switched that to --enable-debug (so that it can be tested by wider user base), so I don't think we have a tinderbox that would force buildability of LibreOffice on Windows with --enable-dbgutil; if you need that, you are on your own. Having said that; why do you need --enable-dbgutil specifically? Where did you get the suggestion to use --enable-dbgutil? For normal development, --enable-debug should be enough, and also it will give you faster builds + runtime. My suggestion would be to change --enable-dbgutil in your autogen.input to --enable-debug, then do make clean, and make. FWIW, master has been broken on Windows in the morning, but since the commit http://cgit.freedesktop.org/libreoffice/core/commit/?id=cc6c01632dda28db0da8d007f2fcac63f1c85e38 it should be OK again (or at least is for me with MSVC 2012). All the best, Kendy --- Begin Message --- I found a working solution to an issue, that I posted today, to this list .. About using an option feature in autogen.input -enable-dgbutil on a windows platform. My builds were failing. An initial error msg was that build failed because it could NOT find debug libs for icu . My question today to this list was "what do I need to correct ? And get good builds". A solution I worked out today, corrected issues I was having with building LibreOffice with "-enable-dbgutil", on a Windows platform. I verified that correct debug lib files even for icu, were being generated. I looked into the /workdir/UnpackedTarBall/icu/source/lib and the debug versions of its range of libs had been built by this LibreOffice build system. My methodology . I searched the list.freedesktop.org archives for "problems with --enable-dbgutil on Windows" and . I did not find an expected series of posts answering previous questions on how to make it work on windows. .Really.. . Nor did I find a series of post to this issue that answered with "we are NOT having any issues building LibreOffice with option feature '-enable-dbgutil' on windows". . Nor did I get a quick answer with a solution from this list. . Started a review of LibreOffice's makefile design, and Library<>.mk file interdependencies to discover why I was having this problem. I tossed that investigation aside thinking that that route had been poured over by LibreOffice experts; and took another look... I didn't understand why I had to clean up this mess, with an open source product that has been on the market, for years.. Boost libs that were built with LibreOffice's makefile system were not conforming to boost lib naming conventions. Checking, LibreOffice was working with Boost v 1 55 0. So I decided to independently build Boost v 1_55_0, all of it. This insured that boost libs would have a correct naming convention. That took several hours. and then referred to a lib path in autogen.input. --with-boost-libdir=/home/lo/master/issues/boost_1_55_0/stage/lib . Autogen worked with that option feature "-with-boost-libdir", as per its explicit design features spelled out in configure. . autogen.input had this option feature: --enable-dbgutil I will post instructions at https://github.com/nicholasferguson/LibreOffice-Inx-for-VS2010-VS2012-dev-en v Regards Nicholas From: nicholas ferguson [mailto:nicholasfergu...@wingarch.com] Sent: Tuesday, September 16, 2014 9:29 AM To: 'libreoffice@lists.freedesktop.org' Subject: enable-dbgutil I am trying to escape having to untar all of the 3rd parties and see which ones are missing win32 debug libs and dlls. On first pass of building Libreoffice with: --enable-dbgutil. build complained that ExternalPackage_icu.mk:24 ...file icudtd53.dll does not exist in the tarball. So reading configure help. I can set --with-system-icu and do a debug build there. My question: Who can send me instructon for how many of these third party tools have to be built that way? And what about boost? Libreoffice names its boost libraries not in "boost naming style" How do I handle that. My dev environment Cygwin64. A git clone of Libreoffice from trunk. Windows 7, SDK 7.0A, DirectX SDK, MSBuild, Visual Studio 2010 Pro (trial version) --- End Message --- ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RE: enable-dbgutil
Thanks. There is an English language issue. Your points #1 and #2... I don't understand what you are referring to -Original Message- From: Bjoern Michaelsen [mailto:bjoern.michael...@canonical.com] Sent: Wednesday, September 17, 2014 9:00 AM To: nicholas ferguson Cc: 'Norbert Thiebaud'; 'Eike Rathke'; 'libreoffice' Subject: Re: enable-dbgutil Hi, On Wed, Sep 17, 2014 at 08:25:39AM -0400, nicholas ferguson wrote: > But don't answer an email.. where the intent of the msgs is that if I > follow your suggestions..I 'might' get a build In that case you wouldnt have an answer right now. Also note that the answer certainly did already provide lots of helpful hints. In fact, much more than can be expected as there was quite a lot of information missing in the original post (which is -- unfortunately -- expected, given the complexity of the issue). Ranting vs. an developer that provides help is generally not appreciated, Even less so when trying to create diversion by bringing in the employer of the helping hand in the discussion, which is way off topic here[1]. Feel free to continue to ask questions here and we will try to help out as best as we can. If you need support beyond that, there are multiple companies that can offer you L3 support, which is explicitly not something this mailing list will, can or should ever provide[2]. Best, Bjoern [1] And somehow trying to construct a special responsibility of RedHat employees for troubles on a competing operating system to the offers by the employer is downright rediculous. [2] One alternative is to become a valuable upstream contributor -- there is quite a lot of motivation to go an extra mile helping someone old or new in the project, if there is a clear indication of a benefit for the project in form of expected contributions or improvements. If so, it would be very helpful to learn what is being worked on and how that will benefit the project. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
vs2012-ide-integration
Hi, I built in Visual Studio, using native compilers.modules sc and cui and all of their dependencies. This build is separate from libreoffice make files and cygwin. It doesn't require references to make files or cygwin. I used in autogen.input (1)-enable-dbgutil, (2)compiled boost, independently and gave a path to its libs, using the "-with-boost-libdir" If I send you my notes, could you tweak your vs2012-ide-integration, to a vs2012native-ide-integration ( or any name you choose) so that we could generate those projects? From: nicholas ferguson [mailto:nicholasfergu...@wingarch.com] Sent: Thursday, September 04, 2014 7:08 AM To: 'havlicek.ho...@gmail.com' Subject: Did you ever try to create a 2012 Visual Studio Solution for scalc only? Can you email me a sample? Regards Nick ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
vs2012-ide-integration ( with examples)
Hi, I built in Visual Studio, using native compilers.modules sc and cui and all of their dependencies. This build is separate from libreoffice make files and cygwin. It doesn't require references to make files or cygwin. I used in autogen.input (1)-enable-dbgutil, (2)compiled boost, independently and gave a path to its libs, using the "-with-boost-libdir" If I send you my notes, could you tweak your vs2012-ide-integration, to a vs2012native-ide-integration ( or any name you choose) so that we could generate those projects? basegfx_t.vcxproj.filters Description: XML document basegfx_t.vcxproj Description: XML document ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
vs2012-ide-integration ( with better examples)
Hi, I built in Visual Studio, using native compilers.modules sc and cui and all of their dependencies. This build is separate from libreoffice make files and cygwin. It doesn't require references to make files or cygwin. I also was able to build a debug mode in cygwin using this in autogen.input (1)-enable-dbgutil, (2)compiled boost, independently and gave a path to its libs, using the "-with-boost-libdir" If I send you my notes, could you tweak your vs2012-ide-integration, to a vs2012native-ide-integration ( or any name you choose) so that we could generate those projects? The early examples.were initial attempts. This example uses more data from Library<>.mk and the output from your vs2012-ide-integration My names for built libraries are different.. I did that to prove that my builds were not traversing over into cygwin builds. I'm rushing off.sorry I had to send three separate emails. = for (built).. notes to collect data for visual studio projects collected from both Library make file and output from vs2012-ide-integration = C:/cygwin64/home/lo/master/workdir/UnpackedTarball/boost;C:/cygwin64/home/lo/master/include;C:/PROGRA~2/Java/JDK18~1.0_2/include/win32;C:/PROGRA~2/Java/JDK18~1.0_2/include;C:/PROGRA~2/MIA713~1/Windows/v7.0A/include;C:/PROGRA~2/MICROS~1.0/VC/include;C:/PROGRA~2/MI0FC3~1/include;C:/cygwin64/home/lo/master/config_host;C:/cygwin64/home/lo/master/formula/source/core/inc;C:/cygwin64/home/lo/master/workdir/UnoApiHeadersTarget/udkapi/normal;C:/cygwin64/home/lo/master/workdir/UnoApiHeadersTarget/offapi/normal; C:\cygwin64\home\lo\master\formula\source\core\inc $(eval $(call gb_Library_set_componentfile,for,formula/util/for)) INTEL;OPTIMIZE;_X86_;_CRT_NONSTDC_NO_DEPRECATE;CPPU_ENV;WNT;NOMINMAX;NDEBUG;_CRT_SECURE_NO_DEPRECATE;WIN32;RTL_USING;BOOST_MEM_FN_ENABLE_CDECL;FORMULA_DLLIMPLEMENTATION;_WIN32_IE;_DLL;_REENTRANT;WINVER>0x0400;OSL_DEBUG_LEVEL;_MT;_CRT_NON_CONFORMING_SWPRINTFS;SUPD;LIBO_INTERNAL_ONLY; comphelper \ (built) cppu \ built) cppuhelper \ built) sal \ built) i18nlangtag \ built) svl \ built) svt \ built) tl \ built) utl \ (built) vcl \ (built) $(gb_UWINAPI) \ built) Library.comphelper_t.lib Library.cppu_t.lib Library.cppuhelper_t.lib LIbrary.sal3_t.lib Library.i18nlangtag_t.lib Library.svl_t.lib Library.tl_t.lib Library.utl_t.lib Library.vcl_t.lib Library.uwinapi_t.lib for_t.vcxproj Description: XML document for_t.vcxproj.filters Description: XML document ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
I am new employee, with VS problem
I documented what steps I took to build libreoffice on windows https://github.com/nicholasferguson/LibreOffice-Inx-for-VS2010-VS2012-dev-en v ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RE: vs2012-ide-integration
I don't understand. -Original Message- From: LibreOffice [mailto:libreoffice-boun...@lists.freedesktop.org] On Behalf Of Michael Meeks Sent: Thursday, September 18, 2014 4:36 PM To: nicholas ferguson Cc: 'libreoffice'; havlicek.ho...@gmail.com Subject: Re: vs2012-ide-integration Hi Nicholas, On Thu, 2014-09-18 at 08:45 -0400, nicholas ferguson wrote: > I built in Visual Studio, using native compilers…modules sc and cui > and all of their dependencies. This build is separate from libreoffice > make files and cygwin. It doesn’t require references to make files or > cygwin. I love the idea; anything to make it easier to build on Windows and remove the cygwin grief: I feel your pain. > If I send you my notes, could you tweak your vs2012-ide-integration, > to a vs2012native-ide-integration ( or any name you choose) so that we > could generate those projects? Well; the best way is to send a patch of your own. We love patches =) developers talk code really. I suspect if you start something there you may find people intersted in playing with it with you & chipping away at the problem. ATB, Michael. -- michael.me...@collabora.com <><, Pseudo Engineer, itinerant idiot ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Simple Visual Studio Project (console application) with example of opening/closing scalc doc and printing out formulas in a worksheet, to stdout?
Hi Can anyone send me that kind of example? I have libreoffice built in debug mode (--enable-dbgutil), on a windows platform. You copy paste it. If you email it. zip or tar has to be renamed to *.txt Otherwise Norton eats it. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
can someone spot problem with simplebootstrap_cpp.cxx
In odk sample file, SimpleBootstrap_cpp.cxx Reference< XComponentContext > xContext( ::cppu::bootstrap() ); CALLS Reference< XComponentContext > SAL_CALL bootstrap() AND AT CODE char const * p1 = cppuhelper_detail_findSofficePath(); RETURNED VALUE IS "C:\Program Files (x86)\LibreOffice 4\program" THEN // create default local component context Reference< XComponentContext > xLocalContext( defaultBootstrap_InitialComponentContext() ); CALLS css::uno::Reference< css::uno::XComponentContext > cppu::defaultBootstrap_InitialComponentContext(rtl::OUString const & iniUri) AND AT CODE smgr->init(getBootstrapVariable(bs, "UNO_SERVICES")); RETURN VALUE IS AN EXCEPTION "cannot open C:/cygwin64/home/lo/master/instdir/URE/misc/services.rdb" 1. this file does exist: C:/cygwin64/home/lo/master/instdir/URE/misc/services.rdb Question: Can someone tell me what needs to be corrected? Do I add an env variable? From: nicholas ferguson [mailto:nicholasfergu...@wingarch.com] Sent: Monday, September 22, 2014 8:51 AM To: 'libreoffice' Subject: Simple Visual Studio Project (console application) with example of opening/closing scalc doc and printing out formulas in a worksheet, to stdout? Hi Can anyone send me that kind of example? I have libreoffice built in debug mode (--enable-dbgutil), on a windows platform. You copy paste it. If you email it. zip or tar has to be renamed to *.txt Otherwise Norton eats it. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RE: #2 can someone spot problem with simplebootstrap_cpp.cxx
I tried the following: I uninstalled LibreOffice in c:\Program Files (x86) Then added this code to SimpleBootstrap_cpp.cxx putenv("UNO_PATH=c:/cygwin64/home/lo/master/instdir"); But same error msg as below: "cannot open C:/cygwin64/home/lo/master/instdir/URE/misc/services.rdb" From: nicholas ferguson [mailto:nicholasfergu...@wingarch.com] Sent: Monday, September 22, 2014 3:54 PM To: 'libreoffice' Subject: can someone spot problem with simplebootstrap_cpp.cxx In odk sample file, SimpleBootstrap_cpp.cxx Reference< XComponentContext > xContext( ::cppu::bootstrap() ); CALLS Reference< XComponentContext > SAL_CALL bootstrap() AND AT CODE char const * p1 = cppuhelper_detail_findSofficePath(); RETURNED VALUE IS "C:\Program Files (x86)\LibreOffice 4\program" THEN // create default local component context Reference< XComponentContext > xLocalContext( defaultBootstrap_InitialComponentContext() ); CALLS css::uno::Reference< css::uno::XComponentContext > cppu::defaultBootstrap_InitialComponentContext(rtl::OUString const & iniUri) AND AT CODE smgr->init(getBootstrapVariable(bs, "UNO_SERVICES")); RETURN VALUE IS AN EXCEPTION "cannot open C:/cygwin64/home/lo/master/instdir/URE/misc/services.rdb" 1. this file does exist: C:/cygwin64/home/lo/master/instdir/URE/misc/services.rdb Question: Can someone tell me what needs to be corrected? Do I add an env variable? From: nicholas ferguson [mailto:nicholasfergu...@wingarch.com] Sent: Monday, September 22, 2014 8:51 AM To: 'libreoffice' Subject: Simple Visual Studio Project (console application) with example of opening/closing scalc doc and printing out formulas in a worksheet, to stdout? Hi Can anyone send me that kind of example? I have libreoffice built in debug mode (--enable-dbgutil), on a windows platform. You copy paste it. If you email it. zip or tar has to be renamed to *.txt Otherwise Norton eats it. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RE: #3 can someone spot problem with simplebootstrap_cpp.cxx
I tracked down this problem further. In processing C:/cygwin64/home/lo/master/instdir/URE/misc/services.rdb In cppuhelper::ServiceManager::readRdbFile() Try{ Parser(..,&data) BUT data is null So this code falls through to readLegacyRdbFile And that function doesn't handle services.rdb So question: what haven't I done? Is there a function to call that will set the variable 'data' to a good value. 'data' appears to be a complicated structure. From: nicholas ferguson [mailto:nicholasfergu...@wingarch.com] Sent: Monday, September 22, 2014 4:18 PM To: 'libreoffice' Subject: RE: #2 can someone spot problem with simplebootstrap_cpp.cxx I tried the following: I uninstalled LibreOffice in c:\Program Files (x86) Then added this code to SimpleBootstrap_cpp.cxx putenv("UNO_PATH=c:/cygwin64/home/lo/master/instdir"); But same error msg as below: "cannot open C:/cygwin64/home/lo/master/instdir/URE/misc/services.rdb" From: nicholas ferguson [mailto:nicholasfergu...@wingarch.com] Sent: Monday, September 22, 2014 3:54 PM To: 'libreoffice' Subject: can someone spot problem with simplebootstrap_cpp.cxx In odk sample file, SimpleBootstrap_cpp.cxx Reference< XComponentContext > xContext( ::cppu::bootstrap() ); CALLS Reference< XComponentContext > SAL_CALL bootstrap() AND AT CODE char const * p1 = cppuhelper_detail_findSofficePath(); RETURNED VALUE IS "C:\Program Files (x86)\LibreOffice 4\program" THEN // create default local component context Reference< XComponentContext > xLocalContext( defaultBootstrap_InitialComponentContext() ); CALLS css::uno::Reference< css::uno::XComponentContext > cppu::defaultBootstrap_InitialComponentContext(rtl::OUString const & iniUri) AND AT CODE smgr->init(getBootstrapVariable(bs, "UNO_SERVICES")); RETURN VALUE IS AN EXCEPTION "cannot open C:/cygwin64/home/lo/master/instdir/URE/misc/services.rdb" 1. this file does exist: C:/cygwin64/home/lo/master/instdir/URE/misc/services.rdb Question: Can someone tell me what needs to be corrected? Do I add an env variable? From: nicholas ferguson [mailto:nicholasfergu...@wingarch.com] Sent: Monday, September 22, 2014 8:51 AM To: 'libreoffice' Subject: Simple Visual Studio Project (console application) with example of opening/closing scalc doc and printing out formulas in a worksheet, to stdout? Hi Can anyone send me that kind of example? I have libreoffice built in debug mode (--enable-dbgutil), on a windows platform. You copy paste it. If you email it. zip or tar has to be renamed to *.txt Otherwise Norton eats it. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RE: #4 can someone spot problem with simplebootstrap_cpp.cxx
The example I am using is building SimpleBootstrap_cpp.cxx as a Visual Studio Console application. It builds. But it complains .. It has two major complaints, which I can solve by: (1)An apparent conclusion is that a console application in C++, Visual Studio Has to initialize cppuhelper::ServiceManager::Data Who can show me an example? (2)Or this application has to work with legacy format for services.rdb, types.rdb etc.. Who can show me an example? And if I spend time working up legacy formats of services.rdb. will that work? Or will further down code sequence complain again that it needs cppuhellper::ServiceManager::Data? From: LibreOffice [mailto:libreoffice-boun...@lists.freedesktop.org] On Behalf Of nicholas ferguson Sent: Monday, September 22, 2014 4:28 PM To: 'libreoffice' Subject: RE: #3 can someone spot problem with simplebootstrap_cpp.cxx I tracked down this problem further. In processing C:/cygwin64/home/lo/master/instdir/URE/misc/services.rdb In cppuhelper::ServiceManager::readRdbFile() Try{ Parser(..,&data) BUT data is null So this code falls through to readLegacyRdbFile And that function doesn't handle services.rdb So question: what haven't I done? Is there a function to call that will set the variable 'data' to a good value. 'data' appears to be a complicated structure. From: nicholas ferguson [mailto:nicholasfergu...@wingarch.com] Sent: Monday, September 22, 2014 4:18 PM To: 'libreoffice' Subject: RE: #2 can someone spot problem with simplebootstrap_cpp.cxx I tried the following: I uninstalled LibreOffice in c:\Program Files (x86) Then added this code to SimpleBootstrap_cpp.cxx putenv("UNO_PATH=c:/cygwin64/home/lo/master/instdir"); But same error msg as below: "cannot open C:/cygwin64/home/lo/master/instdir/URE/misc/services.rdb" From: nicholas ferguson [mailto:nicholasfergu...@wingarch.com] Sent: Monday, September 22, 2014 3:54 PM To: 'libreoffice' Subject: can someone spot problem with simplebootstrap_cpp.cxx In odk sample file, SimpleBootstrap_cpp.cxx Reference< XComponentContext > xContext( ::cppu::bootstrap() ); CALLS Reference< XComponentContext > SAL_CALL bootstrap() AND AT CODE char const * p1 = cppuhelper_detail_findSofficePath(); RETURNED VALUE IS "C:\Program Files (x86)\LibreOffice 4\program" THEN // create default local component context Reference< XComponentContext > xLocalContext( defaultBootstrap_InitialComponentContext() ); CALLS css::uno::Reference< css::uno::XComponentContext > cppu::defaultBootstrap_InitialComponentContext(rtl::OUString const & iniUri) AND AT CODE smgr->init(getBootstrapVariable(bs, "UNO_SERVICES")); RETURN VALUE IS AN EXCEPTION "cannot open C:/cygwin64/home/lo/master/instdir/URE/misc/services.rdb" 1. this file does exist: C:/cygwin64/home/lo/master/instdir/URE/misc/services.rdb Question: Can someone tell me what needs to be corrected? Do I add an env variable? From: nicholas ferguson [mailto:nicholasfergu...@wingarch.com] Sent: Monday, September 22, 2014 8:51 AM To: 'libreoffice' Subject: Simple Visual Studio Project (console application) with example of opening/closing scalc doc and printing out formulas in a worksheet, to stdout? Hi Can anyone send me that kind of example? I have libreoffice built in debug mode (--enable-dbgutil), on a windows platform. You copy paste it. If you email it. zip or tar has to be renamed to *.txt Otherwise Norton eats it. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RE: #5 can someone spot problem with simplebootstrap_cpp.cxx
Here's my dev/debug env. First I built a debug version for windows. autogen.input #--enable-symbols #--enable-pch --enable-vlc --enable-odk --enable-orcus --with-ant-home=/opt/apache-ant-1.9.2 --with-junit=/opt/junit/share/java/junit-4.4.jar --with-visual-studio=2010 #-disable-cve-tests --with-package-format=archive --enable-dbgutil --with-boost-libdir=/home/lo/issues/boost_1_55_0/stage/lib --with-external-tar=/vboxsvr/tml/lo/src After this built, I created a VS console application, using SimpleBootstrap_cpp.cxx. It's an exe, multibyte character set I edited the entry to be a int main(int char, char* argv[]) These are the includes C:\cygwin64;C:/cygwin64/home/lo/master/workdir/UnpackedTarball/liborcus/incl ude;C:/cygwin64/home/lo/master/workdir/UnpackedTarball/mdds/include;C:/cygwi n64/home/lo/master/workdir/UnpackedTarball/icu/source;C:/cygwin64/home/lo/ma ster/workdir/UnpackedTarball/icu/source/i18n;C:/cygwin64/home/lo/master/work dir/UnpackedTarball/icu/source/common;C:/cygwin64/home/lo/master/workdir/Unp ackedTarball/boost;C:\cygwin64\home\lo\master\workdir\UnpackedTarball\cppuni t\include;C:/cygwin64/home/lo/master/sc/source/core/inc;C:/cygwin64/home/lo/ master/sc/source/filter/inc;C:/cygwin64/home/lo/master/sc/source/ui/inc;C:/c ygwin64/home/lo/master/sc/inc;C:/cygwin64/home/lo/master/workdir/SdiTarget/s c/sdi;C:/cygwin64/home/lo/master/include;C:/PROGRA~2/Java/JDK18~1.0_2/includ e/win32;C:/PROGRA~2/Java/JDK18~1.0_2/include;C:/PROGRA~2/MIA713~1/Windows/v7 .0A/include;C:/PROGRA~2/MICROS~1.0/VC/include;C:/PROGRA~2/MI0FC3~1/include;C :/cygwin64/home/lo/master/config_host;C:/cygwin64/home/lo/master/workdir/Cus tomTarget/officecfg/registry;C:/cygwin64/home/lo/master/workdir/UnoApiHeader sTarget/udkapi/normal;C:/cygwin64/home/lo/master/workdir/UnoApiHeadersTarget /offapi/normal;C:/cygwin64/home/lo/master/workdir/UnpackedTarball/xml2/inclu de;C:\cygwin64\home\lo\master\workdir\UnpackedTarball\mdds\include;C:\cygwin 64\home\lo\master\sc\source\ui\sidebar;C:/cygwin64/home/lo/master;C:\cygwin6 4\home\lo\master\workdir\UnoApiHeadersTarget\udkapi\normal These are the preprocessor INTEL;_DEBUG;_X86_;SAL_LOG_INFO;_CRT_NONSTDC_NO_DEPRECATE;CPPU_ENV;WNT;NOMIN MAX;DBG_UTIL;_CRT_SECURE_NO_DEPRECATE;WIN32;RTL_USING;BOOST_MEM_FN_ENABLE_CD ECL;_WIN32_IE;WINVER>0x0400;SAL_LOG_WARN;OSL_DEBUG_LEVEL;_MT;_CRT_NON_CONFOR MING_SWPRINTFS;SUPD;SAL_W32;%(PreprocessorDefinitions) these are the libs ( I have tested various other cpp files..so this list of includes, above and libs..might be bloated ) isfx.lib;isal.lib;iutl.lib;isc.lib;isvl.lib;isb.lib;itl.lib;isalhelper.lib;i sot.lib;icppu.lib;icppuhelper.lib;cppunitd_dll.lib;ii18nlangtag.lib;ivcl.lib ;icomphelper.lib;ipurpenvhelper.lib; These are the lib dirs C:\cygwin64\home\lo\master\workdir\LinkTarget\Library;C:\cygwin64\home\lo\ma ster\instdir\sdk\lib;C:\cygwin64\home\lo\master\workdir\UnpackedTarball\cppu nit\lib ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RE: #4 can someone spot problem with simplebootstrap_cpp.cxx
I know you mean well. But what is top posting? Even googling doesn't return a definition. -Original Message- From: Norbert Thiebaud [mailto:nthieb...@gmail.com] Sent: Tuesday, September 23, 2014 7:23 PM To: nicholas ferguson Cc: libreoffice Subject: Re: #4 can someone spot problem with simplebootstrap_cpp.cxx On Tue, Sep 23, 2014 at 3:25 PM, nicholas ferguson wrote: > (2) Just tell someone they need to make their emails friendly to > grouping in archives... what the heck does this mean: "who need > n.(n+1)/2 messages instead of n ?" Your first post had one message you second one, not only changed the title, but also contained you new message + a full copy of the previous message.. iow 2 messages your third one contained a new message a a full copy ot the 2 previous one so the total number of message is SUM(i=1 to n ; i) = n(n+1)/2 > (3) I didn't understand why one of my emails needed a moderator's > review... so I started numbering my follow-ups...to insure I knew they > went through. Because one or more of them triggered the automated spam filter... and eventually the message was released from moderation... no need for paranoia there. > (1) when you say "top posting"... someone sent me a rather insulting > explanation.. and I didn't read it past its first insult. you have been told by at least 2 different persons on this l ML that top posting is rude and undesirable for instance Michael told you: > In general it is also polite netiquette not to top-post, and to cut > the context of the mail to the minimum necessary for the discussion. of course if you think Michael (or I) does not know what he is talking about, maybe you'll give more weight to a IETF RFC: https://www.ietf.org/rfc/rfc1855.txt --- [...] - Be brief without being overly terse. When replying to a message, include enough original material to be understood but no more. It is extremely bad form to simply reply to a message by including all the previous message: edit out all the irrelevant material. --- You can, of course, chose to ignore these advices and keep being rude. heck you may as well post in all-cap at this point... it really depend what you expect to achieve here... if your goal is to end-up in the /dev/null filter of most people, you're on the right path. Norbert ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RE: #4 can someone spot problem with simplebootstrap_cpp.cxx
So I am getting a vehement response from community regulars as per this Wikipedia warning. So your community of regulars want bottom response? Or can I also do interleaved response...but no top response..right? http://en.wikipedia.org/wiki/Posting_style While each online community differs on which styles are appropriate or acceptable, within some communities the use of the "wrong" method risks being seen as a breach of netiquette, and can provoke vehement response from community regulars. -Original Message- From: LibreOffice [mailto:libreoffice-boun...@lists.freedesktop.org] On Behalf Of Norbert Thiebaud Sent: Tuesday, September 23, 2014 7:23 PM To: nicholas ferguson Cc: libreoffice Subject: Re: #4 can someone spot problem with simplebootstrap_cpp.cxx On Tue, Sep 23, 2014 at 3:25 PM, nicholas ferguson wrote: > (2) Just tell someone they need to make their emails friendly to grouping > in archives... what the heck does this mean: "who need n.(n+1)/2 messages > instead of n ?" Your first post had one message you second one, not only changed the title, but also contained you new message + a full copy of the previous message.. iow 2 messages your third one contained a new message a a full copy ot the 2 previous one so the total number of message is SUM(i=1 to n ; i) = n(n+1)/2 > (3) I didn't understand why one of my emails needed a moderator's > review... so I started numbering my follow-ups...to insure I knew they went > through. Because one or more of them triggered the automated spam filter... and eventually the message was released from moderation... no need for paranoia there. > (1) when you say "top posting"... someone sent me a rather insulting > explanation.. and I didn't read it past its first insult. you have been told by at least 2 different persons on this l ML that top posting is rude and undesirable for instance Michael told you: > In general it is also polite netiquette not to top-post, and to cut the > context of the mail to the minimum necessary for the discussion. of course if you think Michael (or I) does not know what he is talking about, maybe you'll give more weight to a IETF RFC: https://www.ietf.org/rfc/rfc1855.txt --- [...] - Be brief without being overly terse. When replying to a message, include enough original material to be understood but no more. It is extremely bad form to simply reply to a message by including all the previous message: edit out all the irrelevant material. --- You can, of course, chose to ignore these advices and keep being rude. heck you may as well post in all-cap at this point... it really depend what you expect to achieve here... if your goal is to end-up in the /dev/null filter of most people, you're on the right path. Norbert ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RE: #4 can someone spot problem with simplebootstrap_cpp.cxx
>of course if you think Michael (or I) does not know what >he is talking about, maybe you'll give more weight to a >IETF RFC: >https://www.ietf.org/rfc/rfc1855.txt So I am getting a vehement response from community regulars as per this Wikipedia warning. So your community of regulars want bottom response? Or can I also do interleaved response...but no top response..right? http://en.wikipedia.org/wiki/Posting_style "While each online community differs on which styles are appropriate or acceptable, within some communities the use of the "wrong" method risks being seen as a breach of netiquette, and can provoke vehement response from community regulars." ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RE: #4 can someone spot problem with simplebootstrap_cpp.cxx
As the wikipedia explains, many businesses encourage top posting...like for blackberry etc.. so I had no clue there was a community of regulars around lists...that would give a vehement reaction if their email netiquette was not followed. European right? -Original Message- From: LibreOffice [mailto:libreoffice-boun...@lists.freedesktop.org] On Behalf Of nicholas ferguson Sent: Tuesday, September 23, 2014 8:23 PM To: 'Norbert Thiebaud' Cc: 'libreoffice' Subject: RE: #4 can someone spot problem with simplebootstrap_cpp.cxx >of course if you think Michael (or I) does not know what >he is talking about, maybe you'll give more weight to a >IETF RFC: >https://www.ietf.org/rfc/rfc1855.txt So I am getting a vehement response from community regulars as per this Wikipedia warning. So your community of regulars want bottom response? Or can I also do interleaved response...but no top response..right? http://en.wikipedia.org/wiki/Posting_style "While each online community differs on which styles are appropriate or acceptable, within some communities the use of the "wrong" method risks being seen as a breach of netiquette, and can provoke vehement response from community regulars." ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Top posting vs posting styles
http://en.wikipedia.org/wiki/Posting_style Here's Wikipedia: "While each online community differs on which styles are appropriate or acceptable, within some communities the use of the "wrong" method risks being seen as a breach of netiquette, and can provoke vehement response from community regulars." And further it says that community regulars citing breaches of netiquette will cite rfc1855... But wikipedia says that rfc1855 is informational only. This Wikipedia page also mentions that many businesses encourage top posting...like for blackberry etc.. And because of widespread use of top posting at businesses ( think office email ) bottom posting is now rarely seen. -Original Message- From: LibreOffice [mailto:libreoffice-boun...@lists.freedesktop.org] On Behalf Of Norbert Thiebaud Sent: Tuesday, September 23, 2014 7:23 PM To: nicholas ferguson Cc: libreoffice Subject: Re: #4 can someone spot problem with simplebootstrap_cpp.cxx On Tue, Sep 23, 2014 at 3:25 PM, nicholas ferguson wrote: > (2) Just tell someone they need to make their emails friendly to > grouping in archives... what the heck does this mean: "who need > n.(n+1)/2 messages instead of n ?" Your first post had one message you second one, not only changed the title, but also contained you new message + a full copy of the previous message.. iow 2 messages your third one contained a new message a a full copy ot the 2 previous one so the total number of message is SUM(i=1 to n ; i) = n(n+1)/2 > (3) I didn't understand why one of my emails needed a moderator's > review... so I started numbering my follow-ups...to insure I knew they > went through. Because one or more of them triggered the automated spam filter... and eventually the message was released from moderation... no need for paranoia there. > (1) when you say "top posting"... someone sent me a rather insulting > explanation.. and I didn't read it past its first insult. you have been told by at least 2 different persons on this l ML that top posting is rude and undesirable for instance Michael told you: > In general it is also polite netiquette not to top-post, and to cut > the context of the mail to the minimum necessary for the discussion. of course if you think Michael (or I) does not know what he is talking about, maybe you'll give more weight to a IETF RFC: https://www.ietf.org/rfc/rfc1855.txt --- [...] - Be brief without being overly terse. When replying to a message, include enough original material to be understood but no more. It is extremely bad form to simply reply to a message by including all the previous message: edit out all the irrelevant material. --- You can, of course, chose to ignore these advices and keep being rude. heck you may as well post in all-cap at this point... it really depend what you expect to achieve here... if your goal is to end-up in the /dev/null filter of most people, you're on the right path. Norbert ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
C++ code question. Open a s/h document.
For the code, below, when it calls line numbered //D, below . Reference xInterface( xServiceManager->createInstanceWithContext(service, xContext)); error msg is abort() is returned. I see that when interfaces or code is deprecated, its function returns abort() . Error code also references a cpp file and file line number: /binaryurp/source/marshall.cxx line 133 But that offers little clue to me, at this stage. Question: What is a proper C++ expression to to do: Reference xComponentLoader( xInterface, UNO_QUERY_THROW); After this call then //E is called . (1)Is the a putenv() variable..to do? (2)The fact that code sections , A,B,C worked. Does this indicate that libreoffice is properly setup? (3)My dev env is using cygwin64 and Visual Studio. try { // A ==èTHIS CODE SEGMENT WORKS // Get the remote office component context Reference xContext(bootstrap()); if (! xContext.is()) { std::cerr << "No component context!\n"; return false; } // B ==èTHIS CODE SEGMENT WORKS // Get the remote office service manager Reference xServiceManager(xContext->getServiceManager()); if (! xServiceManager.is()) { std::cerr << "No service manager!\n"; return false; } // C ==èTHIS CODE SEGMENT WORKS // Get an instance of the remote office desktop UNO service // and query the XComponentLoader interface OUString service(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.frame.Desktop")); Reference xInterface( xServiceManager->createInstanceWithContext(service, xContext)); // D ? THIS CODE SEGMENT BOMBS Reference xComponentLoader( xInterface, UNO_QUERY_THROW); // E NEXT CALL WOULD BE // Open a spreadsheet document OUString url(RTL_CONSTASCII_USTRINGPARAM("private:factory/scalc")); OUString frameName(RTL_CONSTASCII_USTRINGPARAM("_blank")); Reference xComponent = xComponentLoader->loadComponentFromURL(url, frameName, 0, Sequence()); d_xComponent = xComponent; ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
which library needs to be linked to, that has implementation code for ErrorInfo::IsA
My env. Cygwin + Visual Studio. Windows 7 (1)IsA in ErrorInfo comes from a macro in rtti.hxx a. /include/tools/errinfo.hxx i. class ErrorInfo has as member, macro TYPEINFO() to include 5 methods, including IsA b. /include/tools/rtti.hxx i. This has macros, including TYPEINFO c. Tools/ref/errinf.cxx ( implementation file, but does not include implementations for five methods via TYPEINFO macro. (2)What library needs to be linked to that has implementation code for macros in rtti.hxx for a Win32 Intel platform? Here is a test code //=== #include "stdafx.h" #include #include typedef void* (*TypeId)(); class ErrorInfoX { private: sal_uIntPtr lUserId; public: TYPEINFO(); ErrorInfoX( sal_uIntPtr lArgUserId ) : lUserId( lArgUserId ){} virtual ~ErrorInfoX(){} sal_uIntPtr GetErrorCode() const { return lUserId; } static ErrorInfoX* GetErrorInfo(sal_uIntPtr); }; int main(int argc, char* argv[]) { sal_uIntPtr t = 4; ErrorInfoX err(t); return 0; } //linked to lib(s) itl.lib ( tools ) /* error output: 1>testdefine.obj : error LNK2001: unresolved external symbol "public: virtual void * (__cdecl*__thiscall ErrorInfoX::Type(void)const )(void)" (?Type@ErrorInfoX@@UBEP6APAXXZXZ) 1>testdefine.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall ErrorInfoX::IsA(void * (__cdecl*)(void))const " (?IsA@ErrorInfoX@@UBE_NP6APAXXZ@Z) 1>C:\cygwin64\home\lo\Excel.Analysis\Test.OpenClose\Debug\testdefine.exe : fatal error LNK1120: 2 unresolved externals */ // ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RE: which library needs to be linked to, that has implementation code for ErrorInfo::IsA
Not a library...probably a preprocessor directive? From: LibreOffice [mailto:libreoffice-boun...@lists.freedesktop.org] On Behalf Of nicholas ferguson Sent: Sunday, September 28, 2014 7:19 PM To: 'libreoffice' Subject: which library needs to be linked to, that has implementation code for ErrorInfo::IsA My env. Cygwin + Visual Studio. Windows 7 (1)IsA in ErrorInfo comes from a macro in rtti.hxx a. /include/tools/errinfo.hxx i. class ErrorInfo has as member, macro TYPEINFO() to include 5 methods, including IsA b. /include/tools/rtti.hxx i. This has macros, including TYPEINFO c. Tools/ref/errinf.cxx ( implementation file, but does not include implementations for five methods via TYPEINFO macro. (2)What library needs to be linked to that has implementation code for macros in rtti.hxx for a Win32 Intel platform? Here is a test code //=== #include "stdafx.h" #include #include typedef void* (*TypeId)(); class ErrorInfoX { private: sal_uIntPtr lUserId; public: TYPEINFO(); ErrorInfoX( sal_uIntPtr lArgUserId ) : lUserId( lArgUserId ){} virtual ~ErrorInfoX(){} sal_uIntPtr GetErrorCode() const { return lUserId; } static ErrorInfoX* GetErrorInfo(sal_uIntPtr); }; int main(int argc, char* argv[]) { sal_uIntPtr t = 4; ErrorInfoX err(t); return 0; } //linked to lib(s) itl.lib ( tools ) /* error output: 1>testdefine.obj : error LNK2001: unresolved external symbol "public: virtual void * (__cdecl*__thiscall ErrorInfoX::Type(void)const )(void)" (?Type@ErrorInfoX@@UBEP6APAXXZXZ) 1>testdefine.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall ErrorInfoX::IsA(void * (__cdecl*)(void))const " (?IsA@ErrorInfoX@@UBE_NP6APAXXZ@Z) 1>C:\cygwin64\home\lo\Excel.Analysis\Test.OpenClose\Debug\testdefine.exe : fatal error LNK1120: 2 unresolved externals */ // ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
which library needs to be linked to, that has implementation code for ErrorInfo::IsA
this is a better example of the error msg. This example does not introduce extraneous class definitions. I assume I get unresolved externals.because of a preprocessor directive? This example linkes with the tools.lib (itl.lib) // #include "stdafx.h" #include #include #include int main(int argc, char* argv[]) { sal_uIntPtr t = 4; sal_uIntPtr lUserId = 4; sal_uInt16 nMask = 4; DynamicErrorInfo err(lUserId,nMask); return 0; } // libs itl.lib ( tools ) /* error output: 1>testdefine.obj : error LNK2001: unresolved external symbol "public: virtual void * (__cdecl*__thiscall ErrorInfo::Type(void)const )(void)" (?Type@ErrorInfo@@UBEP6APAXXZXZ) 1>testdefine.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall ErrorInfo::IsA(void * (__cdecl*)(void))const " (?IsA@ErrorInfo@@UBE_NP6APAXXZ@Z) 1>C:\cygwin64\home\lo\Excel.Analysis\Test.OpenClose\Debug\testdefine.exe : fatal error LNK1120: 2 unresolved externals */ From: LibreOffice [mailto:libreoffice-boun...@lists.freedesktop.org] On Behalf Of nicholas ferguson Sent: Sunday, September 28, 2014 9:23 PM To: 'libreoffice' Subject: RE: which library needs to be linked to, that has implementation code for ErrorInfo::IsA Not a library...probably a preprocessor directive? From: LibreOffice [mailto:libreoffice-boun...@lists.freedesktop.org] On Behalf Of nicholas ferguson Sent: Sunday, September 28, 2014 7:19 PM To: 'libreoffice' Subject: which library needs to be linked to, that has implementation code for ErrorInfo::IsA My env. Cygwin + Visual Studio. Windows 7 (1)IsA in ErrorInfo comes from a macro in rtti.hxx a. /include/tools/errinfo.hxx i. class ErrorInfo has as member, macro TYPEINFO() to include 5 methods, including IsA b. /include/tools/rtti.hxx i. This has macros, including TYPEINFO c. Tools/ref/errinf.cxx ( implementation file, but does not include implementations for five methods via TYPEINFO macro. (2)What library needs to be linked to that has implementation code for macros in rtti.hxx for a Win32 Intel platform? Here is a test code //=== #include "stdafx.h" #include #include typedef void* (*TypeId)(); class ErrorInfoX { private: sal_uIntPtr lUserId; public: TYPEINFO(); ErrorInfoX( sal_uIntPtr lArgUserId ) : lUserId( lArgUserId ){} virtual ~ErrorInfoX(){} sal_uIntPtr GetErrorCode() const { return lUserId; } static ErrorInfoX* GetErrorInfo(sal_uIntPtr); }; int main(int argc, char* argv[]) { sal_uIntPtr t = 4; ErrorInfoX err(t); return 0; } //linked to lib(s) itl.lib ( tools ) /* error output: 1>testdefine.obj : error LNK2001: unresolved external symbol "public: virtual void * (__cdecl*__thiscall ErrorInfoX::Type(void)const )(void)" (?Type@ErrorInfoX@@UBEP6APAXXZXZ) 1>testdefine.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall ErrorInfoX::IsA(void * (__cdecl*)(void))const " (?IsA@ErrorInfoX@@UBE_NP6APAXXZ@Z) 1>C:\cygwin64\home\lo\Excel.Analysis\Test.OpenClose\Debug\testdefine.exe : fatal error LNK1120: 2 unresolved externals */ // ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RE: which library needs to be linked to, that has implementation code for ErrorInfo::IsA
this is a better example of the error msg. This example does not introduce extraneous class definitions. I assume I get unresolved externals.because of a preprocessor directive? This example linkes with the tools.lib (itl.lib) // #include "stdafx.h" #include #include #include int main(int argc, char* argv[]) { sal_uIntPtr t = 4; sal_uIntPtr lUserId = 4; sal_uInt16 nMask = 4; DynamicErrorInfo err(lUserId,nMask); return 0; } // libs itl.lib ( tools ) /* error output: 1>testdefine.obj : error LNK2001: unresolved external symbol "public: virtual void * (__cdecl*__thiscall ErrorInfo::Type(void)const )(void)" (?Type@ErrorInfo@@UBEP6APAXXZXZ) 1>testdefine.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall ErrorInfo::IsA(void * (__cdecl*)(void))const " (?IsA@ErrorInfo@@UBE_NP6APAXXZ@Z) 1>C:\cygwin64\home\lo\Excel.Analysis\Test.OpenClose\Debug\testdefine.exe : fatal error LNK1120: 2 unresolved externals */ From: LibreOffice [mailto:libreoffice-boun...@lists.freedesktop.org] On Behalf Of nicholas ferguson Sent: Sunday, September 28, 2014 9:23 PM To: 'libreoffice' Subject: RE: which library needs to be linked to, that has implementation code for ErrorInfo::IsA Not a library...probably a preprocessor directive? From: LibreOffice [mailto:libreoffice-boun...@lists.freedesktop.org] On Behalf Of nicholas ferguson Sent: Sunday, September 28, 2014 7:19 PM To: 'libreoffice' Subject: which library needs to be linked to, that has implementation code for ErrorInfo::IsA My env. Cygwin + Visual Studio. Windows 7 (1)IsA in ErrorInfo comes from a macro in rtti.hxx a. /include/tools/errinfo.hxx i. class ErrorInfo has as member, macro TYPEINFO() to include 5 methods, including IsA b. /include/tools/rtti.hxx i. This has macros, including TYPEINFO c. Tools/ref/errinf.cxx ( implementation file, but does not include implementations for five methods via TYPEINFO macro. (2)What library needs to be linked to that has implementation code for macros in rtti.hxx for a Win32 Intel platform? Here is a test code //=== #include "stdafx.h" #include #include typedef void* (*TypeId)(); class ErrorInfoX { private: sal_uIntPtr lUserId; public: TYPEINFO(); ErrorInfoX( sal_uIntPtr lArgUserId ) : lUserId( lArgUserId ){} virtual ~ErrorInfoX(){} sal_uIntPtr GetErrorCode() const { return lUserId; } static ErrorInfoX* GetErrorInfo(sal_uIntPtr); }; int main(int argc, char* argv[]) { sal_uIntPtr t = 4; ErrorInfoX err(t); return 0; } //linked to lib(s) itl.lib ( tools ) /* error output: 1>testdefine.obj : error LNK2001: unresolved external symbol "public: virtual void * (__cdecl*__thiscall ErrorInfoX::Type(void)const )(void)" (?Type@ErrorInfoX@@UBEP6APAXXZXZ) 1>testdefine.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall ErrorInfoX::IsA(void * (__cdecl*)(void))const " (?IsA@ErrorInfoX@@UBE_NP6APAXXZ@Z) 1>C:\cygwin64\home\lo\Excel.Analysis\Test.OpenClose\Debug\testdefine.exe : fatal error LNK1120: 2 unresolved externals */ // ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
which library needs to be linked to, that has implementation code for ErrorInfo::IsA
One of these preprocessors prevented a code, below, from kicking out an error similar to 1>testdefine.obj : error LNK2001: unresolved external symbol "public: virtual void * (__cdecl*__thiscall ErrorInfo::Type(void)const )(void)" (?Type@ErrorInfo@@UBEP6APAXXZXZ) 1>testdefine.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall ErrorInfo::IsA(void * (__cdecl*)(void))const " (?IsA@ErrorInfo@@UBE_NP6APAXXZ@Z) Here are the preprocessors. can anyone explain which one and how? INTEL;_DEBUG;_X86_;SAL_LOG_INFO;_CRT_NONSTDC_NO_DEPRECATE; EDITENG_DLLIMPLEMENTATION;CPPU_ENV;WNT;NOMINMAX;DBG_UTIL;_CRT_SECURE_NO_DEPR ECATE; WIN32;RTL_USING;BOOST_MEM_FN_ENABLE_CDECL;_WIN32_IE;_DLL;_REENTRANT;WINVER>0 x0400;S AL_LOG_WARN;OSL_DEBUG_LEVEL;_MT;_CRT_NON_CONFORMING_SWPRINTFS;SUPD;LIBO_INTE RNAL_ONLY Essentially I searched for a module that used StringErrorInfo, and then copied its preprocessors.and that worked. // #include "stdafx.h" #include #include #include int main(int argc, char* argv[]) { sal_uIntPtr t = 4; sal_uIntPtr lUserId = 4; sal_uInt16 nMask = 4; DynamicErrorInfo err(lUserId,nMask); return 0; } // libs itl.lib ( tools ) From: LibreOffice [mailto:libreoffice-boun...@lists.freedesktop.org] On Behalf Of nicholas ferguson Sent: Sunday, September 28, 2014 9:37 PM To: 'libreoffice' Subject: which library needs to be linked to, that has implementation code for ErrorInfo::IsA this is a better example of the error msg. This example does not introduce extraneous class definitions. I assume I get unresolved externals.because of a preprocessor directive? This example linkes with the tools.lib (itl.lib) // #include "stdafx.h" #include #include #include int main(int argc, char* argv[]) { sal_uIntPtr t = 4; sal_uIntPtr lUserId = 4; sal_uInt16 nMask = 4; DynamicErrorInfo err(lUserId,nMask); return 0; } // libs itl.lib ( tools ) /* error output: 1>testdefine.obj : error LNK2001: unresolved external symbol "public: virtual void * (__cdecl*__thiscall ErrorInfo::Type(void)const )(void)" (?Type@ErrorInfo@@UBEP6APAXXZXZ) 1>testdefine.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall ErrorInfo::IsA(void * (__cdecl*)(void))const " (?IsA@ErrorInfo@@UBE_NP6APAXXZ@Z) */ From: LibreOffice [mailto:libreoffice-boun...@lists.freedesktop.org] On Behalf Of nicholas ferguson Sent: Sunday, September 28, 2014 9:23 PM To: 'libreoffice' Subject: RE: which library needs to be linked to, that has implementation code for ErrorInfo::IsA Not a library...probably a preprocessor directive? From: LibreOffice [mailto:libreoffice-boun...@lists.freedesktop.org] On Behalf Of nicholas ferguson Sent: Sunday, September 28, 2014 7:19 PM To: 'libreoffice' Subject: which library needs to be linked to, that has implementation code for ErrorInfo::IsA My env. Cygwin + Visual Studio. Windows 7 (1)IsA in ErrorInfo comes from a macro in rtti.hxx a. /include/tools/errinfo.hxx i. class ErrorInfo has as member, macro TYPEINFO() to include 5 methods, including IsA b. /include/tools/rtti.hxx i. This has macros, including TYPEINFO c. Tools/ref/errinf.cxx ( implementation file, but does not include implementations for five methods via TYPEINFO macro. (2)What library needs to be linked to that has implementation code for macros in rtti.hxx for a Win32 Intel platform? Here is a test code //=== #include "stdafx.h" #include #include typedef void* (*TypeId)(); class ErrorInfoX { private: sal_uIntPtr lUserId; public: TYPEINFO(); ErrorInfoX( sal_uIntPtr lArgUserId ) : lUserId( lArgUserId ){} virtual ~ErrorInfoX(){} sal_uIntPtr GetErrorCode() const { return lUserId; } static ErrorInfoX* GetErrorInfo(sal_uIntPtr); }; int main(int argc, char* argv[]) { sal_uIntPtr t = 4; ErrorInfoX err(t); return 0; } //linked to lib(s) itl.lib ( tools ) /* error output: 1>testdefine.obj : error LNK2001: unresolved external symbol "public: virtual void * (__cdecl*__thiscall ErrorInfoX::Type(void)const )(void)" (?Type@ErrorInfoX@@UBEP6APAXXZXZ) 1>testdefine.obj : error LNK2001: unresolved exter
c++ app samples that communicates with libreoffice, to work with a CALC doc.
I'm working up an independent c++ app (win32 console application) that talks to Libreoffice, "preferably via pipes"... and will open, close and manage a Calc spreadsheet. This is a proof of concept..to see if LibreOffice can add value. Can anyone send me a sample. sample can be for a linux or windows platform. An independent C++ application (console application) can talk to libreoffice via tcp.ip, pipes or ole. ( could be others?) The problem is that LibreOffice samples that work with a calc doc, that I have found googling, cover two different LibreOffice architectures. Todate, I have only found one c++ sample that works with a calc doc, that uses Windows DCOM, that built and worked without any error codes. All samples that I have found, googling, use a deprecated libreoffice architecture. ( except for one ole dcom sample) Deprecated architecture: Samples work with LibreOffices by using file , Last seen in version 4.0.0.3 ( about) Plus there are architecture differences in working with rdb files, etc... And then functions,in a current version of LibreOffice, that are deprecated due to architecture changes, return abort(). This increases difficulty in debugging. Because this allows a build, but then if that function is called, it makes an app crash. It's hard to fanthom why this approach was used. A good example cppuhelper/source/compat.hxx line 56. ReferencecreateSimpleRegistry(OUString const&) returns std::abort. There is a comment "//avoid "must return a value warning" ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RE: which library needs to be linked to, that has implementation code for ErrorInfo::IsA
You can always ask me questionlike what am I trying to do.. I didn't understand your response. -Original Message- From: LibreOffice [mailto:libreoffice-boun...@lists.freedesktop.org] On Behalf Of Stephan Bergmann Sent: Monday, September 29, 2014 3:38 AM To: nicholas ferguson; 'libreoffice' Subject: Re: which library needs to be linked to, that has implementation code for ErrorInfo::IsA On 09/29/2014 03:56 AM, nicholas ferguson wrote: > Essentially I searched for a module that used StringErrorInfo, and > then copied its preprocessors.and that worked. A word of advice: Replacing the LO build system with your own functionality, even only partially, is apparently hard and error prone, and requires intimate knowledge of the existing build system. If you want to get anything else done (other than establishing your own build system), use the existing LO build system. For the other questions you pose on this ML that are not clearly related to your own build system, people will shy away from trying to help you, as it is unclear whether your problems ultimately stem from your own build system or from something else, and trying to "remote-debug" something like that is a mess that nobody likes to get drawn into. Stephan ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
c++ app samples that communicates with libreoffice, to work with a CALC doc.
I only need a simple c++ sample, that in its main, includes code to: ( I'm not sure if what follows below is old or new libreoffice architecture terms?) + get a remote office component context + get the remote office service manager + get an instance of the remote office desktop UNO service + query the XComponentLoader interface + Open a spreadsheet document, with a handle to doc -Original Message- From: LibreOffice [mailto:libreoffice-boun...@lists.freedesktop.org] On Behalf Of nicholas ferguson Sent: Monday, September 29, 2014 8:26 AM To: 'libreoffice' Subject: c++ app samples that communicates with libreoffice, to work with a CALC doc. I'm working up an independent c++ app (win32 console application) that talks to Libreoffice, "preferably via pipes"... and will open, close and manage a Calc spreadsheet. This is a proof of concept..to see if LibreOffice can add value. Can anyone send me a sample. sample can be for a linux or windows platform. An independent C++ application (console application) can talk to libreoffice via tcp.ip, pipes or ole. ( could be others?) The problem is that LibreOffice samples that work with a calc doc, that I have found googling, cover two different LibreOffice architectures. Todate, I have only found one c++ sample that works with a calc doc, that uses Windows DCOM, that built and worked without any error codes. All samples that I have found, googling, use a deprecated libreoffice architecture. ( except for one ole dcom sample) Deprecated architecture: Samples work with LibreOffices by using file , Last seen in version 4.0.0.3 ( about) Plus there are architecture differences in working with rdb files, etc... And then functions,in a current version of LibreOffice, that are deprecated due to architecture changes, return abort(). This increases difficulty in debugging. Because this allows a build, but then if that function is called, it makes an app crash. It's hard to fanthom why this approach was used. A good example cppuhelper/source/compat.hxx line 56. ReferencecreateSimpleRegistry(OUString const&) returns std::abort. There is a comment "//avoid "must return a value warning" ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
c++ app samples that communicates with libreoffice, to work with a CALC doc.
I only need a simple c++ sample, that in its main, includes code to: ( I'm not sure if what follows below is old or new libreoffice architecture terms?) + get a remote office component context + get the remote office service manager + get an instance of the remote office desktop UNO service + query for the XComponentLoader interface + Open a spreadsheet document, with a handle to doc -Original Message- From: LibreOffice [mailto:libreoffice-boun...@lists.freedesktop.org] On Behalf Of nicholas ferguson Sent: Monday, September 29, 2014 8:26 AM To: 'libreoffice' Subject: c++ app samples that communicates with libreoffice, to work with a CALC doc. I'm working up an independent c++ app (win32 console application) that talks to Libreoffice, "preferably via pipes"... and will open, close and manage a Calc spreadsheet. This is a proof of concept..to see if LibreOffice can add value. Can anyone send me a sample. sample can be for a linux or windows platform. An independent C++ application (console application) can talk to libreoffice via tcp.ip, pipes or ole. ( could be others?) The problem is that LibreOffice samples that work with a calc doc, that I have found googling, cover two different LibreOffice architectures. Todate, I have only found one c++ sample that works with a calc doc, that uses Windows DCOM, that built and worked without any error codes. All samples that I have found, googling, use a deprecated libreoffice architecture. ( except for one ole dcom sample) Deprecated architecture: Samples work with LibreOffices by using file , Last seen in version 4.0.0.3 ( about) Plus there are architecture differences in working with rdb files, etc... And then functions,in a current version of LibreOffice, that are deprecated due to architecture changes, return abort(). This increases difficulty in debugging. Because this allows a build, but then if that function is called, it makes an app crash. It's hard to fanthom why this approach was used. A good example cppuhelper/source/compat.hxx line 56. ReferencecreateSimpleRegistry(OUString const&) returns std::abort. There is a comment "//avoid "must return a value warning" ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RE: c++ app samples that communicates with libreoffice, to work with a CALC doc.
On 09/29/2014 02:26 PM, nicholas ferguson wrote: > Can anyone send me a sample. sample can be for a linux or windows > platform. >>Stephan replied: >>ProfUNO/SimpleBootstrap_cpp/ For this example to qualify as a sample for an external C++ console application, I have to build this code into an executable. SimpleBootStrap_cpp.exe I replaced line 52: SAL_IMPLEMENT_MAIN_WITH_ARGS(argc,argv) with int main(int argc, char* argv[]) then it builds but it crashes at ( it also crashes there...even if I keep SAL_IMPLEMENT_MAIN_WITH_ARGS(argc,argv) Line 75: Reference< XDesktop2> xComponentLoader = Desktop::create(xContext); error msg is that abort() was called. And assertion failed value.is(). file binaryurp/source/marshall.cxx line 133. How to make this work? Do I need a putenv(token=value) or is it a preprocessor? Can you send me a Visual Studio Project where this works? ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice