Raspberry Pi: Windows Cygwin cross-compilation toolchain

I finally succeeded in compiling a working cross-compilation tool chain for my Raspberry Pi. It took me a while, but thanks to some valuable posts on the Raspberry Pi forum by Ian Linsdell and some luck I finally made it. The tool chain contains the Linaro versions of GCC (gcc-linaro-4.6-2012.07) and GDB (gdb-linaro-7.4-2012.06) compiled with the hardfp option. Simply unpack the archive in the /opt/cross/x-tools folder of your Cygwin installation (i....

August 8, 2012 · 1 min · Alessio Placitelli

VC++ 2008 e CUDA (NVIDIA)|VC++ 2008 and CUDA (NVIDIA)

Let me guess: you just wrote your new, shining CUDA application to unleash all the horsepower of your GPU and you are getting some compilation errors in Visual Studio. Some really weird errors. Something like: 1>CUDA_myfile.cu_generated.c 1>C:\Programmi\Microsoft Visual Studio 9.0\VC\INCLUDE\vadefs.h(52) : error C2059: syntax error : ‘string’ 1>C:\Programmi\Microsoft Visual Studio 9.0\VC\INCLUDE\vadefs.h(61) : error C2059: syntax error : ‘string’ 1>c:\cuda\include\vector_types.h(426) : error C2059: syntax error : ‘type’ 1>c:\cuda\include\vector_types.h(427) : error C2059: syntax error : ‘type’...

November 23, 2008 · 2 min · Alessio Placitelli

Stanchi di windiff?|Tired of windiff?

Beh, se lo siete, allora è una vera fortuna che stiate seguendo questo blog. Girovagando per la rete ho scoperto questo fantastico strumento opensource, WinMerge, che ha tutte le funzioni di windiff ed in più una accattivante veste grafica. La ciliegina sulla torta? Si integra alla perfezione con TortoiseSVN: un MUST. Well, if you are, consider yourself lucky to read this blog. I was tired of windiff, and I started looking for something more interesting, which could also be integrated with my versioning control environment (TortoiseSVN)....

July 25, 2008 · 1 min · Alessio Placitelli

CryENGINE2? Nah, Excel does it better

I love experimenting: exploring the unknown (or proving the known), often just for personal knowledge. I guess that’s the reason why every wannabe game programmer tried at least once in his/her life to write a game engine from scratch. That’s not exactly the case of Peter Rakos, an expert, who wrote a 3d engine just using Microsoft Excel (and his brain). Intriguing, isn’t it? I seriously recommend you to give his article a read, trust me....

March 9, 2008 · 1 min · Alessio Placitelli

Running Subversion as a Windows Service

One thing programmers and software engineers know for sure (or at least should know) is that it doesn’t really matter how much time you spend on documenting, designing or keeping code clean: things may break and often will break. That’s a possibility that must be considered when working on an important project. Things get even worst when more than one person is working on the same stuff. Luckily, there is something we can count on to sleep peacefully: Subversion (SVN Wikipedia Page), a version control system....

February 3, 2008 · 2 min · Alessio Placitelli