February 6, 2012
Another bump. Switching to gcc 4.7.0 and trying to compile my qt code with -std=c++0x, fails legendary. The error message is intuitive like ever. It says something like: error: inconsistent user-defined literal suffixes ‘_FILE_’ and ‘QTOSTRING’ in string literal According to this https://bugreports.qt-project.org/browse/QTBUG-22847?focusedCommentId=168644&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel According to this, here is the solution, at least until we get [...]
Posted in C++, Qt |
January 20, 2012
I needed to have gcc 4.6+ on my laptop to compile some c++11 code, which my gcc 4.4.4 from synaptic wasn’t able to handle. Yes, yes ‘update your ubuntu’ is the default warcry in such situations, but I didn’t want that to happen, not yet. So I needed a second gcc in my system. This [...]
Posted in C++, Ubuntu |
December 24, 2011
It started snowing, it’s christmas, and I am a great fan of 2d games. And that’s particularly true when they are made of pixels. Ok, all games are made of pixels, but what I meant is – real pixel art, sprites and bobs, limited number of colors, blocky esthetics, everything that smells like amiga. Enjoy [...]
Tags: 2d platform, games, owlboy, pixelart
Posted in Uncategorized |
December 17, 2011
Several ways found so far, the suggested ‘through the nautilus’ webdav connection approach never worked for me on both 10.10 and 10.04. Maybe it works with a later version, I don’t know. But here is an easy way to set it up. * Open terminal * sudo vim /etc/fstab * append this line to the [...]
Posted in Ubuntu, Uncategorized |
July 3, 2011
What a wonderful, inspiring weekend, spent writing some C in Cygnus Editor. Few months ago a coder from my demo group from the nineties found his Amiga 1200 with a fully functional and kicking hard disk. In one of its deeply nested, completely deprived of any systematical approach, ‘drawers’ (that’s how folders were called on [...]
Posted in Amiga, C++, Demoscene |
May 14, 2011
Ok, here is the story. The amiga demoscene group i was coding for back in the nineties has called for reunion, so here we are, with our first public appearance after 15 years, since the age of BBS’s :) Protozoa, by Almagest, 2011 Music: BLAME, “convergent fields” album. Credits: akiko (code), BLAME (music), blue imp [...]
Tags: almagest, blame, canvas, demo scene, html5, intro, js, protozoa, webtro
Posted in Amiga, Demoscene, HTML5, Js |
March 19, 2011
Firefox has it. Chrome has it too. You cannot do some funky things with the files coming from different domains than the script you are running. I was just trying to load image from http://www.modmancer.com, and then to do some simple image manipulation code starting with: var data = context.getImageData(0,0,100,100); and both Firefox and Chrome [...]
Tags: js
Posted in HTML5, Js |
March 14, 2011
Usually I look after this over and over again, each time I set up ubutntu 10.04 or 10.10. So, this time I will post the link to the quick solution: http://ubuntuforums.org/showpost.php?p=10324779&postcount=8 Just in case the link is unavailable, here is what it says: Re: Disable nouveau Quote: Originally Posted by bmeakings View Post You can [...]
Posted in Ubuntu, Ubuntu 10.04, Ubuntu 10.10, Ubuntu 9.10 |
November 14, 2010
When using qmake as your build system, if you have a project which depends on a, e.g. external_library.a, you will need to set it up so that it can rebuild the library automatically, whenever the external library changes. In Visual studio this is easily done via its GUI, project properties, dependencies section, but when it [...]
Tags: build dependencies, build targets, C++, make, makefile, pre-build project, qmake, qt
Posted in C++, IDE, qmake, Qt, Qt Creator |
October 10, 2010
Looking for a printf replacement when coding NDS homebrew? Okay, (i)printf is nice, most of the time, but sometimes (actually quite often) you just can’t use it, be it for reasons like you’ve exhausted all video memory locations, or you need both screens, if you are coding something more complex than a simple effect, or [...]
Tags: C++, debug, desmume, emulation, memory, nds, nds printf replacement
Posted in C++, Linux, NDS |