Guest User

Untitled

a guest
Jul 22nd, 2023
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.21 KB | None | 0 0
  1. Setup required Environment
  2. -------------------------------------
  3. SET RAYLIB_PATH=Craylibraylib
  4. $(RAYLIB_PATH) = Craylibraylib
  5. SET COMPILER_PATH=Craylibw64devkitbin
  6. $(COMPILER_PATH) = Craylibw64devkitbin
  7. ENV_SET PATH=Craylibw64devkitbin
  8. $(SYS.PATH) = Craylibw64devkitbin
  9. SET CC=gcc
  10. $(CC) = gcc
  11. SET CFLAGS=$(RAYLIB_PATH)srcraylib.rc.data -s -static -Os -std=c99 -Wall -I$(RAYLIB_PATH)src -Iexternal -DPLATFORM_DESKTOP
  12. $(CFLAGS) = Craylibraylibsrcraylib.rc.data -s -static -Os -std=c99 -Wall -ICraylibraylibsrc -Iexternal -DPLATFORM_DESKTOP
  13. SET LDFLAGS=-lraylib -lopengl32 -lgdi32 -lwinmm
  14. $(LDFLAGS) = -lraylib -lopengl32 -lgdi32 -lwinmm
  15. CD FDEVELOPMENT_LIBRARIESRXYO-main
  16. Current directory FDEVELOPMENT_LIBRARIESRXYO-main
  17.  
  18. Clean latest build
  19. ------------------------
  20. cmd c IF EXIST rxyo.exe del F rxyo.exe
  21. Process started (PID=5820)
  22. Process finished (PID=5820). (Exit code 0)
  23.  
  24. Saving Current File
  25. -------------------------
  26. NPP_SAVE FDEVELOPMENT_LIBRARIESRXYO-mainrxyo.c
  27.  
  28. Compile program
  29. -----------------------
  30. gcc -o rxyo.exe rxyo.c Craylibraylibsrcraylib.rc.data -s -static -Os -std=c99 -Wall -ICraylibraylibsrc -Iexternal -DPLATFORM_DESKTOP -lraylib -lopengl32 -lgdi32 -lwinmm
  31. Process started (PID=6732)
  32. In file included from rxyo.c26
  33. Craylibraylibsrcraylib.h2413 error 'Rectangle' redeclared as different kind of symbol
  34. 241 } Rectangle;
  35. ^~~~~~~~~
  36. In file included from craylibw64devkitx86_64-w64-mingw32includewindows.h71,
  37. from miniaudio.h11059,
  38. from rxyo.c24
  39. 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)'}
  40. 3158 WINGDIAPI WINBOOL WINAPI Rectangle(HDC hdc,int left,int top,int right,int bottom);
  41. ^~~~~~~~~
  42. Craylibraylibsrcraylib.h27915 warning type defaults to 'int' in declaration of 'source' [-Wimplicit-int]
  43. 279 Rectangle source; Texture source rectangle
  44. ^~~~~~
  45. Craylibraylibsrcraylib.h30216 warning type defaults to 'int' in declaration of 'recs' [-Wimplicit-int]
  46. 302 Rectangle recs; Rectangles in texture for the glyphs
  47. ^~~~
  48. Craylibraylibsrcraylib.h92912 error conflicting types for 'CloseWindow'; have 'void(void)'
  49. 929 RLAPI void CloseWindow(void); Close window and unload OpenGL context
  50. ^~~~~~~~~~~
  51. In file included from craylibw64devkitx86_64-w64-mingw32includewindows.h72
  52. craylibw64devkitx86_64-w64-mingw32includewinuser.h228229 note previous declaration of 'CloseWindow' with type 'WINBOOL(struct HWND__ )' {aka 'int(struct HWND__ )'}
  53. 2282 WINUSERAPI WINBOOL WINAPI CloseWindow (HWND hWnd);
  54. ^~~~~~~~~~~
  55. Craylibraylibsrcraylib.h98212 error conflicting types for 'ShowCursor'; have 'void(void)'
  56. 982 RLAPI void ShowCursor(void); Shows cursor
  57. ^~~~~~~~~~
  58. craylibw64devkitx86_64-w64-mingw32includewinuser.h376025 note previous declaration of 'ShowCursor' with type 'int(WINBOOL)' {aka 'int(int)'}
  59. 3760 WINUSERAPI int WINAPI ShowCursor(WINBOOL bShow);
  60. ^~~~~~~~~~
  61. Craylibraylibsrcraylib.h116958 warning type defaults to 'int' in declaration of 'source' [-Wimplicit-int]
  62. 1169 RLAPI void SetShapesTexture(Texture2D texture, Rectangle source); Set texture and rectangle to be used on shapes drawing
  63. ^~~~~~
  64. Craylibraylibsrcraylib.h119339 warning type defaults to 'int' in declaration of 'rec' [-Wimplicit-int]
  65. 1193 RLAPI void DrawRectangleRec(Rectangle rec, Color color); Draw a color-filled rectangle
  66. ^~~
  67. Craylibraylibsrcraylib.h119439 warning type defaults to 'int' in declaration of 'rec' [-Wimplicit-int]
  68. 1194 RLAPI void DrawRectanglePro(Rectangle rec, Vector2 origin, float rotation, Color color); Draw a color-filled rectangle with pro parameters
  69. ^~~
  70. Craylibraylibsrcraylib.h119746 warning type defaults to 'int' in declaration of 'rec' [-Wimplicit-int]
  71. 1197 RLAPI void DrawRectangleGradientEx(Rectangle rec, Color col1, Color col2, Color col3, Color col4); Draw a gradient-filled rectangle with custom vertex colors
  72. ^~~
  73. Craylibraylibsrcraylib.h119943 warning type defaults to 'int' in declaration of 'rec' [-Wimplicit-int]
  74. 1199 RLAPI void DrawRectangleLinesEx(Rectangle rec, float lineThick, Color color); Draw rectangle outline with extended parameters
  75. ^~~
  76. Craylibraylibsrcraylib.h120043 warning type defaults to 'int' in declaration of 'rec' [-Wimplicit-int]
  77. 1200 RLAPI void DrawRectangleRounded(Rectangle rec, float roundness, int segments, Color color); Draw rectangle with rounded edges
  78. ^~~
  79. Craylibraylibsrcraylib.h120148 warning type defaults to 'int' in declaration of 'rec' [-Wimplicit-int]
  80. 1201 RLAPI void DrawRectangleRoundedLines(Rectangle rec, float roundness, int segments, float lineThick, Color color); Draw rectangle with rounded edges outline
  81. ^~~
  82. Craylibraylibsrcraylib.h121141 warning type defaults to 'int' in declaration of 'rec1' [-Wimplicit-int]
  83. 1211 RLAPI bool CheckCollisionRecs(Rectangle rec1, Rectangle rec2); Check collision between two rectangles
  84. ^~~~
  85. Craylibraylibsrcraylib.h121157 warning type defaults to 'int' in declaration of 'rec2' [-Wimplicit-int]
  86. 1211 RLAPI bool CheckCollisionRecs(Rectangle rec1, Rectangle rec2); Check collision between two rectangles
  87. ^~~~
  88. Craylibraylibsrcraylib.h121376 warning type defaults to 'int' in declaration of 'rec' [-Wimplicit-int]
  89. 1213 RLAPI bool CheckCollisionCircleRec(Vector2 center, float radius, Rectangle rec); Check collision between circle and rectangle
  90. ^~~
  91. Craylibraylibsrcraylib.h121460 warning type defaults to 'int' in declaration of 'rec' [-Wimplicit-int]
  92. 1214 RLAPI bool CheckCollisionPointRec(Vector2 point, Rectangle rec); Check if point is inside rectangle
  93. ^~~
  94. Craylibraylibsrcraylib.h122043 warning type defaults to 'int' in declaration of 'rec1' [-Wimplicit-int]
  95. 1220 RLAPI Rectangle GetCollisionRec(Rectangle rec1, Rectangle rec2); Get collision rectangle for two rectangles collision
  96. ^~~~
  97. Craylibraylibsrcraylib.h122059 warning type defaults to 'int' in declaration of 'rec2' [-Wimplicit-int]
  98. 1220 RLAPI Rectangle GetCollisionRec(Rectangle rec1, Rectangle rec2); Get collision rectangle for two rectangles collision
  99. ^~~~
  100. Craylibraylibsrcraylib.h122017 warning type defaults to 'int' in declaration of 'GetCollisionRec' [-Wimplicit-int]
  101. 1220 RLAPI Rectangle GetCollisionRec(Rectangle rec1, Rectangle rec2); Get collision rectangle for two rectangles collision
  102. ^~~~~~~~~~~~~~~
  103. In file included from craylibw64devkitx86_64-w64-mingw32includewinnt.h9,
  104. from craylibw64devkitx86_64-w64-mingw32includeminwindef.h163,
  105. from craylibw64devkitx86_64-w64-mingw32includewindef.h9,
  106. from craylibw64devkitx86_64-w64-mingw32includewindows.h69
  107. Craylibraylibsrcraylib.h122813 error conflicting types for 'LoadImageA'; have 'Image(const char )'
  108. 1228 RLAPI Image LoadImage(const char fileName); Load image from file into CPU memory (RAM)
  109. ^~~~~~~~~
  110. 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)'}
  111. 4202 WINUSERAPI HANDLE WINAPI LoadImageA(HINSTANCE hInst,LPCSTR name,UINT type,int cx,int cy,UINT fuLoad);
  112. ^~~~~~~~~~
  113. Craylibraylibsrcraylib.h125251 warning type defaults to 'int' in declaration of 'rec' [-Wimplicit-int]
  114. 1252 RLAPI Image ImageFromImage(Image image, Rectangle rec); Create an image from another image piece
  115. ^~~
  116. Craylibraylibsrcraylib.h125746 warning type defaults to 'int' in declaration of 'crop' [-Wimplicit-int]
  117. 1257 RLAPI void ImageCrop(Image image, Rectangle crop); Crop an image to a defined rectangle
  118. ^~~~
  119. Craylibraylibsrcraylib.h128217 warning type defaults to 'int' in declaration of 'GetImageAlphaBorder' [-Wimplicit-int]
  120. 1282 RLAPI Rectangle GetImageAlphaBorder(Image image, float threshold); Get image alpha border rectangle
  121. ^~~~~~~~~~~~~~~~~~~
  122. Craylibraylibsrcraylib.h129856 warning type defaults to 'int' in declaration of 'rec' [-Wimplicit-int]
  123. 1298 RLAPI void ImageDrawRectangleRec(Image dst, Rectangle rec, Color color); Draw rectangle within an image
  124. ^~~
  125. Craylibraylibsrcraylib.h129958 warning type defaults to 'int' in declaration of 'rec' [-Wimplicit-int]
  126. 1299 RLAPI void ImageDrawRectangleLines(Image dst, Rectangle rec, int thick, Color color); Draw rectangle lines within an image
  127. ^~~
  128. Craylibraylibsrcraylib.h130055 warning type defaults to 'int' in declaration of 'srcRec' [-Wimplicit-int]
  129. 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)
  130. ^~~~~~
  131. Craylibraylibsrcraylib.h130073 warning type defaults to 'int' in declaration of 'dstRec' [-Wimplicit-int]
  132. 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)
  133. ^~~~~~
  134. Craylibraylibsrcraylib.h131558 warning type defaults to 'int' in declaration of 'rec' [-Wimplicit-int]
  135. 1315 RLAPI void UpdateTextureRec(Texture2D texture, Rectangle rec, const void pixels); Update GPU texture rectangle with new data
  136. ^~~
  137. Craylibraylibsrcraylib.h132656 warning type defaults to 'int' in declaration of 'source' [-Wimplicit-int]
  138. 1326 RLAPI void DrawTextureRec(Texture2D texture, Rectangle source, Vector2 position, Color tint); Draw a part of a texture defined by a rectangle
  139. ^~~~~~
  140. Craylibraylibsrcraylib.h132756 warning type defaults to 'int' in declaration of 'source' [-Wimplicit-int]
  141. 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
  142. ^~~~~~
  143. Craylibraylibsrcraylib.h132774 warning type defaults to 'int' in declaration of 'dest' [-Wimplicit-int]
  144. 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
  145. ^~~~
  146. Craylibraylibsrcraylib.h132882 warning type defaults to 'int' in declaration of 'dest' [-Wimplicit-int]
  147. 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
  148. ^~~~
  149. Craylibraylibsrcraylib.h135967 warning type defaults to 'int' in declaration of 'recs' [-Wimplicit-int]
  150. 1359 RLAPI Image GenImageFontAtlas(const GlyphInfo chars, Rectangle recs, int glyphCount, int fontSize, int padding, int packMethod); Generate image font atlas using chars info
  151. ^~~~
  152. Craylibraylibsrcraylib.h136612 error conflicting types for 'DrawTextA'; have 'void(const char , int, int, int, Color)'
  153. 1366 RLAPI void DrawText(const char text, int posX, int posY, int fontSize, Color color); Draw text (using default font)
  154. ^~~~~~~~
  155. 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)'}
  156. 3479 WINUSERAPI int WINAPI DrawTextA(HDC hdc,LPCSTR lpchText,int cchText,LPRECT lprc,UINT format);
  157. ^~~~~~~~~
  158. Craylibraylibsrcraylib.h136712 error conflicting types for 'DrawTextExA'; have 'void(Font, const char , Vector2, float, float, Color)'
  159. 1367 RLAPI void DrawTextEx(Font font, const char text, Vector2 position, float fontSize, float spacing, Color tint); Draw text using font and additional parameters
  160. ^~~~~~~~~~
  161. 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 )'}
  162. 3481 WINUSERAPI int WINAPI DrawTextExA(HDC hdc,LPSTR lpchText,int cchText,LPRECT lprc,UINT format,LPDRAWTEXTPARAMS lpdtp);
  163. ^~~~~~~~~~~
  164. Craylibraylibsrcraylib.h137717 warning type defaults to 'int' in declaration of 'GetGlyphAtlasRec' [-Wimplicit-int]
  165. 1377 RLAPI Rectangle GetGlyphAtlasRec(Font font, int codepoint); Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '' if not found
  166. ^~~~~~~~~~~~~~~~
  167. Craylibraylibsrcraylib.h145373 warning type defaults to 'int' in declaration of 'source' [-Wimplicit-int]
  168. 1453 RLAPI void DrawBillboardRec(Camera camera, Texture2D texture, Rectangle source, Vector3 position, Vector2 size, Color tint); Draw a billboard texture defined by source
  169. ^~~~~~
  170. Craylibraylibsrcraylib.h145473 warning type defaults to 'int' in declaration of 'source' [-Wimplicit-int]
  171. 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
  172. ^~~~~~
  173. Craylibraylibsrcraylib.h152912 error conflicting types for 'PlaySoundA'; have 'void(Sound)'
  174. 1529 RLAPI void PlaySound(Sound sound); Play a sound
  175. ^~~~~~~~~
  176. In file included from craylibw64devkitx86_64-w64-mingw32includewindows.h86
  177. 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)'}
  178. 269 WINMMAPI WINBOOL WINAPI PlaySoundA(LPCSTR pszSound,HMODULE hmod,DWORD fdwSound);
  179. ^~~~~~~~~~
  180. rxyo.c939 error expected identifier or '(' before 'int'
  181. 93 int min(int x, int y);
  182. ^~~
  183. rxyo.c935 error expected ')' before '' token
  184. 93 int min(int x, int y);
  185. ^~~
  186. rxyo.c935 error expected ')' before '' token
  187. 93 int min(int x, int y);
  188. ^~~
  189. rxyo.c3849 error expected identifier or '(' before 'int'
  190. 384 int min(int x, int y)
  191. ^~~
  192. rxyo.c3845 error expected ')' before '' token
  193. 384 int min(int x, int y)
  194. ^~~
  195. rxyo.c3845 error expected ')' before '' token
  196. 384 int min(int x, int y)
  197. ^~~
  198. Process finished (PID=6732). (Exit code 1)
  199.  
  200. Reset Environment
  201. --------------------------
  202. ENV_UNSET PATH
  203. $(SYS.PATH) has been restored
  204.  
  205. Execute program
  206. -----------------------
  207. cmd c IF EXIST rxyo.exe rxyo.exe
  208. Process started (PID=6688)
  209. Process finished (PID=6688). (Exit code 0)
  210. ================ READY ================
Add Comment
Please, Sign In to add comment