<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://test.pinballmakers.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Windows_build_instructions_VS</id>
	<title>Windows build instructions VS - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://test.pinballmakers.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Windows_build_instructions_VS"/>
	<link rel="alternate" type="text/html" href="https://test.pinballmakers.com/wiki/index.php?title=Windows_build_instructions_VS&amp;action=history"/>
	<updated>2026-05-28T06:31:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://test.pinballmakers.com/wiki/index.php?title=Windows_build_instructions_VS&amp;diff=1344&amp;oldid=prev</id>
		<title>Steveshoyer: Windows build instructions for P-ROC using VS</title>
		<link rel="alternate" type="text/html" href="https://test.pinballmakers.com/wiki/index.php?title=Windows_build_instructions_VS&amp;diff=1344&amp;oldid=prev"/>
		<updated>2016-02-08T05:39:58Z</updated>

		<summary type="html">&lt;p&gt;Windows build instructions for P-ROC using VS&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page contains step-by-step instructions for building [http://github.com/preble/libpinproc libpinproc] on Windows using Visual Studio.  These instructions have been verified to work in Windows 7 with Visual Studio 2008. They should work on other Windows version and on any Visual Studio version supported by cmake.&lt;br /&gt;
&lt;br /&gt;
In the cmake commands below you can substitute your version of Visual Studio in place of &amp;quot;Visual Studio 9 2008&amp;quot; for the -G option, if you type cmake with no options from the command line, then it will list out all the possible options you can use with the -G option. For example, to make project and solution files for Visual Studio 2010 use -G &amp;quot;Visual Studio 10&amp;quot; and for Visual Studio 2012 use -G &amp;quot;Visual Studio 11&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= Tools =&lt;br /&gt;
* You&amp;#039;ll need Visual Studio installed with native C++ language options.&lt;br /&gt;
&lt;br /&gt;
* Download and install [http://www.cmake.org/cmake/resources/software.html cmake] and add &amp;lt;your-cmake-directory&amp;gt;\bin to your path.  Latest version tested: 2.8&lt;br /&gt;
&lt;br /&gt;
= libpinproc =&lt;br /&gt;
&lt;br /&gt;
* Download (and extract) [http://github.com/preble/libpinproc libpinproc] into a directory of your choice. Note - make sure you select the desired branch to download (either master or dev).&lt;br /&gt;
** Download either by clicking &amp;#039;Download Sources&amp;#039; or by installing a git client and checking out the repository.&lt;br /&gt;
&lt;br /&gt;
* Download and extract the [http://www.ftdichip.com/Drivers/D2XX.htm ftd2xx] USB driver for Windows.  Latest version tested: [http://www.ftdichip.com/Drivers/CDM/CDM20814_WHQL_Certified.zip 2.08.14], newer version *should* work fine too.&lt;br /&gt;
** put the extracted ftdi folder into the libpinproc folder you made above (e.g. D:\liblinproc-dev\ftdi )&lt;br /&gt;
&lt;br /&gt;
* Download and extract [http://code.google.com/p/yaml-cpp/ yaml-cpp] into the libpinproc directory you made above (e.g. D:\libpinproc-dev\yaml-cpp ).  Latest version tested: [http://yaml-cpp.googlecode.com/files/yaml-cpp-0.3.0.tar.gz 0.3.0]&lt;br /&gt;
** Note: the new version 0.5.0 does not work yet for us, since they changed the API.&lt;br /&gt;
&lt;br /&gt;
=== Build yaml-cpp ===&lt;br /&gt;
* From the command line, &amp;#039;cd&amp;#039; into your yaml-cpp directory and run the following command:&lt;br /&gt;
&lt;br /&gt;
    cmake -G &amp;quot;Visual Studio 9 2008&amp;quot; -DBUILD_SHARED_LIBS:BOOL=OFF&lt;br /&gt;
&lt;br /&gt;
* Note - The command expects cmake to be in your path.&lt;br /&gt;
* Now run Visual Studio and open the YAML_CPP.sln file created by cmake. Build the solution in Debug and Release.&lt;br /&gt;
** You&amp;#039;ll only need to do this once.&lt;br /&gt;
&lt;br /&gt;
=== Build libpinproc ===&lt;br /&gt;
* From the command line, &amp;#039;cd&amp;#039; into your libpinproc-dev directory and run the following commands:&lt;br /&gt;
&lt;br /&gt;
    cmake -G &amp;quot;Visual Studio 9 2008&amp;quot; -DEXTRA_INC=&amp;quot;.\ftdi;.\yaml-cpp\include&amp;quot; -DEXTRA_LINK=&amp;quot;.\ftdi\i386;.\yaml-cpp\Release;.\yaml-cpp\Debug&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Note - If you want to build a shared library instead of a static one, add &amp;quot;-DLIB_TYPE=SHARED&amp;quot; before the -DEXTRA_INC... on the cmake line.&lt;br /&gt;
* Now run Visual Studio and open the PINPROC.sln file created by cmake. You can build both Debug and Release solutions.&lt;br /&gt;
&lt;br /&gt;
= pinproctest =&lt;br /&gt;
&lt;br /&gt;
* The PINPROC.sln includes a C/C++ project called pinproctest which is an example program to use libpinproc to talk to a PROC board. It can handle reading some machine configurations from yaml files, and does a basic game loop.&lt;/div&gt;</summary>
		<author><name>Steveshoyer</name></author>
	</entry>
</feed>