Before Building XenevaOS, make sure all the dependencies are installed and all the steps are performed in sequence order mentioned in this document.
XenevaOS is build purely in Windows environment.
Visual Studio 2019 Community edition is required to open and edit Xeneva projects. Community edition is free edition of Microsoft Visual Studio. One can also use any paid edition of 2019. If later version of Visual Studio is used projects needs to be configured manually to meet compiler version requirement. This is done by going to :
Project -> Properties -> General -> Platform Toolset
Download and install Netwide Assembler (NASM) from NASM Official website. NASM needs to be integrated with Visual Studio to compile assembly source code. This can be done by following steps:
Goto Resources dir in XenevaOS repository then copy and extract nasmprops.zip.
Copy "nasm.props", "nasm.targets", "nasm.xml" from nasmprops.zip to C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations
Format an USB Flash drive (Minimum 2 GiB space required) with GPT partition and FAT32 filesystem.
You can use Refus to format an USB Flash drive (by downloading Refus) or diskpart
to format the disk available by default on Windows
cmd.exe
with Run as administrator modediskpart
press Enterlist disk
press Enterselect diskX
replace X with USB disk numberclean
to clean the diskconvert gpt create partition primary
press Enterformat fs=fat32 unit=4096 quick
assign X
replace ‘X’ with a drive letterRequired Environment Variables are:
Add an User Environment Variable with ” Variable Name : XENEVA_BUILDS “ and ” Variable Value “ with the location of the USB Flash Drive. It can be done simply by clicking “Browse Directory” button.
Please make sure that all the files from resource directory inside XenevaOS repository is copied as it is to __XENEVA_BUILDS PATH (i.e to the USB Flash Drive) and make sure it is copied prior to build process.__
Xeneva requires resource files to run. Some important resource file are :
Before opening the solution please make sure that Netwide Assembler (NASM) is installed and configured as mentioned above. Open “Aurora.sln” file from the repository and everything should get automatically configured.
Right Click on 'Solution Aurora' from Solution Explorer, then click "Rebuild Solution"
At this point you should see all the necessary files inside your “XENEVA_BUILDS” PATH. Now you need to setup VM for XenevaOS. You can visit Testing environment setup instructions.