[Libreoffice] building Basis/sdk/examples/DeveloperGuide/ProfUNO/CppBinding on Windows

Knut Olav Bøhmer bohmer at gmail.com
Fri Jul 29 03:44:20 PDT 2011


2011/7/28 Knut Olav Bøhmer <bohmer at gmail.com>:
> 2011/7/28 Knut Olav Bøhmer <bohmer at gmail.com>:
>> 2011/7/28 Caolán McNamara <caolanm at redhat.com>:
>>> On Thu, 2011-07-28 at 15:31 +0200, Knut Olav Bøhmer wrote:
>>>> On 28 July 2011 15:22, Caolán McNamara <caolanm at redhat.com> wrote:
>>>> > On Thu, 2011-07-28 at 15:16 +0200, Knut Olav Bøhmer wrote:
>>>> >
>>>> >> Now make says ../../../../settingss/stdtarget.mk:12 ** target pattern
>>>> >> contains no '%'. Stop  [15:08]
>>>> >
>>>> > That might be the bug fixed with
>>>> > http://cgit.freedesktop.org/libreoffice/sdk/commit/?h=libreoffice-3-4&id=dd0c9fdc119a991b8f08070316e86d44afac478d
>>>> > fix will be in 3.4.2, if its that, then apply that patch/replace spaces
>>>> > with tabs in the makefile.
>>>>
>>>> It's great to get responce so fast. Thank you.
>>>> But it did not help.
>>>
>>> in which case google on "target pattern contains no '%'" suggests it
>>> might be a generic make-under-cygwin issue, dump the make version, and
>>> try with some extra -d flags to get some more info
>>
>> According to this:
>>
>> http://cygwin.com/ml/cygwin/2006-07/msg00404.html
>>
>> Looks like it should work with 3.80, but it does not :(
>>
>> C:\PROGRA~1\LIBREO~1\Basis\sdk\examples\DEVELO~1\ProfUNO\CPPBIN~1>c:\cygwin\usr\local\bin\make.exe
>> -d
>> GNU Make 3.80
>> Copyright (C) 2002  Free Software Foundation, Inc.
>> This is free software; see the source for copying conditions.
>> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
>> PARTICULAR PURPOSE.
>> Reading makefiles...
>> Reading makefile `Makefile'...
>> Reading makefile `../../../../settings/settings.mk' (search path) (no
>> ~ expansion)...
>> Got a SIGCHLD; 1 unreaped children.
>> Reading makefile `../../../../settings/std.mk' (search path) (no ~ expansion)...
>> Got a SIGCHLD; 1 unreaped children.
>> Reading makefile `../../../../settings/dk.mk' (search path) (no ~ expansion)...
>> Reading makefile `../../../../settings/stdtarget.mk' (search path) (no
>> ~ expansion)...
>> ../../../../settings/stdtarget.mk:12: *** target pattern contains no `%'.  Stop.
>>
>> C:\PROGRA~1\LIBREO~1\Basis\sdk\examples\DEVELO~1\ProfUNO\CPPBIN~1>
>
>
> Looks like I came one step closer by setting OO_SDK_OUT to a cygwin-path
>
> Now I have seeral other error messages. I'll need to continue tomorrow.

I now copied the config.guess file from the SDK i have installed on
Linux to windows, and placed it in c:\program
files\LibreOffice3\Basis\sdk\
The fact that it is missing from the windows SDK is probably a bug.
The Linux sdk installation is 3.4 and the Windows is 3.3. I hope it
does not matter.

Now I get the following errors (see attachment)
make -d  > make.log  2>&1

I don't know if it's able to find the right target to build.
Another thing is that cppumaker gets C:/Program Files/LibreOffice
3/Basis/programoffapi.rdb as argument. Does not look like ti exsists.

Any suggestions? Did I forget something?

-- 
Knut Olav Bøhmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: application/octet-stream
Size: 13022 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110729/497451f4/attachment-0001.obj>


More information about the LibreOffice mailing list