public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Bret Barkelew" <bret.barkelew@microsoft.com>
To: jim slaughter <jim.slaughter@sage-micro.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: Re: [EXTERNAL] [edk2-devel] EDK2 environment setup
Date: Thu, 23 Apr 2020 16:27:06 +0000	[thread overview]
Message-ID: <CY4PR21MB0743ADBA9B523CB935D3C2BCEFD30@CY4PR21MB0743.namprd21.prod.outlook.com> (raw)
In-Reply-To: <CAP1zt865DsvP_bDvPpPnafa8dniCJnQiGcb_-+7ged1XfAEMiw@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2648 bytes --]

I don’t personally have any experience using Cygwin, but I have used the Windows Subsystem for Linux successfully with EDK2 (I actually use it somewhat regularly. It has great integration with VSCode, which doesn’t require Visual Studio at all.)

https://docs.microsoft.com/en-us/windows/wsl/install-win10

- Bret

From: jim slaughter<mailto:jim.slaughter@sage-micro.com>
Sent: Thursday, April 23, 2020 9:23 AM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Bret Barkelew<mailto:Bret.Barkelew@microsoft.com>
Subject: Re: [EXTERNAL] [edk2-devel] EDK2 environment setup

Hello,

Yes my Python is 3.7.

I am trying to use cygwin to access the GNU tools since I do not have VS. We are a small company.
I cannot get the edksetup.bat to execute correctly. It is a problem setting up all the environment.
Is there an easier way? Am I on the right path?

Jim Slaughter
'

On Thu, Apr 23, 2020 at 11:07 AM Bret Barkelew via groups.io<https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.io%2F&data=02%7C01%7Cbret.barkelew%40microsoft.com%7Cfa385632531740fc184608d7e7a2a308%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637232558018480585&sdata=Z%2FGSZKIolLQuqWlPOLgjf%2F2mYsK8UdtIbXCnB29xxow%3D&reserved=0> <bret.barkelew=microsoft.com@groups.io<mailto:microsoft.com@groups.io>> wrote:
Have you installed the up-to-date Python requirements? “pip install –upgrade -r pip-requirements.txt”?

That’s the first thing I would check. Otherwise, happy to look at the problem with you.

- Bret

From: NAVDEEPPAL_SINGH via groups.io<mailto:NAVDEEPPAL_SINGH=DELL.COM@groups.io>
Sent: Thursday, April 23, 2020 6:05 AM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Subject: [EXTERNAL] [edk2-devel] EDK2 environment setup

I am trying to setup EDK2 environment setup from Tianocore/EDK2.
While doing the Base Tool setup. After running BaseTool/EDK2ToolsBuild.py -t VS2019
Getting following error :-
c:\edk2\BaseTools>python Edk2ToolsBuild.py  -t VS2019
SECTION - Init SDE
SECTION - Loading Plugins
SECTION - Start Invocable Tool
Traceback (most recent call last):
  File "Edk2ToolsBuild.py", line 177, in <module>
    main()
  File "Edk2ToolsBuild.py", line 173, in main
    Edk2ToolsBuild().Invoke()
  File "C:\Program Files\Python38\lib\site-packages\edk2toolext\base_abstract_invocable.py", line 141, in Invoke
    retcode = self.Go()
  File "Edk2ToolsBuild.py", line 139, in Go
    raise Exception("Failed to build.")
Exception: Failed to build.

set EDK_TOOLS_PATH=C:\edk2\BaseTools
set EDK_TOOLS_BIN=C:\edk2\BaseTools\Bin\Win32
Can some one help




--
Jim Slaughter


[-- Attachment #1.2: Type: text/html, Size: 7138 bytes --]

[-- Attachment #2: 3E986336389E4D2C97D1D3E2EA20D586.png --]
[-- Type: image/png, Size: 140 bytes --]

      reply	other threads:[~2020-04-23 16:27 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-23 12:38 EDK2 environment setup NAVDEEPPAL_SINGH
2020-04-23 16:07 ` [EXTERNAL] [edk2-devel] " Bret Barkelew
2020-04-23 16:14   ` Navdeeppal.Singh
2020-04-23 16:17     ` Bret Barkelew
2020-04-23 16:21       ` Navdeeppal.Singh
2020-04-23 16:34         ` Bret Barkelew
2020-04-23 17:26           ` Michael D Kinney
2020-04-23 18:23             ` Bret Barkelew
2020-04-23 19:03     ` Sean
2020-04-27  8:26       ` Navdeeppal.Singh
2020-04-27 20:57         ` Sean
2020-04-28  9:15           ` Navdeeppal.Singh
2020-04-28  9:35             ` Guomin Jiang
2020-04-28  9:47               ` Leif Lindholm
2020-04-28  9:52                 ` Navdeeppal.Singh
2020-04-30  5:09                   ` Navdeeppal.Singh
2020-05-04  5:17                     ` Navdeeppal.Singh
2020-05-04 17:40                       ` Sean
2020-05-04 18:47                       ` Andrew Fish
2020-04-28  9:38             ` [edk2-devel] EmulatorPkg WinHost build failure with VS2019 Was: " Leif Lindholm
2020-04-23 16:23   ` [EXTERNAL] [edk2-devel] " jim slaughter
2020-04-23 16:27     ` Bret Barkelew [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CY4PR21MB0743ADBA9B523CB935D3C2BCEFD30@CY4PR21MB0743.namprd21.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox