Installing DeSmuME from source on Windows

From DeSmuME
(Difference between revisions)
Jump to: navigation, search
(Install desmume from svn)
Line 23: Line 23:
 
Then, in desmume/src/windows, open Desmume2008.vcproj. Then visual studio should open up. Go to build > configuration manager and change it to Release.  
 
Then, in desmume/src/windows, open Desmume2008.vcproj. Then visual studio should open up. Go to build > configuration manager and change it to Release.  
  
As of svn revision 1948, all builds are SSE2 enabled. SSE2, Streaming SIMD Extensions 2, is one of the IA-32 SIMD (Single Instruction, Multiple Data) instruction sets. SSE2 was first introduced by Intel with the initial version of the Pentium 4 in 2001. It extends the earlier SSE instruction set, and is intended to fully supplant MMX. Rival chip-maker AMD added support for SSE2 with the introduction of their Opteron and Athlon 64 ranges of AMD64 64-bit CPUs in 2003. If your computer does not support SSE2, then you can disable it by defining 'NOSSE2', and change it in the vc++ codegen options too.  
+
As of svn revision 1948, all builds are SSE2 enabled. SSE2 is one of the IA-32 SIMD (Single Instruction, Multiple Data) instruction sets. SSE2 was first introduced by Intel with the initial version of the Pentium 4 in 2001. Rival chip-maker AMD added support for SSE2 with the introduction of their Opteron and Athlon 64 ranges of AMD64 64-bit CPUs in 2003. If your computer does not support SSE2, then you can disable it by defining 'NOSSE2', and change it in the vc++ codegen options too.  
  
 
Back in the main window, press f7 to compile. After the compile completes, the executable should be located in windows\__bins\DeSmuME_VS2008_sse2.exe or somesuch.
 
Back in the main window, press f7 to compile. After the compile completes, the executable should be located in windows\__bins\DeSmuME_VS2008_sse2.exe or somesuch.

Revision as of 18:43, 18 April 2009

Contents

Supported Compilers

Since all of the Windows developers make use of Microsoft Visual C++, only that compiler is supported on Windows.


Pre-requisites

Since desmume source code comes with the necessary directx files, installation of the directx sdk is unnecessary. Also, all the other dependencies are included in the source code download.


Install desmume from source tarball

For a Windows build, you first have to download and install Microsoft Visual C++ 2008 Express Editon at http://www.microsoft.com/express/vc/. Next, you need to unzip/extract the zip file. Then, in desmume/src/windows, open Desmume2008.vcproj.

Then visual studio should open up. Go to build > configuration manager and change it to Interim SSE2 (if you have an older computer just try interim). Back in the main window, press f7 to compile. After the compile completes, the executable should be located in windows\__bins\DeSmuME_VS2008_sse2.exe or somesuch.


Install desmume from svn

For a Windows build, you first have to download and install Microsoft Visual C++ 2008 Express Editon at http://www.microsoft.com/express/vc/ and TortoiseSVN at http://tortoisesvn.tigris.org. But first, a warning: don't try this unless you know what you are doing, because odds are you will run into trouble or make a non-functioning build that will run slow.

Next, make a folder that you want the desmume src to be in. Then right-click it and do svn checkout. Fill in: https://desmume.svn.sourceforge.net/svnroot/desmume. Then hit ok, and it should download the current src.

Then, in desmume/src/windows, open Desmume2008.vcproj. Then visual studio should open up. Go to build > configuration manager and change it to Release.

As of svn revision 1948, all builds are SSE2 enabled. SSE2 is one of the IA-32 SIMD (Single Instruction, Multiple Data) instruction sets. SSE2 was first introduced by Intel with the initial version of the Pentium 4 in 2001. Rival chip-maker AMD added support for SSE2 with the introduction of their Opteron and Athlon 64 ranges of AMD64 64-bit CPUs in 2003. If your computer does not support SSE2, then you can disable it by defining 'NOSSE2', and change it in the vc++ codegen options too.

Back in the main window, press f7 to compile. After the compile completes, the executable should be located in windows\__bins\DeSmuME_VS2008_sse2.exe or somesuch.

Personal tools