[Libreoffice-bugs] [Bug 155959] LibreOffice C++ SDK make does not work neither in Cygwin shell nor in CMD without GNU make

2023-11-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155959

Buovjaga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
Summary|LibreOffice C++ SDK make|LibreOffice C++ SDK make
   |does not work neither in|does not work neither in
   |Cygwin shell nor in CMD |Cygwin shell nor in CMD
   ||without GNU make
 CC||ilmari.lauhakangas@libreoff
   ||ice.org
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155959] LibreOffice C++ SDK make does not work neither in Cygwin shell nor in CMD

2023-10-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155959

Hossein  changed:

   What|Removed |Added

   Keywords||bibisectRequest

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155959] LibreOffice C++ SDK make does not work neither in Cygwin shell nor in CMD

2023-10-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155959

QA Administrators  changed:

   What|Removed |Added

 Whiteboard| QA:needsComment|

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155959] LibreOffice C++ SDK make does not work neither in Cygwin shell nor in CMD

2023-10-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155959

Stephan Bergmann  changed:

   What|Removed |Added

 CC||sberg...@redhat.com

--- Comment #4 from Stephan Bergmann  ---
For me, your recipe from comment 0 works fine if I use GNU make (as required at
) in CMD.

(I'm not aware that using Cygwin shell for the SDK would be supported now.  At
least traditionally, you had to use CMD.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155959] LibreOffice C++ SDK make does not work neither in Cygwin shell nor in CMD

2023-07-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155959

QA Administrators  changed:

   What|Removed |Added

 Whiteboard|| QA:needsComment

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155959] LibreOffice C++ SDK make does not work neither in Cygwin shell nor in CMD

2023-06-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155959

--- Comment #3 from Hossein  ---
This is the output from make make DocumentLoader.run:

c:\cygwin64\home\user\lode\dev\core\instdir\sdk\examples\cpp\DocumentLoader>make
DocumentLoader.run

cd c:\libreoffice24.2_sdk\WINexample.out\bin && DocumentLoader
-env:URE_MORE_TYPES=file:///"C:/cygwin64/home/user/lode/dev/core/instdir/program/types/offapi.rdb"
"C:\cygwin64\home\user\lode\dev\core\instdir\sdk\examples\cpp\DocumentLoader\test.odt"
/bin/sh: line 1: cd: c:libreoffice24.2_sdkWINexample.outbin: No such file or
directory
make: *** [Makefile:100: DocumentLoader.run] Error 1

It seems that directory separators are lost:
/bin/sh: line 1: cd: c:libreoffice24.2_sdkWINexample.outbin: No such file or
directory

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155959] LibreOffice C++ SDK make does not work neither in Cygwin shell nor in CMD

2023-06-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155959

--- Comment #2 from Hossein  ---
As discussed in tdf#155956, it seems that the office dir is mixed with the
binary installation. So, I tried to do the steps again. In this test, cppumaker
is not problematic, but I still get the error:

c:\cygwin64\home\user\lode\dev\core\instdir\sdk\examples\cpp\DocumentLoader>make
mkdir c:\libreoffice24.2_sdk\WINexample.out\misc
mkdir: cannot create directory 'c:\\libreoffice24.2_sdk\\WINexample.out\\misc':
File exists
make: [../../../settings/stdtarget.mk:32:
c:/libreoffice24.2_sdk/WINexample.out/misc/oosdk_cpp_types.flag] Error 1
(ignored)
del c:\libreoffice24.2_sdk\WINexample.out\misc\oosdk_cpp_types.flag
make: del: No such file or directory
make: [../../../settings/stdtarget.mk:33:
c:/libreoffice24.2_sdk/WINexample.out/misc/oosdk_cpp_types.flag] Error 127
(ignored)
"C:\cygwin64\home\user\lode\dev\core\instdir\sdk/bin/cppumaker" -Gc
-Oc:/libreoffice24.2_sdk/WINexample.out/inc
"C:/cygwin64/home/user/lode/dev/core/instdir/program/types.rdb"
"C:/cygwin64/home/user/lode/dev/core/instdir/program/types/offapi.rdb"
echo flagged > c:/libreoffice24.2_sdk/WINexample.out/misc/oosdk_cpp_types.flag
mkdir c:\libreoffice24.2_sdk\WINexample.out\obj\DocumentLoader
mkdir: cannot create directory
'c:\\libreoffice24.2_sdk\\WINexample.out\\obj\\DocumentLoader': No such file or
directory
make: [Makefile:64:
c:/libreoffice24.2_sdk/WINexample.out/obj/DocumentLoader/DocumentLoader.obj]
Error 1 (ignored)
cl -c -MDd -Zm500 -Zc:wchar_t- -wd4251 -wd4275 -wd4290 -wd4675 -wd4786 -wd4800
-GR -EHa  -I. -Ic:/libreoffice24.2_sdk/WINexample.out/inc
-Ic:/libreoffice24.2_sdk/WINexample.out/inc/examples -I../../../include
-Ic:/libreoffice24.2_sdk/WINexample.out/inc/DocumentLoader -DWIN32 -DWNT -D_DLL
-DCPPU_ENV=mscx
-Foc:\libreoffice24.2_sdk\WINexample.out\obj\DocumentLoader\DocumentLoader.obj
DocumentLoader.cxx
Microsoft (R) C/C++ Optimizing Compiler Version 19.36.32534 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

DocumentLoader.cxx
c:\cygwin64\home\user\lode\dev\core\instdir\sdk\examples\cpp\DocumentLoader\DocumentLoader.cxx
: fatal error C1083: Cannot open compiler generated file:
'c:\libreoffice24.2_sdk\WINexample.out\obj\DocumentLoader\DocumentLoader.obj':
No such file or directory
make: *** [Makefile:65:
c:/libreoffice24.2_sdk/WINexample.out/obj/DocumentLoader/DocumentLoader.obj]
Error 1


By creating the obj directory in C:\libreoffice24.2_sdk\WINexample.out
manually, the build passes. I think some commands in cygwin and cmd are mixed,
although I did all the configuration in cmd here.

The new output is:

c:\cygwin64\home\user\lode\dev\core\instdir\sdk\examples\cpp\DocumentLoader>make
mkdir c:\libreoffice24.2_sdk\WINexample.out\obj\DocumentLoader
cl -c -MDd -Zm500 -Zc:wchar_t- -wd4251 -wd4275 -wd4290 -wd4675 -wd4786 -wd4800
-GR -EHa  -I. -Ic:/libreoffice24.2_sdk/WINexample.out/inc
-Ic:/libreoffice24.2_sdk/WINexample.out/inc/examples -I../../../include
-Ic:/libreoffice24.2_sdk/WINexample.out/inc/DocumentLoader -DWIN32 -DWNT -D_DLL
-DCPPU_ENV=mscx
-Foc:\libreoffice24.2_sdk\WINexample.out\obj\DocumentLoader\DocumentLoader.obj
DocumentLoader.cxx
Microsoft (R) C/C++ Optimizing Compiler Version 19.36.32534 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

DocumentLoader.cxx
mkdir c:\libreoffice24.2_sdk\WINexample.out\bin
mkdir c:\libreoffice24.2_sdk\WINexample.out\misc\DocumentLoader
link /MAP /OPT:NOREF /SUBSYSTEM:CONSOLE /BASE:0x110
/OUT:c:/libreoffice24.2_sdk/WINexample.out/bin/DocumentLoader.exe
/MAP:c:/libreoffice24.2_sdk/WINexample.out/misc/DocumentLoader/DocumentLoader.map
\
  c:/libreoffice24.2_sdk/WINexample.out/obj/DocumentLoader/DocumentLoader.obj
icppuhelper.lib icppu.lib isalhelper.lib isal.lib
Microsoft (R) Incremental Linker Version 14.36.32534.0
Copyright (C) Microsoft Corporation.  All rights reserved.

   Creating library
c:\libreoffice24.2_sdk\WINexample.out\bin\DocumentLoader.lib and object
c:\libreoffice24.2_sdk\WINexample.out\bin\DocumentLoader.exp
LINK : warning LNK4281: undesirable base address 0x110 for x64 image; set
base address above 4GB for best ASLR optimization

The example loads the test.odt document in the DocumentLoader example
directory.
If you want to load your own document, please use:
DocumentLoader -env:URE_MORE_TYPES= filename
[connection_url]
-
Use the following command to execute the example!
-
make DocumentLoader.run
-
NOTE: This example does not use the new UNO bootstrap mechanism, it uses still
a socket
connection. The example use the defaultBootstrap_InitialComponentContext method
and provides
the additional office types via the UNO environment variable
-env:URE_MORE_TYPES=...
Before you can run this example you have to start your office in listening
mode.
-
soffice --accept=socket,host=localhost,port=2083;urp;StarOffice.ServiceManager

[Libreoffice-bugs] [Bug 155959] LibreOffice C++ SDK make does not work neither in Cygwin shell nor in CMD

2023-06-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155959

--- Comment #1 from Hossein  ---
Created attachment 188039
  --> https://bugs.documentfoundation.org/attachment.cgi?id=188039=edit
Cppumaker.exe assertion failure

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155959] LibreOffice C++ SDK make does not work neither in Cygwin shell nor in CMD

2023-06-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155959

Hossein  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=15
   ||5956

-- 
You are receiving this mail because:
You are the assignee for the bug.