About my question how to install it:
After that, just a new git checkout <branch>, or should I instead clean remove everything and fresh install?
After that, just a new git checkout <branch>, or should I instead clean remove everything and fresh install?
Yes, but I have a life outside of helping on here. Whilst I do (generally) check these fora several times a day I may end up spending what time I have trying to help other people.dsyleixa123 wrote: ↑Fri Jul 13, 2018 4:15 pmno one here to explain how the correct and clean way for a downgrade is from screenshot to windowsave?
Code: Select all
libshapes.c: In function ‘WindowSaveAsPng’:
libshapes.c:1317:8: warning: variable ‘width’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
VGint width = *w;
^~~~~
libshapes.c:1318:8: warning: variable ‘height’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
VGint height = *h;
^~~~~~
libshapes.c:1337:68: warning: argument ‘w’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
bool WindowSaveAsPng(const char *filename, VGint x, VGint y, VGint w, VGint h, int zlib_level) {
^
libshapes.c:1337:77: warning: argument ‘h’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
dowSaveAsPng(const char *filename, VGint x, VGint y, VGint w, VGint h, int zlib_level) {
^
Code: Select all
install -m 755 -p font2openvg /usr/bin/
install: das Entfernen von '/usr/bin/font2openvg' ist nicht möglich: Keine Berechtigung
Makefile:55: die Regel für Ziel „install“ scheiterte
make: *** [install] Fehler 1
Code: Select all
dot.c: In function ‘drawScene’:
dot.c:27:28: warning: implicit declaration of function ‘rand’ [-Wimplicit-function-declaration]
float xp = (float)(rand() & 0x3ff);
^~~~
dot.c: In function ‘main’:
dot.c:49:17: warning: implicit declaration of function ‘atoi’ [-Wimplicit-function-declaration]
count = atoi(argv[1]);
^~~~
Code: Select all
int _fontsize_ = 10;
inline void lcdprintxy(VGfloat x, VGfloat y, char * buf) {
Text( (x+_fontsize_), (y+_fontsize_*1.2), buf, MonoTypeface , _fontsize_);
}
void display() {
Fill(255, 255, 255, 1);
lcdprintxy(0,0,"Test");
// StrokeWidth(1.0); // doesn't make a difference with or without
Dot(50,10,false); Dot(52,10,false); Dot(54,10,false); Dot(56,10,false); Dot(58,10,false);
Dot(50,20,false); Dot(52,20,false); Dot(54,20,false); Dot(56,20,false); Dot(58,20,false);
End();
}
Code: Select all
Dot(x, y, false);
Code: Select all
vguEllipse(dot_rough_path, 0.5f, 0.5f, 1.0f, 1.0f);
Code: Select all
vguRect(dot_smooth_path, 0.0f, 0.0f, 1.0f, 1.0f);
Code: Select all
git pull --rebase
Code: Select all
git clone http://github.com/paeryn/openvg.git
git checkout windowsave
Code: Select all
make
sudo make install
Oops, yes I updated the one in client because I needed to run the demos, but the demos don't link dynamically against the library, they link statically with its object files.dsyleixa123 wrote: ↑Sat Jul 21, 2018 7:54 pmJust FYI,
the make in openvg still had the wrong paths instead of -lbrcmGLESv2 -lbrcmEGL,
but in openvg\client\ this already was correct surprisingly!
Thank you very much for your efforts!