public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Trying to build an uefi application that is out of UDK directory
       [not found] <CAGh9M4e+qL1jKNktuzHKcitgCRAUejh79f7_m0zoF2YX7dKpzg@mail.gmail.com>
@ 2016-10-15 16:18 ` Denis Alberto Silverio
  0 siblings, 0 replies; only message in thread
From: Denis Alberto Silverio @ 2016-10-15 16:18 UTC (permalink / raw)
  To: edk2-devel

Hi guys
I've created an uefi application in a directory that is not inside the
EDK2015 folder.
For example:

My UDK folder is:
C:\Projects\UEFI\UDK2015_r18552
|- BaseTools
|- Conf
|- CryptoPkg
|-....etc

My Uefi app is on:
C:\Projects\UEFI\Projects\MyApp
|- EntryPoint.c
|- MyApp.dsc
|- .....etc

I´ve done the whole UDK2015 build proccess and now i'am trying to build my
application
So, to build my app i'm running these commands on an Windows cmd:

cd C:\Projects\UEFI\UDK2015_r18552
edksetup.bat --NT32
cd C:\Projects\UEFI\Projects\MyApp
build -p C:\Projects\UEFI\Projects\MaApp\MyApp.dsc -m
C:\Projects\UEFI\Projects\MyApp\MyApp.inf -a X64 -t VS2013x86 -D
PROJECT_DIRECTORY_NAME=C:\Projects\UEFI\Projects\MyApp

and this error appears..
>>>>>>
(Please send email to edk2-devel@"lists.sourceforge.net for help, attaching
following call stack trace!)

(Python 2.7.3 on win32) Traceback (most recent call last):
  File "build.py", line 2033, in Main
  File "build.py", line 1792, in Launch
  File "build.py", line 1509, in _BuildModule
  File "build.py", line 1032, in _Build
  File
"c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\AutoGen\AutoGen.py",
line 3517, in CreateMakeF
ile
  File
"c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\AutoGen\AutoGen.py",
line 3523, in CreateMakeF
ile
  File
"c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\AutoGen\GenMake.py",
line 184, in Generate
  File
"c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\AutoGen\GenMake.py",
line 563, in _CreateTempl
ateDict
  File
"c:\Users\Public\Documents\BuildPool\BaseTools\build\Source\Python\Common\LongFilePathOs.py",
line 56, in listdir

WindowsError: [Error 123] The filename, directory name, or volume label
syntax is incorrect: u'\\\\?\\c:\\projects\\uefi
\\udk2015_r18552\\C:*.*'
<<<<<<

To resolve this problem, I created a symbolic link on UDK2015 folder to
linking myApp folder and apparently it works.
Is there another way to build an application that is out of UDK folder?

Thank you!


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-15 16:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAGh9M4e+qL1jKNktuzHKcitgCRAUejh79f7_m0zoF2YX7dKpzg@mail.gmail.com>
2016-10-15 16:18 ` Trying to build an uefi application that is out of UDK directory Denis Alberto Silverio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox