Visual Studio project generation for Mozilla Firefox

Recently, the Mozilla Firefox build interface, aka mach, was enhanced with a great feature for Windows developers: the ability to generate Visual Studio project files. Such project files are not maintained in mozilla-central, hence the need for a way to generate them. Thanks to the awesome work done by Gregory Szorc, generating project files using mach is as simple as issuing the following command: [bash] ./mach build-backend backend=VisualStudio [/bash] The solution file will be available in your object directory, under the msvc folder (i....

March 22, 2014 · 1 min · Alessio Placitelli

Mercurial and patch queues for dummies

Lately I’ve started contributing to Mozilla Firefox with some patches (yay! It’s an awesome project… consider contributing 😉 ). It was a good excuse to practice with Mercurial, the distributed revision control software used by Mozilla. I’m mainly a Git user and I have to admit I was a little puzzled at first and had to adapt to the new workflow. In this article I will try to answer some of the questions I had during my learning phase....

February 9, 2014 · 1 min · Alessio Placitelli

Cross-compilation in cygwin for the Raspberry-Pi: ./configure and CMake

I’m having a lot of fun these days with my Raspberry-pi! Since I’ve already built my own tool chain to cross-compile from my Windows plus Cygwin machine and setup my IDE to compile and debug my software using it, I finally started to compile some projects. Unfortunately I had to face a couple of problems: how to make the ./configure script use my tool chain to generate Raspberry-Pi binaries in cygwin?...

August 9, 2012 · 2 min · Alessio Placitelli

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

Remote cross debugging: Windows to Raspberry-Pi

In the past few days I’ve spent quite a lot of time on my new shining Raspberry-Pi. It’s an amazing little devil, worth every Euro I spent! Since I’ve planned to deploy a software component of my augmented reality system on this board, I needed to figure out how to remotely debug it in order to troubleshoot any issue I would run into. It took me some time, but thanks to the friends on Raspberry Pi Forum and to this awesome tutorial I finally made it: I can deploy my software to the raspberry-pi from Eclipse CDT and debug from my comfortable Windows 7 machine....

August 3, 2012 · 6 min · Alessio Placitelli

Kinect-based medical images exploration

The following is a short video clip about the project I’ve been involved in for the last months at ICAR-CNR. We’ve been using OpenNI+Nite+OpenCV to manipulate medical images using Microsoft Kinect. Enjoy the clip and let me know what you think 😉

May 4, 2011 · 1 min · Alessio Placitelli

Aggiornamento seriale Visual Studio 2008 trial su Windows 7|Visual Studio 2008 trial serial upgrade on Windows 7

[lang_it]Oggi mi è capitato un fatto alquanto strano: ho installato la versione trial di Visual Studio 2008 e, provando ad inserire il mio seriale, mi sono reso conto che mancavano i controlli. Eh già! A quanto pare è un problema noto di Visual Studio 2008 su Windows 7! Dopo un po’ di ricerche, sono giunto all’articolo KB979576 nella knowledge base di mamma Microsoft: problema risolto, ora posso inserire il seriale ;-)[/lang_it]...

April 5, 2011 · 1 min · Alessio Placitelli

MITO: software open source per medical imaging|MITO: open source medical imaging software

My internship at the ICAR institute (CNR) gave me the opportunity to work on some interesting projects, one of them being a software named MITO (Medical Imaging TOolkit). MITO, as stated by the project website, is an opensource software architecture for advanced Medical Imaging. I’m always proud of the projects I work on, even more if those projects are contributing to the opensource cause and managed by some public funded research institute!...

August 10, 2009 · 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