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
Sent: Thursday, April 23, 2020 9:23 AM
To: devel@edk2.groups.io;
Bret Barkelew
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 <bret.barkelew=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
Sent: Thursday, April 23, 2020 6:05 AM
To: 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