David -
The easiest way is just to put
!include StdLib\StdLib.inc
At the end of your testpkg.dsc
From: David F. [mailto:df7...@gmail.com]
Sent: Friday, February 01, 2013 10:11 AM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] Adding printf via StdLib
Hi,
Still learning the build system - I used the driver wizard to create a new
package and driver, modified to be application, and used the SystemTable to
print out some text. That all worked fine, so my next step is to use printf
instead. So I added Stdio|StdLib/LibC/Stdio/Stdio.inf to the .dsc file and in
the .inf file added StdLib/StdLib.dec under [Packages] and Stdio under
[LibraryClasses], changed code to use printf(L"text"), then tried to build but
it stops with
c:\edk2\testpkg\testpkg.dsc(...): error 4000: Instance of library class [LibC]
is not found
in [c:\edk2\StdLib\LibC\Stdio\Stdio.inf] [X64]
consumed by module [c:\edk2\testpkg\hello\hello.inf]
Do I have to somehow figure out all the different library classes and add them
to the .dsc file, or can't it just find itself??
TIA!!
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel