public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Denis Alberto Silverio <denis.a.silverio@gmail.com>
To: edk2-devel@lists.01.org
Subject: Trying to build an uefi application that is out of UDK directory
Date: Sat, 15 Oct 2016 16:18:15 +0000	[thread overview]
Message-ID: <CAGh9M4cpXxbe2uZqhmB7snQ+Oo74yfbSPwVc65KaWc-+ZH3E=Q@mail.gmail.com> (raw)
In-Reply-To: <CAGh9M4e+qL1jKNktuzHKcitgCRAUejh79f7_m0zoF2YX7dKpzg@mail.gmail.com>

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!


           reply	other threads:[~2016-10-15 16:18 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <CAGh9M4e+qL1jKNktuzHKcitgCRAUejh79f7_m0zoF2YX7dKpzg@mail.gmail.com>]

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='CAGh9M4cpXxbe2uZqhmB7snQ+Oo74yfbSPwVc65KaWc-+ZH3E=Q@mail.gmail.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