public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "David F." <df7729@gmail.com>
To: devel@edk2.groups.io
Subject: [edk2-devel] Attempting to update to latest Repository Won't Build.
Date: Wed, 27 Mar 2024 22:46:56 -0700	[thread overview]
Message-ID: <CAGRSmLt+t6BzjSXA+-BxEJziaQw0Hc3JNjuz3XghqyiCehEeRQ@mail.gmail.com> (raw)

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]
-=-=-=-=-=-=-=-=-=-=-=-



             reply	other threads:[~2024-03-28 19:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-28  5:46 David F. [this message]
2024-03-29  3:32 ` [edk2-devel] Attempting to update to latest Repository Won't Build Adam Liu

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=CAGRSmLt+t6BzjSXA+-BxEJziaQw0Hc3JNjuz3XghqyiCehEeRQ@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