Go to advanced search

by davenull
Fri Oct 23, 2015 5:02 pm
Forum: General discussion
Topic: Raspberry pi newbie
Replies: 6
Views: 986

Re: Raspberry pi newbie

as you are posting in the C/C++ forum:
do you also want to start by C programming like me?
by davenull
Fri Oct 23, 2015 4:39 pm
Forum: C/C++
Topic: [resolved:] HDMI: font sizes, simple graphics by g++ C
Replies: 31
Views: 4340

Re: HDMI: font sizes, simple graphics by C

as this OpenVG lib seems to be faulty and/or all the instructions are completely ambiguous and misleadingl:

is there a different graphic + font lib which is working correctly from the start?
by davenull
Fri Oct 23, 2015 12:30 pm
Forum: C/C++
Topic: [resolved:] HDMI: font sizes, simple graphics by g++ C
Replies: 31
Views: 4340

Re: HDMI: font sizes, simple graphics by C

so, for g++ call how will the makefile commands then be? filename is openvg_helloworld.c normally my parameters are for compile: g++ -Wall -c "%f" -lpthread -lrt -lwiringPi for make: g++ -Wall -o "%e" "%f" -lpthread -lrt -lwiringPi now additionally -l/opt/vc/include -o -lshapes ? (I have no clue wha...
by davenull
Fri Oct 23, 2015 10:29 am
Forum: C/C++
Topic: [resolved:] HDMI: font sizes, simple graphics by g++ C
Replies: 31
Views: 4340

Re: HDMI: font sizes, simple graphics by C

where can I find or how can I generate this missing anysource.c file ?
by davenull
Thu Oct 22, 2015 8:57 pm
Forum: C/C++
Topic: [resolved:] HDMI: font sizes, simple graphics by g++ C
Replies: 31
Views: 4340

Re: HDMI: font sizes, simple graphics by C

edit: I also added the line -I/opt/vc/include anysource.c -o anysource -lshapes additionally to Geany parameter settings for compile and make, nevertheless the error is g++ -Wall -c "openvg_helloworld.c" -lpthread -lpigpio -lrt -lwiringPi -l/opt/vc/include anysource.c -o anysource -lshapes (im Verze...
by davenull
Thu Oct 22, 2015 5:11 pm
Forum: C/C++
Topic: [resolved:] HDMI: font sizes, simple graphics by g++ C
Replies: 31
Views: 4340

Re: HDMI: font sizes, simple graphics by C

command does not work: pi@raspberrypi ~/openvg/client $ cd ~/openvg pi@raspberrypi ~/openvg $ make library gcc -O2 -Wall -I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads -c libshapes.c gcc -L/opt/vc/lib -lGLESv2 -lEGL -ljpeg -shared -o libshape...
by davenull
Thu Oct 22, 2015 4:18 pm
Forum: C/C++
Topic: [resolved:] HDMI: font sizes, simple graphics by g++ C
Replies: 31
Views: 4340

Re: HDMI: font sizes, simple graphics by C

try again... I missed 1 step, and a typo...: pi@raspberrypi ~ $ sudo apt-get install libjpeg8-dev indent libfreetype6-dev ttf-dejavu-core Next, build the library and test: pi@raspberrypi ~ $ git clone git://github.com/ajstarks/openvg pi@raspberrypi ~ $ cd openvg pi@raspberrypi ~/openvg $ make g++ -I...
by davenull
Thu Oct 22, 2015 3:48 pm
Forum: C/C++
Topic: [resolved:] HDMI: font sizes, simple graphics by g++ C
Replies: 31
Views: 4340

Re: HDMI: font sizes, simple graphics by C

thank you for the links! about installation: 1st, I already once tried the command git clone... for a different issue but that didn't work on my Raspi. Is there a different way to install all the required libs? please remember, I am completely new to Linux. 2nd, do I have to use both links or just o...
by davenull
Thu Oct 22, 2015 7:40 am
Forum: C/C++
Topic: [resolved:] HDMI: font sizes, simple graphics by g++ C
Replies: 31
Views: 4340

[resolved:] HDMI: font sizes, simple graphics by g++ C

hello, for my Raspi B+ I'm using HDMI screens (11-12") and for programming I'm using C/C++ by Geany on Raspbian Linux (latest download). What will be the most simple and most convenient way to #include and use C libs to have text output by different font sizes, write at (x,y) position for tables/cha...

Go to advanced search