In reply to cgales: I did not use the command line to compile the code. I just compile all in the project section.