Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Setup required Environment
- -------------------------------------
- SET RAYLIB_PATH=Craylibraylib
- $(RAYLIB_PATH) = Craylibraylib
- SET COMPILER_PATH=Craylibw64devkitbin
- $(COMPILER_PATH) = Craylibw64devkitbin
- ENV_SET PATH=Craylibw64devkitbin
- $(SYS.PATH) = Craylibw64devkitbin
- SET CC=gcc
- $(CC) = gcc
- SET CFLAGS=$(RAYLIB_PATH)srcraylib.rc.data -s -static -Os -std=c99 -Wall -I$(RAYLIB_PATH)src -Iexternal -DPLATFORM_DESKTOP
- $(CFLAGS) = Craylibraylibsrcraylib.rc.data -s -static -Os -std=c99 -Wall -ICraylibraylibsrc -Iexternal -DPLATFORM_DESKTOP
- SET LDFLAGS=-lraylib -lopengl32 -lgdi32 -lwinmm
- $(LDFLAGS) = -lraylib -lopengl32 -lgdi32 -lwinmm
- CD FDEVELOPMENT_LIBRARIESRXYO-main
- Current directory FDEVELOPMENT_LIBRARIESRXYO-main
- Clean latest build
- ------------------------
- cmd c IF EXIST rxyo.exe del F rxyo.exe
- Process started (PID=5820)
- Process finished (PID=5820). (Exit code 0)
- Saving Current File
- -------------------------
- NPP_SAVE FDEVELOPMENT_LIBRARIESRXYO-mainrxyo.c
- Compile program
- -----------------------
- gcc -o rxyo.exe rxyo.c Craylibraylibsrcraylib.rc.data -s -static -Os -std=c99 -Wall -ICraylibraylibsrc -Iexternal -DPLATFORM_DESKTOP -lraylib -lopengl32 -lgdi32 -lwinmm
- Process started (PID=6732)
- In file included from rxyo.c26
- Craylibraylibsrcraylib.h2413 error 'Rectangle' redeclared as different kind of symbol
- 241 } Rectangle;
- ^~~~~~~~~
- In file included from craylibw64devkitx86_64-w64-mingw32includewindows.h71,
- from miniaudio.h11059,
- from rxyo.c24
- craylibw64devkitx86_64-w64-mingw32includewingdi.h315828 note previous declaration of 'Rectangle' with type 'WINBOOL(struct HDC__ , int, int, int, int)' {aka 'int(struct HDC__ , int, int, int, int)'}
- 3158 WINGDIAPI WINBOOL WINAPI Rectangle(HDC hdc,int left,int top,int right,int bottom);
- ^~~~~~~~~
- Craylibraylibsrcraylib.h27915 warning type defaults to 'int' in declaration of 'source' [-Wimplicit-int]
- 279 Rectangle source; Texture source rectangle
- ^~~~~~
- Craylibraylibsrcraylib.h30216 warning type defaults to 'int' in declaration of 'recs' [-Wimplicit-int]
- 302 Rectangle recs; Rectangles in texture for the glyphs
- ^~~~
- Craylibraylibsrcraylib.h92912 error conflicting types for 'CloseWindow'; have 'void(void)'
- 929 RLAPI void CloseWindow(void); Close window and unload OpenGL context
- ^~~~~~~~~~~
- In file included from craylibw64devkitx86_64-w64-mingw32includewindows.h72
- craylibw64devkitx86_64-w64-mingw32includewinuser.h228229 note previous declaration of 'CloseWindow' with type 'WINBOOL(struct HWND__ )' {aka 'int(struct HWND__ )'}
- 2282 WINUSERAPI WINBOOL WINAPI CloseWindow (HWND hWnd);
- ^~~~~~~~~~~
- Craylibraylibsrcraylib.h98212 error conflicting types for 'ShowCursor'; have 'void(void)'
- 982 RLAPI void ShowCursor(void); Shows cursor
- ^~~~~~~~~~
- craylibw64devkitx86_64-w64-mingw32includewinuser.h376025 note previous declaration of 'ShowCursor' with type 'int(WINBOOL)' {aka 'int(int)'}
- 3760 WINUSERAPI int WINAPI ShowCursor(WINBOOL bShow);
- ^~~~~~~~~~
- Craylibraylibsrcraylib.h116958 warning type defaults to 'int' in declaration of 'source' [-Wimplicit-int]
- 1169 RLAPI void SetShapesTexture(Texture2D texture, Rectangle source); Set texture and rectangle to be used on shapes drawing
- ^~~~~~
- Craylibraylibsrcraylib.h119339 warning type defaults to 'int' in declaration of 'rec' [-Wimplicit-int]
- 1193 RLAPI void DrawRectangleRec(Rectangle rec, Color color); Draw a color-filled rectangle
- ^~~
- Craylibraylibsrcraylib.h119439 warning type defaults to 'int' in declaration of 'rec' [-Wimplicit-int]
- 1194 RLAPI void DrawRectanglePro(Rectangle rec, Vector2 origin, float rotation, Color color); Draw a color-filled rectangle with pro parameters
- ^~~
- Craylibraylibsrcraylib.h119746 warning type defaults to 'int' in declaration of 'rec' [-Wimplicit-int]
- 1197 RLAPI void DrawRectangleGradientEx(Rectangle rec, Color col1, Color col2, Color col3, Color col4); Draw a gradient-filled rectangle with custom vertex colors
- ^~~
- Craylibraylibsrcraylib.h119943 warning type defaults to 'int' in declaration of 'rec' [-Wimplicit-int]
- 1199 RLAPI void DrawRectangleLinesEx(Rectangle rec, float lineThick, Color color); Draw rectangle outline with extended parameters
- ^~~
- Craylibraylibsrcraylib.h120043 warning type defaults to 'int' in declaration of 'rec' [-Wimplicit-int]
- 1200 RLAPI void DrawRectangleRounded(Rectangle rec, float roundness, int segments, Color color); Draw rectangle with rounded edges
- ^~~
- Craylibraylibsrcraylib.h120148 warning type defaults to 'int' in declaration of 'rec' [-Wimplicit-int]
- 1201 RLAPI void DrawRectangleRoundedLines(Rectangle rec, float roundness, int segments, float lineThick, Color color); Draw rectangle with rounded edges outline
- ^~~
- Craylibraylibsrcraylib.h121141 warning type defaults to 'int' in declaration of 'rec1' [-Wimplicit-int]
- 1211 RLAPI bool CheckCollisionRecs(Rectangle rec1, Rectangle rec2); Check collision between two rectangles
- ^~~~
- Craylibraylibsrcraylib.h121157 warning type defaults to 'int' in declaration of 'rec2' [-Wimplicit-int]
- 1211 RLAPI bool CheckCollisionRecs(Rectangle rec1, Rectangle rec2); Check collision between two rectangles
- ^~~~
- Craylibraylibsrcraylib.h121376 warning type defaults to 'int' in declaration of 'rec' [-Wimplicit-int]
- 1213 RLAPI bool CheckCollisionCircleRec(Vector2 center, float radius, Rectangle rec); Check collision between circle and rectangle
- ^~~
- Craylibraylibsrcraylib.h121460 warning type defaults to 'int' in declaration of 'rec' [-Wimplicit-int]
- 1214 RLAPI bool CheckCollisionPointRec(Vector2 point, Rectangle rec); Check if point is inside rectangle
- ^~~
- Craylibraylibsrcraylib.h122043 warning type defaults to 'int' in declaration of 'rec1' [-Wimplicit-int]
- 1220 RLAPI Rectangle GetCollisionRec(Rectangle rec1, Rectangle rec2); Get collision rectangle for two rectangles collision
- ^~~~
- Craylibraylibsrcraylib.h122059 warning type defaults to 'int' in declaration of 'rec2' [-Wimplicit-int]
- 1220 RLAPI Rectangle GetCollisionRec(Rectangle rec1, Rectangle rec2); Get collision rectangle for two rectangles collision
- ^~~~
- Craylibraylibsrcraylib.h122017 warning type defaults to 'int' in declaration of 'GetCollisionRec' [-Wimplicit-int]
- 1220 RLAPI Rectangle GetCollisionRec(Rectangle rec1, Rectangle rec2); Get collision rectangle for two rectangles collision
- ^~~~~~~~~~~~~~~
- In file included from craylibw64devkitx86_64-w64-mingw32includewinnt.h9,
- from craylibw64devkitx86_64-w64-mingw32includeminwindef.h163,
- from craylibw64devkitx86_64-w64-mingw32includewindef.h9,
- from craylibw64devkitx86_64-w64-mingw32includewindows.h69
- Craylibraylibsrcraylib.h122813 error conflicting types for 'LoadImageA'; have 'Image(const char )'
- 1228 RLAPI Image LoadImage(const char fileName); Load image from file into CPU memory (RAM)
- ^~~~~~~~~
- craylibw64devkitx86_64-w64-mingw32includewinuser.h420228 note previous declaration of 'LoadImageA' with type 'void (struct HINSTANCE__ , const CHAR , UINT, int, int, UINT)' {aka 'void (struct HINSTANCE__ , const char , unsigned int, int, int, unsigned int)'}
- 4202 WINUSERAPI HANDLE WINAPI LoadImageA(HINSTANCE hInst,LPCSTR name,UINT type,int cx,int cy,UINT fuLoad);
- ^~~~~~~~~~
- Craylibraylibsrcraylib.h125251 warning type defaults to 'int' in declaration of 'rec' [-Wimplicit-int]
- 1252 RLAPI Image ImageFromImage(Image image, Rectangle rec); Create an image from another image piece
- ^~~
- Craylibraylibsrcraylib.h125746 warning type defaults to 'int' in declaration of 'crop' [-Wimplicit-int]
- 1257 RLAPI void ImageCrop(Image image, Rectangle crop); Crop an image to a defined rectangle
- ^~~~
- Craylibraylibsrcraylib.h128217 warning type defaults to 'int' in declaration of 'GetImageAlphaBorder' [-Wimplicit-int]
- 1282 RLAPI Rectangle GetImageAlphaBorder(Image image, float threshold); Get image alpha border rectangle
- ^~~~~~~~~~~~~~~~~~~
- Craylibraylibsrcraylib.h129856 warning type defaults to 'int' in declaration of 'rec' [-Wimplicit-int]
- 1298 RLAPI void ImageDrawRectangleRec(Image dst, Rectangle rec, Color color); Draw rectangle within an image
- ^~~
- Craylibraylibsrcraylib.h129958 warning type defaults to 'int' in declaration of 'rec' [-Wimplicit-int]
- 1299 RLAPI void ImageDrawRectangleLines(Image dst, Rectangle rec, int thick, Color color); Draw rectangle lines within an image
- ^~~
- Craylibraylibsrcraylib.h130055 warning type defaults to 'int' in declaration of 'srcRec' [-Wimplicit-int]
- 1300 RLAPI void ImageDraw(Image dst, Image src, Rectangle srcRec, Rectangle dstRec, Color tint); Draw a source image within a destination image (tint applied to source)
- ^~~~~~
- Craylibraylibsrcraylib.h130073 warning type defaults to 'int' in declaration of 'dstRec' [-Wimplicit-int]
- 1300 RLAPI void ImageDraw(Image dst, Image src, Rectangle srcRec, Rectangle dstRec, Color tint); Draw a source image within a destination image (tint applied to source)
- ^~~~~~
- Craylibraylibsrcraylib.h131558 warning type defaults to 'int' in declaration of 'rec' [-Wimplicit-int]
- 1315 RLAPI void UpdateTextureRec(Texture2D texture, Rectangle rec, const void pixels); Update GPU texture rectangle with new data
- ^~~
- Craylibraylibsrcraylib.h132656 warning type defaults to 'int' in declaration of 'source' [-Wimplicit-int]
- 1326 RLAPI void DrawTextureRec(Texture2D texture, Rectangle source, Vector2 position, Color tint); Draw a part of a texture defined by a rectangle
- ^~~~~~
- Craylibraylibsrcraylib.h132756 warning type defaults to 'int' in declaration of 'source' [-Wimplicit-int]
- 1327 RLAPI void DrawTexturePro(Texture2D texture, Rectangle source, Rectangle dest, Vector2 origin, float rotation, Color tint); Draw a part of a texture defined by a rectangle with 'pro' parameters
- ^~~~~~
- Craylibraylibsrcraylib.h132774 warning type defaults to 'int' in declaration of 'dest' [-Wimplicit-int]
- 1327 RLAPI void DrawTexturePro(Texture2D texture, Rectangle source, Rectangle dest, Vector2 origin, float rotation, Color tint); Draw a part of a texture defined by a rectangle with 'pro' parameters
- ^~~~
- Craylibraylibsrcraylib.h132882 warning type defaults to 'int' in declaration of 'dest' [-Wimplicit-int]
- 1328 RLAPI void DrawTextureNPatch(Texture2D texture, NPatchInfo nPatchInfo, Rectangle dest, Vector2 origin, float rotation, Color tint); Draws a texture (or part of it) that stretches or shrinks nicely
- ^~~~
- Craylibraylibsrcraylib.h135967 warning type defaults to 'int' in declaration of 'recs' [-Wimplicit-int]
- 1359 RLAPI Image GenImageFontAtlas(const GlyphInfo chars, Rectangle recs, int glyphCount, int fontSize, int padding, int packMethod); Generate image font atlas using chars info
- ^~~~
- Craylibraylibsrcraylib.h136612 error conflicting types for 'DrawTextA'; have 'void(const char , int, int, int, Color)'
- 1366 RLAPI void DrawText(const char text, int posX, int posY, int fontSize, Color color); Draw text (using default font)
- ^~~~~~~~
- craylibw64devkitx86_64-w64-mingw32includewinuser.h347925 note previous declaration of 'DrawTextA' with type 'int(struct HDC__ , const CHAR , int, struct tagRECT , UINT)' {aka 'int(struct HDC__ , const char , int, struct tagRECT , unsigned int)'}
- 3479 WINUSERAPI int WINAPI DrawTextA(HDC hdc,LPCSTR lpchText,int cchText,LPRECT lprc,UINT format);
- ^~~~~~~~~
- Craylibraylibsrcraylib.h136712 error conflicting types for 'DrawTextExA'; have 'void(Font, const char , Vector2, float, float, Color)'
- 1367 RLAPI void DrawTextEx(Font font, const char text, Vector2 position, float fontSize, float spacing, Color tint); Draw text using font and additional parameters
- ^~~~~~~~~~
- craylibw64devkitx86_64-w64-mingw32includewinuser.h348125 note previous declaration of 'DrawTextExA' with type 'int(struct HDC__ , CHAR , int, struct tagRECT , UINT, struct tagDRAWTEXTPARAMS )' {aka 'int(struct HDC__ , char , int, struct tagRECT , unsigned int, struct tagDRAWTEXTPARAMS )'}
- 3481 WINUSERAPI int WINAPI DrawTextExA(HDC hdc,LPSTR lpchText,int cchText,LPRECT lprc,UINT format,LPDRAWTEXTPARAMS lpdtp);
- ^~~~~~~~~~~
- Craylibraylibsrcraylib.h137717 warning type defaults to 'int' in declaration of 'GetGlyphAtlasRec' [-Wimplicit-int]
- 1377 RLAPI Rectangle GetGlyphAtlasRec(Font font, int codepoint); Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '' if not found
- ^~~~~~~~~~~~~~~~
- Craylibraylibsrcraylib.h145373 warning type defaults to 'int' in declaration of 'source' [-Wimplicit-int]
- 1453 RLAPI void DrawBillboardRec(Camera camera, Texture2D texture, Rectangle source, Vector3 position, Vector2 size, Color tint); Draw a billboard texture defined by source
- ^~~~~~
- Craylibraylibsrcraylib.h145473 warning type defaults to 'int' in declaration of 'source' [-Wimplicit-int]
- 1454 RLAPI void DrawBillboardPro(Camera camera, Texture2D texture, Rectangle source, Vector3 position, Vector3 up, Vector2 size, Vector2 origin, float rotation, Color tint); Draw a billboard texture defined by source and rotation
- ^~~~~~
- Craylibraylibsrcraylib.h152912 error conflicting types for 'PlaySoundA'; have 'void(Sound)'
- 1529 RLAPI void PlaySound(Sound sound); Play a sound
- ^~~~~~~~~
- In file included from craylibw64devkitx86_64-w64-mingw32includewindows.h86
- craylibw64devkitx86_64-w64-mingw32includemmsystem.h26927 note previous declaration of 'PlaySoundA' with type 'WINBOOL(const CHAR , struct HINSTANCE__ , DWORD)' {aka 'int(const char , struct HINSTANCE__ , long unsigned int)'}
- 269 WINMMAPI WINBOOL WINAPI PlaySoundA(LPCSTR pszSound,HMODULE hmod,DWORD fdwSound);
- ^~~~~~~~~~
- rxyo.c939 error expected identifier or '(' before 'int'
- 93 int min(int x, int y);
- ^~~
- rxyo.c935 error expected ')' before '' token
- 93 int min(int x, int y);
- ^~~
- rxyo.c935 error expected ')' before '' token
- 93 int min(int x, int y);
- ^~~
- rxyo.c3849 error expected identifier or '(' before 'int'
- 384 int min(int x, int y)
- ^~~
- rxyo.c3845 error expected ')' before '' token
- 384 int min(int x, int y)
- ^~~
- rxyo.c3845 error expected ')' before '' token
- 384 int min(int x, int y)
- ^~~
- Process finished (PID=6732). (Exit code 1)
- Reset Environment
- --------------------------
- ENV_UNSET PATH
- $(SYS.PATH) has been restored
- Execute program
- -----------------------
- cmd c IF EXIST rxyo.exe rxyo.exe
- Process started (PID=6688)
- Process finished (PID=6688). (Exit code 0)
- ================ READY ================
Add Comment
Please, Sign In to add comment