- This topic has 109 replies, 10 voices, and was last updated 3 years, 4 months ago by xantari.
-
AuthorPosts
-
November 8, 2016 at 9:43 pm #40525
ninuzzu,
It’s ttrenkner again. I ran the command you suggested and then Step 1, which failed with the same error as before and is as follows:
This will install P-ROC 1.01, please wait
Installazione del P-ROC 1.01, si prega di attendere
Extracting P-ROC folder
Extracting MinGW
Installation FAILED. Exiting….
Press any key to continue . . .After that, I generated the following ymal-install log:
C:\WINDOWS\system32>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\binC:\WINDOWS\system32>setlocal
C:\WINDOWS\system32>md C:\P-ROC\yaml-cpp-0.2.5\bin
A subdirectory or file C:\P-ROC\yaml-cpp-0.2.5\bin already exists.C:\WINDOWS\system32>cd C:\P-ROC\yaml-cpp-0.2.5\bin
C:\P-ROC\yaml-cpp-0.2.5\bin>C:\P-ROC\cmake\bin\cmake -G “MinGW Makefiles” ..
— Configuring done
— Generating done
— Build files have been written to: C:/P-ROC/yaml-cpp-0.2.5/binC:\P-ROC\yaml-cpp-0.2.5\bin>C:\MinGW\bin\mingw32-make
[ 79%] Built target yaml-cpp
[ 96%] Built target run-tests
[100%] Built target parseC:\P-ROC\yaml-cpp-0.2.5\bin>C:\P-ROC\cmake\bin\cmake -DCMAKE_INSTALL_PREFIX:PATH=C:\MinGW -P cmake_install.cmake
— Install configuration: “”
— Up-to-date: C:/MinGW/lib/libyaml-cpp.dll.a
— Up-to-date: C:/MinGW/bin/libyaml-cpp.dll
— Up-to-date: C:/MinGW/include/yaml-cpp/conversion.h
— Up-to-date: C:/MinGW/include/yaml-cpp/emitter.h
— Up-to-date: C:/MinGW/include/yaml-cpp/emittermanip.h
— Up-to-date: C:/MinGW/include/yaml-cpp/exceptions.h
— Up-to-date: C:/MinGW/include/yaml-cpp/iterator.h
— Up-to-date: C:/MinGW/include/yaml-cpp/mark.h
— Up-to-date: C:/MinGW/include/yaml-cpp/node.h
— Up-to-date: C:/MinGW/include/yaml-cpp/nodeimpl.h
— Up-to-date: C:/MinGW/include/yaml-cpp/nodereadimpl.h
— Up-to-date: C:/MinGW/include/yaml-cpp/nodeutil.h
— Up-to-date: C:/MinGW/include/yaml-cpp/noncopyable.h
— Up-to-date: C:/MinGW/include/yaml-cpp/null.h
— Up-to-date: C:/MinGW/include/yaml-cpp/ostream.h
— Up-to-date: C:/MinGW/include/yaml-cpp/parser.h
— Up-to-date: C:/MinGW/include/yaml-cpp/stlemitter.h
— Up-to-date: C:/MinGW/include/yaml-cpp/stlnode.h
— Up-to-date: C:/MinGW/include/yaml-cpp/traits.h
— Up-to-date: C:/MinGW/include/yaml-cpp/yaml.hC:\P-ROC\yaml-cpp-0.2.5\bin>pause
Press any key to continue . . .I think both these logs are the same as the previous ones that I generated.
You need to login in order to like this post: click here
November 9, 2016 at 3:19 am #40539So STEP 1 fails extracting MinGW?? Thats’ strange, it means the archive is corrupted.
The yaml-cpp is correctly installed, from what i see in the log.
Are you able to manually extract MinGW?
Go to files/content and extract the archive MinGW.7z in your desktop. If no errors occur, copy the MinGW folder in C:
Next run libpinproc-install.bat (in C:\P-ROC\scripts) and post the log .
We will continue with a manual install of the STEP 1 so we can hopefully see were is the error.
You need to login in order to like this post: click here
November 9, 2016 at 9:54 am #40553This shows how great Ninuzzu is as the support is amazing. Thanks ninuzzu for everything!
********************************************************
Messing with the VPinball app and push notifications.
So if you haven't downloaded app yet what are you waiting for!?
for IOS and Android********************************************************
You need to login in order to like this post: click here
November 9, 2016 at 11:48 am #40557ninuzzu,
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\binC:\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/binC:\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 pinproctestC:\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.hC:\P-ROC\libpinproc\bin>pause
Press any key to continue . . .You need to login in order to like this post: click here
November 9, 2016 at 1:36 pm #40560libpinproc is installed.
So basically you can’t copy MinGW into C and overwrite the files. Try to extract the MinGW.7z directly into C:
Maybe this is causing the install failed during step1. Be sure you extract MinGW correctly into C: before continue.
Anyway now you run this script: it’s a slim version of the step1 (I removed the steps you’ve already done):
Place it in the same directory where the original step1 is and run it.
When finished (without errors hopefully), open a cmd window and type python
You should have access to the python console now.
If everything is OK, run now STEP 2 of the installer.
You need to login in order to like this post: click here
November 10, 2016 at 7:51 am #40589Your new script, Step 2, and the python cmd seemed to run successfully, but Step 3 still indicated that the install failed. Should I believe that?
You need to login in order to like this post: click here
November 10, 2016 at 11:34 am #40596Is anyone smart enough to to figure how to get this to work with python 3.4?
-Mike
You need to login in order to like this post: click here
November 10, 2016 at 12:23 pm #40603I don’t know much about Python. But porting over pypinproc and pyprocgame on top of the table game code sounds like a lot of work when the table plays good with the prerequisite Python v2.6 that these code libraries were designed on. What are you trying to accomplish?
You need to login in order to like this post: click here
November 10, 2016 at 2:23 pm #40615This is not for CCC. Â This would be for running tables using MPF framework.
-Mike
You need to login in order to like this post: click here
November 10, 2016 at 4:17 pm #40621Excluding the option of porting CCC to MPF, it sounds like you will have to have two Python installations: Python 2.6 for CCC and Python 3.4 for MPF. The MPF docs do have some notes for running Python 2 and Python 3 side-by-side. I’m not aware of a COM bridge for MPF to communicate with VP. Not saying I’m the one who can do anything, but are there existing MPF projects that would be interesting to get running with VP? Alternatively, there were some efforts a few months back to incorporate P-ROC support into VPM. Source code is still there but development took a pause.
You need to login in order to like this post: click here
November 10, 2016 at 5:32 pm #40624I’m not able to get python 2.6 and 3.4 to work happily next to each other. I’ve seen some info about it out there, but it’s pretty janky.  I don’t know about other MPF projects but I’m building an MPF project and it would be cool to use VP as a test platform.  There is not a com bridge directly to MPF  at this time, but it seems that a lot of the components for the fakepinproc could be used as mpf has full support for p-roc already. I figured the first hurdle would be to get the virtual p-roc controller working in 3.4.  Then work on the hardware configuration files to address the COM.
-Mike
You need to login in order to like this post: click here
November 10, 2016 at 6:05 pm #40626toxie has done some backporting of proc sourced code into VPM, but I think it all stems from work done by this guy:
He may be the one to get in touch with as far as developing something with VP and MPF as a platform for building and testing custom tables. Of course, this may not help at all at getting two versions of python to play well together.
You need to login in order to like this post: click here
November 12, 2016 at 7:48 am #40743Your new script, Step 2, and the python cmd seemed to run successfully, but Step 3 still indicated that the install failed. Should I believe that?
open a cmd window and type python, press enter:
the python console will load, now give these commands:
import pinproc
import procgame
import pygame
print pinproc.EventTypeBurstSwitchOpenOne of these 4 commands should give you an error.
You need to login in order to like this post: click here
1 user thanked author for this post.
November 12, 2016 at 9:49 am #40746ninuzzu,
The first three commands didn’t return anything. The “print pinproc.EventTypeBurstSwitchOpen” command returned the following error:
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.C:\Users\Tom>python
Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] on win32
Type “help”, “copyright”, “credits” or “license” for more information.
>>> print pinproc.EventTypeBurstSwitchOpen
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
NameError: name ‘pinproc’ is not defined
>>>You need to login in order to like this post: click here
November 12, 2016 at 11:16 am #40749That’s confusing…
import pinproc
doesn’t give you an error but then it complains about pinproc…
LOL sorry but try to uninstall it again and install from scratch. This time deregister.bat shouldn’t give errors.
You need to login in order to like this post: click here
November 14, 2016 at 6:14 pm #40955In addition to uninstalling the pythons and running deregister.bat, do you think I should try to delete what I can of the MinGW folder (In the past, some or all of it wouldn’t delete on the ground that it was in use)?
You need to login in order to like this post: click here
November 15, 2016 at 5:00 am #40981Yes, you have also to delete MinGW and P-ROC folders, as well as Python26.
You need to login in order to like this post: click here
November 22, 2016 at 5:48 am #41699I am very late to the party, I just installed CCC last night for the first time.
And wow it really does worth it, what an amazing work.I am a bit confused about the DMD settings, I have a 3 screen cab and the DMD is working fine at the backglass. But would it be possible to show the DMD on the 3rd screen like usual? Any help would be appreciated.
P.S. Pro Tip: after ten beer, the drunk multiball feels like regular gameplay :)
You need to login in order to like this post: click here
November 22, 2016 at 7:24 am #41705I dont have a 3rd screen but i assume you just enter the proper values in the user config file and it would be on 3rd screen
********************************************************
Messing with the VPinball app and push notifications.
So if you haven't downloaded app yet what are you waiting for!?
for IOS and Android********************************************************
You need to login in order to like this post: click here
November 22, 2016 at 8:53 am #41712You can use the in-game menu settings, but it is quicker to edit config/user_config.yaml directly.
Size is only controlled through Color Display Pixel Size setting. Possible values are limited to 8, 10, and 14. If none of these give you the result you want then you will also have to change your underlying display resolution.
There is an X Offset setting and a Y Offset setting for positioning the display. The settings do not exactly correspond to display x,y positionings in my experience. So it requires some trial and error.
In other words, it is not the same process at all as VPM.
You need to login in order to like this post: click here
1 user thanked author for this post.
-
AuthorPosts
Forums are currently locked.