So after spending much time trying to determine why my laptop wouldnt connect to the PROC I think I have to build libpinproc from source.
I previously had it working on my old laptop and I was using the same pinproc.dll on my new laptop but for some reason I was getting a dll not found error relating to pinproc.dll. The prebuilt dll I am using is the one included in Compys netprocgame:https://github.com/Compy/NetProcGame/tree/master/NetProcGame
Yes it is 3 years old but not much should have changed anyway.
Running the code on my work PC was not generating the missing dll error which was strange (same codebase) and then using dependency walker I realised that my laptop didnt have the mingw compiler installed. This compiler installs 2 dlls that pinproc.dll relies on.
Having to install a compiler just to connect to the proc is a bit average. So I'm trying to build the libpinproc from source in an attempt to fold in some external dependencies and maybe even convert it to managed C++ for even easier integration with C# and .net.
I followed the instructions here:http://pinballcontrollers.com/wiki/Windows_build_instructions_VS
I've been attempting to get it to work using VS2013 Community Edition (Free if others are interested) on a Windows 7 machine and Windows 8.1 machine. Both are 64bit. I had to download the VS2013 Build Tools
I used the following commands to generate my solution files:
cmake -G "Visual Studio 12" -DBUILD_SHARED_LIBS:BOOL=OFF
cmake -G "Visual Studio 12" -DLIB_TYPE=SHARED -DEXTRA_INC=".\ftdi;.\yaml-cpp\include" -DEXTRA_LINK=".\ftdi\i386;.\yaml-cpp\Release;.\yaml-cpp\Debug"
Remember to open the Yaml solution and build it in debug then release if you are following along here.
I could then build the pinproc solution using VS2013. However this only produced a .lib file and not the .dll that I want. Changing the project properties to output a .dll caused it to have a dummy spit and as I tried to fix those errors I just created more until I eventually got it building a 7kb dll file which Im pretty sure wont work. - The original pinproc.dll is a 126kb file.
Anyone had any luck with this previously?
Gerry, care to elaborate on what you guys are doing with the P3? Do you have a prebuilt version of pinproc.dll you could share? I wouldn't of thought you would install mingw on all the p3 machines?