From what I can see you made a .o file (arduPi.o), not actually the arduPi program. This file is a library that you need to link into the compilation of whatever program you are building with that library. If you are trying to compile the test file arduPi.cpp, you would need to do this like so:
g++ -lrt -lpthread arduPi.cpp arduPi.o -o arduPi
Once that is complete, you can do sudo ./arduPi.
I must say, the whole arduPi library and shield setup is marked as "Expert" level on the site you linked - if you do not understand the workings of the c++ compiler and how to link code libraries, it might make sense to read up on that first and get familiar before tackling the arduPi library.
arduPi.cppwithout linking in the library, and witharduPi.oas the output. That is not correct. You should have first builtarduPi.ousingwget http://www.cooking-hacks.com/media/cooking/images/documentation/raspberry_arduino_shield/raspberrypi2.zip && unzip raspberrypi2.zip && cd cooking/arduPi && chmod +x install_arduPi && ./install_arduPi && rm install_arduPi && cd ../..and then used thatarduPi.olibrary to compilearduPi.cppas per theg++-line above. – Phil B. Sep 16 '16 at 01:48wgetcommand and then I wroteg++command too but it did not work too. I am sorry but I know nothing about c++ compiler do you have any idea how can I learn it with a few days please ? I really need that – test me Sep 16 '16 at 02:00