In this chapter we will explore the steps involved in downloading, installing and testing both Objective-C and GNUstep on Windows. Both must be downloaded before proceeding with the installation. Once the required packages have been downloaded, locate the GNUstep System file and launch it to initiate the installation process. To complete the installation, simply follow the prompts in the installation wizard, using the default installation settings unless you have specific requirements.
The shell environment is a minimalist version of the shell environment you might find on a Linux or Unix system. If you are unfamiliar with such an environment then it is unlikely you will want to perform the code editing in this window. Fortunately, it is still possible to use your favorite editor on Windows. The compiled Example will run as any other console program. If Artistic Style is linked as a DLL it must be in the same directory as the example, or in another system path directory.
On many systems GNUstep will be available as a packaged install. If packages are not available they can be compiled with source code available at the GNUstep website.
With Gnome systems, GNUstep programs will be added to the system menu. Since they are Mac applications the application menu display is separate from the application window. GWorkspace is a fairly large application that includes source code if downloaded from the website. Artistic Style should be compiled as a shared or static library for linking with the example.
If the library is in another location the compile options must be changed to reflect this. On some installations GNUstep may install to different directories. PS : Download the packages and install them in order. Thus, during installation, be sure to keep the default settings. For example, the setup wizard would implicitly place the files in C: GNUstep. Create a directory in a location of your choice to put in your project. As for me, I put all under D: in a directory called MyProject.
Download it here , never mind, you will never regret it ;]. You will create two files in there, the first file will be used to compile the project and to generate the executable, and the other will contain our first Hello World program test.
0コメント