Visual Studio - Get the correct include files
Posted: Sun Jul 18, 2010 7:38 pm
Hi,
I have setup my devkitPPC environment and everything works as expected witch is great but I have one issue that I can't solve myself. When using Visual Studio 2010 I want to get ride of all the Windows and unusable items from the intellisense and just get the stuff I can use so I have removed all windows include paths and only have "D:\Wii\DevkitPro\devkitPPC\powerpc-eabi\include" and "D:\Wii\DevkitPro\libogc\include" left, the works almost, Visual Studio just complains that exit and printf can't have any arguments... The code compiles fine (the hello world example included with devkitpro) so it's just a cosmetic error, anyone know how to fix this error? Am I missing a include here where printf and exit are declared to take arguments?
This is a list of the includes I have in the file,
/Viktor
I have setup my devkitPPC environment and everything works as expected witch is great but I have one issue that I can't solve myself. When using Visual Studio 2010 I want to get ride of all the Windows and unusable items from the intellisense and just get the stuff I can use so I have removed all windows include paths and only have "D:\Wii\DevkitPro\devkitPPC\powerpc-eabi\include" and "D:\Wii\DevkitPro\libogc\include" left, the works almost, Visual Studio just complains that exit and printf can't have any arguments... The code compiles fine (the hello world example included with devkitpro) so it's just a cosmetic error, anyone know how to fix this error? Am I missing a include here where printf and exit are declared to take arguments?
This is a list of the includes I have in the file,
Code: Select all
#include <stdio.h>
#include <stdlib.h>
#include <gccore.h>
#include <wiiuse/wpad.h>
/Viktor