Reply To: P-ROC Installer Tutorial

#40557
ttrenkner
Participant
    @ttrenkner

    ninuzzu,

    You have the patience of a saint!

    Actually, there already was a MinGW folder in the C drive that must have been created at some point while we’ve been troubleshooting. In any event, I went ahead and extracted MinGW.7z to my desktop and attemped to copy it over the existing MinGW folder in C. I got a message that the MinGW bin folder wouldn’t copy because it was in use. I restarted and tried again with the same result. I then went ahead and ran libpinproc-install.bat. Here’s the log that was generated:
    C:\P-ROC\scripts>PATH=C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Skype\Phone\;C:\MinGW\bin;C:\P-ROC\cmake\bin;C:\Users\Tom\AppData\Local\Microsoft\WindowsApps;C:\MinGW\bin

    C:\P-ROC\scripts>setlocal

    C:\P-ROC\scripts>md C:\P-ROC\libpinproc\bin

    C:\P-ROC\scripts>cd C:\P-ROC\libpinproc\bin

    C:\P-ROC\libpinproc\bin>C:\P-ROC\cmake\bin\cmake -G “MinGW Makefiles” ..
    — The C compiler identification is GNU 4.9.3
    — The CXX compiler identification is GNU 4.9.3
    — Check for working C compiler: C:/MinGW/bin/gcc.exe
    — Check for working C compiler: C:/MinGW/bin/gcc.exe — works
    — Detecting C compiler ABI info
    — Detecting C compiler ABI info – done
    — Check for working CXX compiler: C:/MinGW/bin/g++.exe
    — Check for working CXX compiler: C:/MinGW/bin/g++.exe — works
    — Detecting CXX compiler ABI info
    — Detecting CXX compiler ABI info – done
    — Configuring done
    — Generating done
    — Build files have been written to: C:/P-ROC/libpinproc/bin

    C:\P-ROC\libpinproc\bin>C:\MinGW\bin\mingw32-make
    Scanning dependencies of target pinproc
    [ 10%] Building CXX object CMakeFiles/pinproc.dir/src/pinproc.cpp.obj
    [ 20%] Building CXX object CMakeFiles/pinproc.dir/src/PRDevice.cpp.obj
    [ 30%] Building CXX object CMakeFiles/pinproc.dir/src/PRHardware.cpp.obj
    Linking CXX static library libpinproc.a
    [ 30%] Built target pinproc
    Scanning dependencies of target pinprocfw
    [ 40%] Building CXX object CMakeFiles/pinprocfw.dir/utils/pinprocfw/pinprocfw.cpp.obj
    [ 50%] Building CXX object CMakeFiles/pinprocfw.dir/utils/pinprocfw/lenval.cpp.obj
    Linking CXX executable pinprocfw.exe
    [ 50%] Built target pinprocfw
    Scanning dependencies of target pinproctest
    [ 60%] Building CXX object CMakeFiles/pinproctest.dir/examples/pinproctest/pinproctest.cpp.obj
    C:\P-ROC\libpinproc\examples\pinproctest\pinproctest.cpp: In function ‘void RunLoop(PRHandle)’:
    C:\P-ROC\libpinproc\examples\pinproctest\pinproctest.cpp:307:9: warning: ‘int usleep(useconds_t)’ is deprecated (declared at c:\mingw\include\unistd.h:126) [-Wdeprecated-declarations]
    usleep(10*1000); // Sleep for 10ms so we aren’t pegging the CPU.
    ^
    C:\P-ROC\libpinproc\examples\pinproctest\pinproctest.cpp:307:23: warning: ‘int usleep(useconds_t)’ is deprecated (declared at c:\mingw\include\unistd.h:126) [-Wdeprecated-declarations]
    usleep(10*1000); // Sleep for 10ms so we aren’t pegging the CPU.
    ^
    [ 70%] Building CXX object CMakeFiles/pinproctest.dir/examples/pinproctest/drivers.cpp.obj
    [ 80%] Building CXX object CMakeFiles/pinproctest.dir/examples/pinproctest/dmd.cpp.obj
    [ 90%] Building CXX object CMakeFiles/pinproctest.dir/examples/pinproctest/switches.cpp.obj
    [100%] Building CXX object CMakeFiles/pinproctest.dir/examples/pinproctest/alphanumeric.cpp.obj
    Linking CXX executable pinproctest.exe
    [100%] Built target pinproctest

    C:\P-ROC\libpinproc\bin>C:\P-ROC\cmake\bin\cmake -DCMAKE_INSTALL_PREFIX:PATH=C:\MinGW -P cmake_install.cmake
    — Install configuration: “”
    — Installing: C:/MinGW/lib/libpinproc.a
    — Installing: C:/MinGW/include/p-roc/pinproc.h

    C:\P-ROC\libpinproc\bin>pause
    Press any key to continue . . .

    ©2026 VPinBall.com

    Log in with your credentials

    Forgot your details?