The list of required environment variables for each module language is also listed below. The required environment variables are displayed with their current values during the build. Note that older versions of Visual C++ will simply create a workspace for you (.dsw file).Įnsure the Release build is selected then do a Rebuild Solution from the Build menu. It into an MSBuild project (.vcxproj file) and Solution (.sln file). dsp file, Visual C++ will prompt you to upgrade the project and convert Note that Visual C++ must be re-started to pick up any changes in environment variables. Most languages require some environment variables to be set before running Visual C++. More information on each of the examples is available with the examples distributed with SWIG (Examples/index.html).ģ.2.1 Instructions for using the Examples with Visual StudioĮnsure the SWIG executable is as supplied in the SWIG root directory in order for the examples to work. The project files have been set up to execute SWIG in a custom build rule for the SWIG interface (.i) file.Īlternatively run the examples using Cygwin. Newer versions of Visual Studio are able to open and convert these project files.Įach C# example comes with a Visual Studio 2005 solution and associated project files instead of Visual C++ 6 project files. The Examples directory has a few Visual C++ project files (.dsp files). Microsoft Visual C++ is the most commonly used compiler for compiling and linking SWIG's output on Windows. If you want to build your own swig.exe have a look at Building swig.exe on Windows. The swigwin distribution contains the SWIG Windows 32-bit executable, swig.exe, which will run on both 32-bit and 64-bit versions of Windows. Set environment variables as described in the SWIG Windows Examples section in order to run examples using Visual C++.This is all that needs downloading for the Windows platform. Download the swigwin zip package from the SWIG website and unzip into a directory.SWIG does not come with the usual Windows type installation program, however it is quite easy to get started. Usage within the Unix like environments MinGW and Cygwin is also detailed. Installing SWIG and running the examples is covered as well as building the SWIG executable. This chapter describes SWIG usage on Microsoft Windows. Microsoft extensions and other Windows quirks.Running the examples on Windows using Cygwin.Instructions for using the Examples with other compilers.Instructions for using the Examples with Visual Studio.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |