Maybe someone find this helpful. I corrected this problem unchecking 32bits preference on project properties > compile tab