Open Group



Setting up Windows compile environment for pegasus

This set up tutorial assumes that pegasus source code is already downloaded. To get started, you might like to set some environment variables at “Compile and Link OpenPegasus” at



and Windows Visual studio for C++ is installed

1) Click at Windows start. This will bring up list of programs installed and right click at Microsoft Visual C++ and select Run as Administrator. Running as administrator is not required if you want to build only. A normal user can build but some test cases requires administrator power.

[pic]

Click File Menu in Visual Studio and select New and then select Project From Existing Code. This brings up a dialog box

[pic]

Select Project Type to be Visual C++ and click Next

[pic]

4) Select the location where pegasus code is downloaded, This will have same value as that of environment variable PEGASUS_ROOT. Give a name to project and click Next

[pic]

5) In the project Settings, Select Use external build system and click next

[pic]

In build command line, specify make world and make new world for Rebuild command and make clean for cleaning the solution. Please note that I have specified Build command line as make world which builds the mu utility also. If mu is already installed on the system separately(which some developers do), you might like to give only “make” and click next

[pic]

Select “Same as Debug configurations” and click finish. Now Visual studio imports all the relevant files for the project. Be Patient, It takes a bit time and fruit of patience is sweet.

[pic]

8) In visual studio main page, Select Build and click “Build Soultion” and We are done.

[pic]

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download