Discussion:
[edk2] SCT build error
Meenakshi Aggarwal
2015-06-11 11:31:19 UTC
Permalink
Hi All,


I am trying to build SCT and facing following error:


": error 7000: Failed to start command

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Vc\bin\nmake.exe /no logo tbuild [c:\test\Build\UefiSct\DEBUG_VS2013x86\X64\EdkCompatibilityPkg\Foundation\Efi\Protocol\EfiProtocolLib]
"

Any idea will be of great help.



Thanks & regards
Meenakshi Aggarwal
Scott Duplichan
2015-06-11 12:49:19 UTC
Permalink
Meenakshi Aggarwal [mailto:***@freescale.com] wrote:

]Sent: Thursday, June 11, 2015 06:31 AM
]To: edk2-***@lists.sourceforge.net
]Subject: [edk2] SCT build error
]
]Hi All,
]
]
]I am trying to build SCT and facing following error:
]
]“: error 7000: Failed to start command
] C:\Program Files (x86)\Microsoft Visual Studio 12.0\Vc\bin\nmake.exe /no logo tbuild ][c:\test\Build\UefiSct\DEBUG_VS2013x86\X64\EdkCompatibilityPkg\Foundation\Efi\Protocol\EfiProtocolLib]
]”
]
]Any idea will be of great help.
]
]
]
]Thanks & regards
]Meenakshi Aggarwal

EDK2 does not use the usual environment variable method of locating
the Visual studio installation. Instead, it uses hard-coded paths
that are suitable for some machines and not suitable for others.
Build.exe is trying to launch:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\nmake.exe
Does this file exist on your computer?

Thanks,
Scott



------------------------------------------------------------------------------
Meenakshi Aggarwal
2015-06-12 03:52:39 UTC
Permalink
Hi Scott,

Following path exist on my computer:
"C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\nmake.exe"

i.e. without (x86) string.

What is the solution?
Which file needs to be changed?


Thanks
Meenakshi



-----Original Message-----
From: Scott Duplichan [mailto:***@notabs.org]
Sent: Thursday, June 11, 2015 6:19 PM
To: edk2-***@lists.sourceforge.net
Subject: Re: [edk2] SCT build error

Meenakshi Aggarwal [mailto:***@freescale.com] wrote:

]Sent: Thursday, June 11, 2015 06:31 AM
]To: edk2-***@lists.sourceforge.net
]Subject: [edk2] SCT build error
]
]Hi All,
]
]
]I am trying to build SCT and facing following error:
]
]“: error 7000: Failed to start command
] C:\Program Files (x86)\Microsoft Visual Studio 12.0\Vc\bin\nmake.exe /no logo tbuild ][c:\test\Build\UefiSct\DEBUG_VS2013x86\X64\EdkCompatibilityPkg\Foundation\Efi\Protocol\EfiProtocolLib]
]”
]
]Any idea will be of great help.
]
]
]
]Thanks & regards
]Meenakshi Aggarwal

EDK2 does not use the usual environment variable method of locating the Visual studio installation. Instead, it uses hard-coded paths that are suitable for some machines and not suitable for others.
Build.exe is trying to launch:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\nmake.exe Does this file exist on your computer?

Thanks,
Scott



------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
edk2-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
Rafael Machado
2015-06-12 11:35:46 UTC
Permalink
Hi

I don't think you need to change any file. This can be done at the command
line you use to compile the project.
For example:

c:\UDK2014.SP1>edksetup.bat --nt32
c:\UDK2014.SP1>build -t VS2012

The second command will use VS2012 to compile it. The paths can be found
at the configuration files.

C:\UDK2014.SP1\Conf\tools_def.txt
C:\UDK2014.SP1\Conf\target.txt

There is a Really nice help of the build command too:

c:\UDK2014.SP1>edksetup.bat --nt32
c:\UDK2014.SP1>build -help

Thanks
Rafael R. Machado



2015-06-12 0:52 GMT-03:00 Meenakshi Aggarwal <
Post by Meenakshi Aggarwal
Hi Scott,
"C:\Program Files\Microsoft Visual Studio 12.0\VC\bin\nmake.exe"
i.e. without (x86) string.
What is the solution?
Which file needs to be changed?
Thanks
Meenakshi
-----Original Message-----
Sent: Thursday, June 11, 2015 6:19 PM
Subject: Re: [edk2] SCT build error
]Sent: Thursday, June 11, 2015 06:31 AM
]Subject: [edk2] SCT build error
]
]Hi All,
]
]
]
]“: error 7000: Failed to start command
] C:\Program Files (x86)\Microsoft Visual Studio
12.0\Vc\bin\nmake.exe /no logo tbuild
][c:\test\Build\UefiSct\DEBUG_VS2013x86\X64\EdkCompatibilityPkg\Foundation\Efi\Protocol\EfiProtocolLib]
]”
]
]Any idea will be of great help.
]
]
]
]Thanks & regards
]Meenakshi Aggarwal
EDK2 does not use the usual environment variable method of locating the
Visual studio installation. Instead, it uses hard-coded paths that are
suitable for some machines and not suitable for others.
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\nmake.exe Does
this file exist on your computer?
Thanks,
Scott
------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
https://lists.sourceforge.net/lists/listinfo/edk2-devel
Olivier Martin
2015-06-15 16:36:06 UTC
Permalink
I am wondering if it is the space in "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Vc\bin\nmake.exe" that creates the confusion.

This command line might work better: "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Vc\bin\nmake.exe" /no logo tbuild


From: Meenakshi Aggarwal [mailto:***@freescale.com]
Sent: 11 June 2015 12:31
To: edk2-***@lists.sourceforge.net
Subject: [edk2] SCT build error

Hi All,


I am trying to build SCT and facing following error:


": error 7000: Failed to start command

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Vc\bin\nmake.exe /no logo tbuild [c:\test\Build\UefiSct\DEBUG_VS2013x86\X64\EdkCompatibilityPkg\Foundation\Efi\Protocol\EfiProtocolLib]
"

Any idea will be of great help.



Thanks & regards
Meenakshi Aggarwal


-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2548782
Meenakshi Aggarwal
2015-06-16 07:13:28 UTC
Permalink
Thank you all for help :)

I changed "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Vc\bin\nmake.exe" to "C:\Program Files\Microsoft Visual Studio 12.0\Vc\bin\nmake.exe"
And compilation proceeds further, still facing some issue.

Working on that.


Thanks
Meenakshi

From: Olivier Martin [mailto:***@arm.com]
Sent: Monday, June 15, 2015 10:06 PM
To: edk2-***@lists.sourceforge.net
Subject: Re: [edk2] SCT build error

I am wondering if it is the space in "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Vc\bin\nmake.exe" that creates the confusion.

This command line might work better: "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Vc\bin\nmake.exe" /no logo tbuild


From: Meenakshi Aggarwal [mailto:***@freescale.com]
Sent: 11 June 2015 12:31
To: edk2-***@lists.sourceforge.net<mailto:edk2-***@lists.sourceforge.net>
Subject: [edk2] SCT build error

Hi All,


I am trying to build SCT and facing following error:


": error 7000: Failed to start command

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Vc\bin\nmake.exe /no logo tbuild [c:\test\Build\UefiSct\DEBUG_VS2013x86\X64\EdkCompatibilityPkg\Foundation\Efi\Protocol\EfiProtocolLib]
"

Any idea will be of great help.



Thanks & regards
Meenakshi Aggarwal


-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2548782
Loading...