Warning, first time contributor to this mailing list and new to EDK in general
so I apologize if I break any policies or norms for participation.
Probably should submit this as a possible defect but as yet have not resolved
how/where to get access to a defect tracker site (as referenced on the
reporting issues link). So for now will capture here...
Thought I would share some feedback from a new user perspective trying to
follow what is provided on the web page for those like myself just getting
started with UDK2010. And in the spirit of continual improvement, suggest some
changes.
At first attempt following the steps provided for 'How-to-build' for Windows I
was experiencing build errors for unresolved reference to some Windows headers
files.
Under Windows it specifically calls out use of Windows 7 Ultimate 64-bit. But
later in some steps it references special case considerations when using 32-bit
installation. So my initial comment is that there are additional 32-bit
points, during the setup process, that are missing and should be called out
which I will now outline.
In my configuration I am using Windows 7 Professional 32-bit. And I had
previously installed VS2010.
Step 1) In my case there is no need to make sure 64bit AMD64 compiler is
selected. Other than this minor implication, this step was fine.
Step 2) Extracting the common source code and base tools was fine.
Step 3) Generate OpenSSL Crypto Library. Note indicates not needed for Nt32.
I may have incorrectly assumed this applied to the 32bit nature of the host OS
implementation. Anyway, I skipped this step.
Step 4) Now for the build steps..
Build Step 1: The running of edksetup.bat file. Here the page does not
mention using the batch file option '--nt32' that may be needed to resolve
references to Microsoft libraries and header files provided with VS. Which
was my initial problem. When I located this option in the batch file, and
re-ran edksetup, it complained that it could not find the VS installed. So
even though the web page indicates that the build tools support VS2010, it
appeared that the edksetup batch file did not which was the case. After
editing the batch file and adding a case for 'if detected VS100COMNTOOLS', it
correctly located and ran the vsvars32.bat for VS to setup the require
environment variables.
So, not only should the web page mention use of --nt32 for 32 bit OS use, the
edksetup.bat file provided with UDK2010.SR1.UP1 should be fixed as indicated
above for VS2010 support. Maybe there is a later update that fixed this
already??
Build Step 2: Good detail in this step about indicating use of VS 32bit on
64bit OS. Sadly it took me a few moments to put together that in the case of
using a 32bit OS that one should use '-t VS2010' instead of '-t VS2010x86', in
that the x86 extension was not an indication of the 32bit nature of VS or the
OS, but a means to generate the appropriate OS program files folder name when
VS installed on 64bit OS. This folder naming issue not being the case for
32bit OS. So a minor improvement would be to just spell out this last point
more clearly in a couple options.
Example:
2. Add -t build option in command line:
"build -t VS2008x86 ..." For 32-bit Visual Studio on 64-bit
Windows OS
"build -t VS2008 ..." For 32-bit Visual Studio on 32-bit
Windows OS, ( or 64-bit installation of Visual Studio on 64-bit Windows OS [Did
not verify this last point?])
After adjusting with the changes I mention above, the build step 'build -t
VS2010' seemed to just great. After this first hurdle I'm off and running
(till I reach the next one :)).
Thanks ---- Mark
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel