{"action":"created","issue":{"url":"https://api.github.com/repos/paeryn/openvg/issues/7","repository_url":"https://api.github.com/repos/paeryn/openvg","labels_url":"https://api.github.com/repos/paeryn/openvg/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/paeryn/openvg/issues/7/comments","events_url":"https://api.github.com/repos/paeryn/openvg/issues/7/events","html_url":"https://github.com/paeryn/openvg/issues/7","id":143473141,"number":7,"title":"test program can not be compiled:","user":{"login":"shiftleftplusone","id":11213519,"avatar_url":"https://avatars.githubusercontent.com/u/11213519?v=3","gravatar_id":"","url":"https://api.github.com/users/shiftleftplusone","html_url":"https://github.com/shiftleftplusone","followers_url":"https://api.github.com/users/shiftleftplusone/followers","following_url":"https://api.github.com/users/shiftleftplusone/following{/other_user}","gists_url":"https://api.github.com/users/shiftleftplusone/gists{/gist_id}","starred_url":"https://api.github.com/users/shiftleftplusone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiftleftplusone/subscriptions","organizations_url":"https://api.github.com/users/shiftleftplusone/orgs","repos_url":"https://api.github.com/users/shiftleftplusone/repos","events_url":"https://api.github.com/users/shiftleftplusone/events{/privacy}","received_events_url":"https://api.github.com/users/shiftleftplusone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-25T10:30:32Z","updated_at":"2016-03-25T11:04:50Z","closed_at":null,"body":"program can not be compiled:\r\n~~~\r\n// first OpenVG program\r\n// Anthony Starks (ajstarks@gmail.com)\r\n// Adapted for paeryn's fork by paeryn\r\n#include <stdio.h>\r\n#include <stdlib.h>\r\n#include <unistd.h>\r\n#include \"VG/openvg.h\"\r\n#include \"VG/vgu.h\"\r\n#include \"fontinfo.h\"\r\n#include \"shapes.h\"\r\n\r\nint main() {\r\n    int width, height;\r\n    char s[3];\r\n\r\n    // Request a window size of 600x360 with top-left at 20,20\r\n    initWindowSize(20, 20, 600, 360);\r\n    init(&width, &height);                  // Graphics initialization\r\n\r\n    Start(width, height);                   // Start the picture\r\n    Background(0, 0, 0);                    // Black background\r\n    Fill(44, 77, 232, 1);                   // Big blue marble\r\n    Circle(width / 2, 0, width);            // The \"world\"\r\n\r\n    Fill(255, 255, 255, 1);                 // White text\r\n    TextMid(width / 2, height / 2, \"hello, world\", SerifTypeface, width / 10);  // Greetings \r\n    End();                                  // End the picture\r\n    WindowOpacity(128); // Make the window half opacity\r\n                // Can now see what is behind it    \r\n    fgets(s, 2, stdin);                     // look at the pic, end with [RETURN]\r\n    finish();                               // Graphics cleanup\r\n    exit(0);\r\n}\r\n\r\n\r\n~~~\r\n\r\n~~~\r\nbuild:\r\nfalatal error:\r\nVG/openvg.h: no such file or directory\r\n#include \"VG/openvg.h\"\r\n\r\ncompilation terminated\r\n\r\n~~~"},"comment":{"url":"https://api.github.com/repos/paeryn/openvg/issues/comments/201240873","html_url":"https://github.com/paeryn/openvg/issues/7#issuecomment-201240873","issue_url":"https://api.github.com/repos/paeryn/openvg/issues/7","id":201240873,"user":{"login":"shiftleftplusone","id":11213519,"avatar_url":"https://avatars.githubusercontent.com/u/11213519?v=3","gravatar_id":"","url":"https://api.github.com/users/shiftleftplusone","html_url":"https://github.com/shiftleftplusone","followers_url":"https://api.github.com/users/shiftleftplusone/followers","following_url":"https://api.github.com/users/shiftleftplusone/following{/other_user}","gists_url":"https://api.github.com/users/shiftleftplusone/gists{/gist_id}","starred_url":"https://api.github.com/users/shiftleftplusone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiftleftplusone/subscriptions","organizations_url":"https://api.github.com/users/shiftleftplusone/orgs","repos_url":"https://api.github.com/users/shiftleftplusone/repos","events_url":"https://api.github.com/users/shiftleftplusone/events{/privacy}","received_events_url":"https://api.github.com/users/shiftleftplusone/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T11:04:50Z","updated_at":"2016-03-25T11:04:50Z","body":"I am using these geany settings: how do they look like completed then?\r\n\r\nI don't look any more through the millions of parameters needed:\r\n\r\ncompile:\r\ng++ -Wall -pthread -I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads -c \"%f\" -lshapes \r\n\r\nbuild\r\ng++ -Wall -pthread -I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads -o \"%e\" \"%f\" -lshapes -L/opt/vc/lib -lOpenVG -lEGL\r\ng++ -Wall -pthread -I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads -c \"%f\" -lshapes \r\n\r\nit would be very convenient if you could wrap your paths in one of your most important primaraey header files to be included additionally, automatically!\r\n8-)"}}