Bug 130491 - Building LO with Lode fails
Summary: Building LO with Lode fails
Status: RESOLVED MOVED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: sdk (show other bugs)
Version:
(earliest affected)
6.3.1.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-06 17:04 UTC by Richard
Modified: 2020-05-08 18:26 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
A trace of an error in lode script (2.29 KB, text/plain)
2020-02-06 17:04 UTC, Richard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard 2020-02-06 17:04:46 UTC
Created attachment 157705 [details]
A trace of an error in lode script

Hi, I'm a newbie on LO, please forgive me if I am sending this problem to the wrong place.

Installing an LO SDK on Windows 10, I followed 'lode - LibreOffice Development Environment'. All went well until I reached page 4, where I ran './setup --prereq' . This said I needed the 2017 Visual Studio, but I had installed the 2019 version, so I ignored that.
I then tried to run './setup'. but got a an error 'bash: ./setup: No such file or directory'. As I had called ./setup with --prereq parameter on the previous line, I was concerned...

So I exited Cygwin shell, and entered it again, to receive the same error.
I guessed at a PATH problem, so I echoed $PATH, and listed ~/.bash_profile with cat. I edited the saved PATH script with notepad, adding newlines at each ':'to make it readable.
I attach it below. I have not altered any other profile settings, the installation is to a fresh copy of Windows 10, Windows Defender has not reported any detected errors.

Any help would be very much appreciated.
Comment 1 Oliver Brinzing 2020-02-07 17:46:48 UTC
(In reply to Richard from comment #0)
> Any help would be very much appreciated.

I am not familiar with LODE but you can probably get help at LibreOffice development and discussions mailing list:

https://lists.freedesktop.org/mailman/listinfo/libreoffice
Comment 2 Buovjaga 2020-05-08 18:26:52 UTC
Visual Studio 2017 is the default for 6.3, I think. You can use
--with-visual-studio=2019
to define it.

Please consult https://wiki.documentfoundation.org/Development/BuildingOnWindows

Seek help from the mailing list and #libreoffice-dev IRC channel @ freenode