Issue#3340: Intel Galileo OpenCv Project using Eclipse IDE

  • Hello,

    I am a newbie at Intel Galileo and opencv but this is my senior project so I have to learn. Now I have just done all the things written here IoT - Getting Started with the Intel® Galileo Board on Windows* | Intel® Developer Zone then installed Eclipse IDE and connected it to Intel Galileo. I tried blink codes and it worked. Now I want to process images with OpenCv. First of all I wrote these basic codes to capture a video from the webcam and I was expecting a window to show up and that I can see the view of my webcam on my computer. But it says Gtk-WARNING **: cannot open display:

    So what can I do to solve this problem?


    By the way, at the end of this project it will be a tennis ball tracking robot so any ideas/methods will be appreciated.


    #include <opencv/cv.h>

    #include <opencv/highgui.h>

    #include <X11/keysym.h>



    int main(int argc, char **argv)


      /* Start the CV system and get the first v4l camera */

      cvInitSystem(argc, argv);

      CvCapture *cam = cvCreateCameraCapture(0);



      /* Create a window to use for displaying the images */

      cvNamedWindow("img", 0);

      cvMoveWindow("img", 200, 200);



      /* Display images until the user presses q */

      while (1) {


      IplImage *img = cvRetrieveFrame(cam);

      cvShowImage("img", img);

      if (cvWaitKey(10) == XK_q)

      return 0;




    0 Answers

    Sorry, your answer is too short !

  • Issue#323027: Intel - Connect to Edison was cancelled while launching project in Eclipse IDE

    Hello, whenever I tried to run the code in the eclipse IDE, I am facing following  intermittent errors. I have tried following options:1. Flashing the Edison mini breakout board with latest image2. Running integrated installer. 3. Ensured Edison board is connected over wifi.4. Synchronizing libraries when asked to do. I have shared the code below which I am currently using. Please let me if am missing anything. Your inputs will be highly valued.    CODE:   #include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <sys/socket.h>#include <bluetooth/bluetooth.h>#include <bluetooth/hci.h>#include <bluetooth/hci_lib.h>#include <sys/ioctl.h>#include <bluetooth/rfcomm.h> void connectusingRF(int *sock,char *addr); int main(int argc, char **argv){    inquiry_info *ii = NULL;    struct hci_conn_info_req *cr;    bdaddr_t bdaddr; 

  • Issue#899017: Intel - Issue On Compiling Azure IoT SDK In Eclipse IDE

    Hi, I managed to compile my Azure IoT SDK C programming project files (Without I/O and I2C Configuration) within Intel Edison itself using cmake.  Now, I wish to compile the Azure IoT SDK C programming project files in the Eclipse IDE. Reason for choosing Eclipse IDE is I/O and I2C C project files is compiled and runs sucessfully on Eclipse IDE. Now, I have encountered compiling errors when trying to compile whole project files (Combined codes of Azure IoT SDK, I/O and I2C). The errors are as per below:It cannot reference to some functions of Azure library (I have copied all required C header files from Azure folder and inserted into Eclipse) May I know is there any solution for this? Thanks!

  • Issue#37463: Intel - Failing to install /update drivers for Galileo Gen 2 for Arduino IDE

    Hi,I installed intelArduino 1.6.0 for windows and connected the Galileo Gen 2 Board, however i failed to update galileo's drivers in device manager (Windows 8.1). The error im getting says,"the hash for the file is not present in the specified catalog. The file is likely corrupt or a victim of tampering."Similarly I tried with Arduino 1.6.3 for windows and the drivers can not be detected in the hardware path specified.How do i rectify this?And the board is showing in the Arduino Boards menu ,but the Port is greyed out and if I try to upload a sketch it gives an error and takes forever loading. Please be of assistance.  Thank you

  • Issue#284812: Intel - Galileo gen1 arduino ide problem

    Firstly I want to say that I worked in the past with the arduino ide on some arduino uno projects, so i am not a complete  newbie when it comes to arduino ide.I just got an intel galileo gen1 board from my university and I wanted to test the blink project. I installed the board using this guide IoT - Intel® Galileo Board Assembly using Arduino* | Intel® Developer Zone after i opened the ide, I checked the tools->board/port to be the right ones. I uploaded the program but it fails,  i get this error: Arduino: 1.6.4 (Windows 8.1), Board: "Intel® Galileo" i586-poky-linux-uclibc-g++: error: C:\Users\isara\AppData\Local\Temp\build5158321505411607872.tmp/core.a: No such file or directoryError compiling.   This report would have more information with  "Show verbose output during compilation"  enabled in File > Preferences..  My os is win10 x64.

  • Issue#287005: Intel - adding new library to Eclipse IDE

    Hello,  I have an Intel Galileo Gen 1 and I am coding it by using eclipse ide. I have also bought an adafruit motor shield v1 and I want to control them both by coding on Eclipse IDE. I saw that Adafruit has downloadable library for motor shield but it is only described to install this library to arduino ide. How can I use this library on Eclipse Ide. Thanks.

  • Issue#441321: Issue with MQTT with Paho on Intel Galileo

    I was starting to feel sorry for my 2 Intel Galileo boards as they haven't seen much action for a while so I decided to build some example scripts for my Python module that allows devices to connect to my developer platform via Paho. The package has the required certificate included that is required to connect to the MQTT broker (and works with no issues on Raspberry Pi) but I am getting the following error, does anyone have any ideas how to resolve this issue, I finally have some plans for the two boards and hit a road block straight away. python IntelGalileoDevice.pyTraceback (most recent call last):  File "", line 55, in <module>    JumpWayPythonMQTTDeviceConnection.connectToDevice()  File "/usr/lib/python2.7/site-packages/techbubbleiotjumpwaymqtt/", line 58, in connectToDevice    self.mqttClient.connect(self.mqttHost,self.mqttPort,10)  File "/usr/lib/python2.7/site-packages/paho/mqtt/", l

  • Issue#707438: Function digitalRead(2) on IDE for Intel Galileo

    Hi everybody.I tried to test function digitalRead on IDE for Intel galileo kit within 0, 1, 2, 3, 10, 11, 12, 13 pins, but they don't work. I used serial to print value button and the result is the image following. Can you help me. Thanks in advance.

  • Issue#1720: Weird issue with Sprite Kit project

    I want to have a little play around with Sprite Kit, just for fun really. I decided that I would like to target OS X initially. I've tried building and running the default Sprite Kit template project. I have made no changes to it. It builds with no errors, but when the product is run, the graphics in the window are completely corrupted. This is supposed to be a few spinning spaceships. The lumps of stuff do spin, but they don't look anything like a ship:... Weird issue with Sprite Kit project

  • Issue#6776: Lenovo v470 - Intel Graphics Drivers Issue

    I'm having display issues with my v470 laptop when I install Intel Graphics drivers. After few mins of using the laptop, the display gets distorted and locks up the laptop. I have to power off the laptop every time. I tried installing the Intel Onbroad Graphics drivers that's available from Lenovo's website. I also try install the latest Intel HD Graphics 3000 drivers from Intel website. I ran memtest successfully without any errors.  The odd part is whenever I uninstall the Intel Graphics drivers the issue goes away.  This is how the display looks - Specs: i5 2410M8 gigs RAMWin 7 Ultimate x64 Any help would be appreciated. Thanks!

  • Issue#20529: Weird stability issue with intel integrated graphics

     "I've been getting this issue since I updated my motherboard BIOS from it's initial..."

  • Issue#21274: Intel - Galileo 1 Connection Through Ethernet Cable

    Hi, Just sharing my experiments related to the subject of this discussion: Galileo 1 Connection through Ethernet Cable. Maybe you already know everything, but maybe I'm losing something and you'll be able to suggest/fix some mistake I eventually make. Every subsequent post will be a specific experiment: direct connection, with/out SD card, connection to a router, etc. Fernando.

  • Issue#21286: Project CARS - Pitting - Issue with tires.

    We raced tonight at Monza, 30 laps... I had to pit for fuel on lap 20 (Group5 - Ford Capri), I did NOT change tires, as they were barely worn, and got the right pressure throughout the race. (I did set up a pit stop strategy for the stop, with tire change, the pressure was set at the start at 1.10 for all four tires at the start, and in the pit stop also for 1.10 for all four) Now, I did choose to NOT change any tires, but after the stop, I drove 1 lap, and all tires were full red, at 125-140 °C. This is surely not good like this, as these same tires did 20 laps before that, always being green, and have not worn 10% during these 20 laps, but after the stop, they wore another 20% (at least) in the next 8 laps.

  • Issue#26400: Project CARS - Mazda mx-5 radbull steering issue

    I drive t500rs and now i try the new mx-5 radbull but when i turn the wheel over 1/4 round it suddenly turn's to maximum it only does this for this car.

  • Issue#29790: Intel - Using the Wiring library (but not the arduino IDE)

    I am programming the Edison in C++ with eclipse and the mraa library.I am trying to integrate an Adafruit sensor that comes with a driver that seems designed for the arduino IDE and refers to  the Wiring framework (WProgram.h, wire.h).What is the best way to use it with the minimum amount of code rewriting ?

  • Issue#33323: Project CARS - Issue: T300 wheel tears to one side

    Hi, when driving online frequently my T300 wheel tears suddenly to one side. Only help is to end and restart pcars. The PS4 guys report the same issue. In my case it is on PC. I think it came with patch 8.0. Any other on PC with this issue? It seems to happen when driving online. Didn't have this issue offline so far.

  • Issue#35966: Project CARS - T300rs wheel FFB fade issue after update to 8.00 version

    Hi guys. i have a FFB fading issue with my t300rs wheel since i updated project cars to 8.00. Before the update, the wheel was fine and I could play it for an hour without feeling any FFB fade. But after update to 8.00, the FFB feels slightly stronger than before and then starts fading after just 5 mins of game play. I wonder is there anyone having the same issue? Cause i only have the project cars and don't have any racing games, so i cannot tell if this is a game issue or there is something wrong with the wheel. (current setting: FFB=75; TIRE FORCE=115)

  • Issue#42287: how to bring serial terminal setup for intel galileo gen 2 Nneed help asap


  • Issue#42288: Serial communication between two Intel Galileo Gen 2

    Hi, I'm new in using Intel Galileo, and I'm trying to connect two Intel Galileo Gen 2 in order to communicate each other. I've linked pin 0 (rx) of board "A" with pin 1 (tx) of board "B" and viceversa. I've also connected the two ground together. On the board "A" I've loaded this sketch:   byte b = 0x00; void setup() {  Serial.begin(115200);} void loop() {  Serial.write(b);}   On the board "B" I've loaded this one: byte num; void setup() { Serial.begin(115200);} void loop() { if(Serial.available()>0) {     num =;  }  Serial.println(num);} Obviously, board "B" doesn't receive anything. But why?Please, help me.

  • Issue#43480: [ubuntu] Intel Graphics Issue

    Hi Guys, This is Karan. I'm running on Ubuntu 15.10 Willy Werewolf, ASRock H81 PRO BTC Mobo, Intel Pentium G3258 4th Generation Haswell Processor that claims to bundle 4th Gen. Intel Extreme Graphics. I'm dual booting Ubuntu 15.10 with Windows 10 both on separate HDDs. I'm playing graphics intensive games on Windows and I've installed Intel Graphics from Intel's own website leading to Intel Graphics Installer for Linux. After taking much time, the app displayed success message and asked a reboot. I did reboot and initial boot screen display was at about 640x480 resolution and then switched back to original 1024x768 resolution during boot and logged in as usually. I didn't noticed anything different from Ubuntu without Intel Graphics and/or with Intel Graphics. Next I ran, VMWare Workstation 12 and Installed Windows 8.1 x86 guest OS in it. I enabled 3D Support in settings but when I booted the VM, it displayed and error message that No 3D Support is available from Host OS... Did I did

  • Issue#45592: Project CARS - FORD Falcon in-car view issue - anyone else have the same???

    Not too sure if anyone has noticed...the in-car view in the new ford falcon doesnt show the steering wheel, if you set hide driver option in the game settings. I race in car view, with the no hands/driver option set in the game settings - perfect for me. With cars that don't have displays built into the steering wheel itself - the no hand/driver option removes the wheel as well as the driver/arms/hands - thats all good - and cars with displays in the steering wheel - the no hand/driver option removes the driver/hand/arms but keeps the steering wheel with its inbuilt display in a static position - all good. the Falcon has its display built into the wheel - but with no wheel hence no display - its makes the drive a bit more entertaining, but it is gonna cause problems in a race. I turned this option off to enable the driver/hands/arms and the steering wheel is i cant blame my pit crew! i've put the hud on for now in that car, has anyone else noticed this? Only tried thi

  • Issue#54939: Project CARS - Bmw 2002 Stanceworks puncher issue?

    Anyone else having this issue,every race about the 3-4th lap i get a front puncher?

  • Issue#73393: Intel - NUC6i5SYH Audio Driver Issue on Windows 10

    I recently purchased a NUC6i5SYH and have installed Windows 10 Pro 64 bit. I'm using 16GB (2x8) HyperX DDR4 Ram and the Samsung SM951 256GB NVMe SSD.BIOS  version is 33. The NUC is attached to a BenQ FullHD Monitor via HDMI out, which has speakers built in. I have installed the latest Graphics drivers as well as the Realtek Audio drivers.Each time when I boot the device, I get a red X symbol on the speaker icon in the task bar telling me that no audio device was found. When I click on it, Windows identifies the issue and prompts me to restart. When I do that, the speaker is recognized and I can hear the audio boith via HDMI and the Audio jack.Next time I boot, I get the exact same issue again. How can I fix that?I already tried uninstalling the Realtek audio driver, which doesn't make any difference.

  • Issue#75634: Intel NUC6i3 with Intel HD 520 audio over HDMI issue

    Hi, I got some frustrating issues with my Intel HD 520 and Audio via HDMI / mDP. [Description]The Audio over HDMI just stops/breaks under some circumstances: 1. Starting some games in fullscreen will instantly break audio over HDMI / mDP. Window Mode works just fine.2. Using Kodi in Fullscreen when switchin between different refresh rates (24p, 50p, 60p). It can happen after some videos or even after just one video. There is no error or anything reported back to me. After this issue happend the software will hang / stutter and freezes when closed down.Some games work just fine for hours without any issues. I've got no idea why that is. When starting the Game "Faster than Light" in fullscreen sound breaks 100% of all times.Playing some old backups of my GameCube games with Dolphin emulator and DirectX as Renderer will also lead 100% to this issue. The Games "Kerbal Space Program" and "Dead Space 1" worked always without any issues.  [Hardware]Its

  • Issue#79539: Project CARS - Thrustmaster 458 button mapping issue

    Hello, It's my own fault but I changed my buttons around on my steering wheel and changed the clutch to the A button. Not expecting it to remove its use from the home screen on the game. Anyone any ideas how I can reset my controls ? please remember I cannot use the A key on my steering wheel to go into settings and my Xbox control doesn't respond whilst the wheel is connected

  • Issue#81455: Project CARS - Driving aids issue in online lobbies (PlayStation 4)

    Hi! First at all congratulations to the team for making such good game! But like all the games..there's some bugs and issues left that should be fixed. Here goes one annoying for me and some friends while we race in a Online league on the PlayStation 4 platform. We set up the lobby rules and driving assists off with only ABS permission.. But on track we still can engage the stability control and the traction control with the USB keyboard.. Please check that, and fix it in a update.. I let some screenshots of the configuration of the lobby and the issue that shows the activation of the assists on track while it should be denied.. Hopefully this helps for making the game better and see a fix of this issue soon. Greetings from Spain! And keep up the great work!

  • Issue#82101: Intel Driver Update Utility Installation Issue

    Hello, I'm trying to install the Driver Update Utility on my system running windows XP, but is encountering an error in the installation process. I've attached the log files and the error screen shot. Can anyone please tell me what this error implies? Thanks.

  • Issue#88505: Intel - Send data from Galileo to dataserver

    Hi I have a project send data from Galileo board to data server, I researched around but I can't find the best solution for my project. Anyone can help me with the idea.     I use Galileo talk to GPS sensor through a serial pin by Arduino sketch. the result will pass to python script then send to data server. My question is how python script can get result from Arduino sketch, is there any function or we should write to a text file?     Second, my data server is just a work station, the sql is created by MS access, is it applicable to send data to this work station

  • Issue#88898: Project CARS - BMW 2002 SW driver hand model issue

    There's a gap between gloves and cloth 3d model.

  • Issue#91438: Intel - Galileo Trouble

    Hi, i have this trouble with my galileo gen1.                                                              How i can fix? PD: I do this Recovery Mode for Boards and Kitsbut don´t apper the first menu.