public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] Attempting to update to latest Repository Won't Build.
@ 2024-03-28  5:46 David F.
  2024-03-29  3:32 ` Adam Liu
  0 siblings, 1 reply; 2+ messages in thread
From: David F. @ 2024-03-28  5:46 UTC (permalink / raw)
  To: devel

Hello,

I was still on the SVN version (from 2019) and using VS2008.  It would
build fine.  I created a new dir to use GIT now, I updated, ran:

 edksetup Reconfig Rebuild VS2019

So now, everything seems setup.  I exit the command prompt, open it
again, run my prep.bat script like I always did (setups up environment
variables and calls edksetup).

Then I try my build but it fails:
--
Build environment: Windows-10-10.0.19045-SP0
Build start time: 22:30:34, Mar.27 2024

WORKSPACE        = c:\edk
PACKAGES_PATH    = c:\edk\edk2-libc;c:\edk\edk2
EDK_TOOLS_PATH   = c:\edk\edk2\basetools
EDK_TOOLS_BIN    = c:\edk\edk2\basetools\bin\win32
CONF_PATH        = c:\edk\edk2\conf
PYTHON_COMMAND   = py -3


Processing meta-data .
Architecture(s)  = X64
Build target     = RELEASE
Toolchain        = VS2019

Active Platform          = c:\edk\edk2\Acme\Acme.dsc


build.py...
c:\edk\edk2\Acme\Acme.dsc(...): error 4000: Instance of library class
[RegisterFilterLib] is not found
        in [c:\edk\edk2\MdePkg\Library\BaseLib\BaseLib.inf] [X64]
        consumed by module [c:\edk\edk2\Acme\myefiapp\myefiapp.inf]


- Failed -
--

Searching the edk2 I find the RegisterFilterLib pointing to the
RegisterFilterLibNull which exists on in the directories:

--

 Volume in drive C is Windows 10

 Directory of C:\edk\edk2\MdePkg\Include\Library

03/27/2024  06:18 PM             6,580 RegisterFilterLib.h
               1 File(s)          6,580 bytes

 Directory of C:\edk\edk2\MdePkg\Library

03/27/2024  06:18 PM    <DIR>          RegisterFilterLibNull
               0 File(s)              0 bytes

 Directory of C:\edk\edk2\MdePkg\Library\RegisterFilterLibNull

03/27/2024  06:18 PM             6,410 RegisterFilterLibNull.c
03/27/2024  06:18 PM               627 RegisterFilterLibNull.inf
03/27/2024  06:18 PM               389 RegisterFilterLibNull.uni
               3 File(s)          7,426 bytes

--

What do I need to get this to automatically build like it did in the
older versions?

Thanks!


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#117215): https://edk2.groups.io/g/devel/message/117215
Mute This Topic: https://groups.io/mt/105203223/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [edk2-devel] Attempting to update to latest Repository Won't Build.
  2024-03-28  5:46 [edk2-devel] Attempting to update to latest Repository Won't Build David F.
@ 2024-03-29  3:32 ` Adam Liu
  0 siblings, 0 replies; 2+ messages in thread
From: Adam Liu @ 2024-03-29  3:32 UTC (permalink / raw)
  To: David F., devel

[-- Attachment #1: Type: text/plain, Size: 552 bytes --]

In Acme\Acme.dsc, find [LibraryClasses] and add below line should fix the problem.

RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf

Regards,
Adam


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#117225): https://edk2.groups.io/g/devel/message/117225
Mute This Topic: https://groups.io/mt/105203223/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



[-- Attachment #2: Type: text/html, Size: 1096 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-29  3:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-28  5:46 [edk2-devel] Attempting to update to latest Repository Won't Build David F.
2024-03-29  3:32 ` Adam Liu

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