[Débutant] Problème lors de la compilation sous Visual C++ 6
Bonjour, je vous dit que je suis totalement "newbie" dans ce domaine, donc un peu de collaboration si je ne m'exprime pas correctement :P
Voila, je veux compiler un lanceur pour mon serveur...
Lorsque je fais build, il me donne ce log en bas...
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
--------------------Configuration: neoncube - Win32 Release--------------------
Compiling resources...
Compiling...
archivefunc.cpp
btn_load.cpp
grf_func.cpp
C:\Documents and Settings\Philippe Mayer\Bureau\Outils Moonlight Destiny's\NeonCube-1.1-BINWSRC\src\Visual C++\grftypes.h(109) : error C2146: syntax error : missing ';' before identifier 'uint16_t'
C:\Documents and Settings\Philippe Mayer\Bureau\Outils Moonlight Destiny's\NeonCube-1.1-BINWSRC\src\Visual C++\grftypes.h(109) : fatal error C1004: unexpected end of file found
main.cpp
rar_func.cpp
Error executing cl.exe.
neoncube.exe - 2 error(s), 0 warning(s) |
Je vous ai aussi inclus la partie du code qui cause problème...
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
/* Win32 DLL macros */
#ifdef WIN32
/* Integer types */
#ifdef __MINGW32__
#include <stdint.h>
#else
#ifndef _INC_WINDOWS
#include <windows.h>
#endif /* _INC_WINDOWS */
typedef UINT32 uint32_t;
typedef UINT16 uint16_t;
typedef UINT8 uint8_t;
#endif /* __MINGW32__ */
/* Pack to 1 byte boundaries */
#include <pshpack1.h>
#ifndef GRF_STATIC
#ifdef GRF_BUILDING
#define GRFEXPORT __declspec(dllexport)
#else /* GRF_BUILDING */
#define GRFEXPORT __declspec(dllimport)
#endif /* GRF_BUILDING */
#else /* GRF_STATIC */
#define GRFEXPORT
#endif /* GRF_STATIC */
#else /* WIN32 */
/* Integer types */
#include <inttypes.h>
/* Pack to 1 byte boundaries */
#pragma pack(1)
#define GRFEXPORT
# endif /* WIN32 */ |
Quelqu'un pourrais maider? Car pourtant, il a bien les ; et tout...
Jai rechercher sur ce forum, mais je ne suis pas arrivé à remédier a mon probleme :?
Merci beaucoup!
Cordialement,
programmerPhil,