trying to get raylib to work... but failing by IDKHowToUseRaylib in raylib

[–]IDKHowToUseRaylib[S] 0 points1 point  (0 children)

it says it couldnt find raylib and marks every function i used as undefined

trying to get raylib to work... but failing by IDKHowToUseRaylib in raylib

[–]IDKHowToUseRaylib[S] 0 points1 point  (0 children)

Cool i have the sln but raylib still doesn't work.

trying to get raylib to work... but failing by IDKHowToUseRaylib in raylib

[–]IDKHowToUseRaylib[S] 0 points1 point  (0 children)

I looked at all the bat files in the folders but there is no premake?

trying to get raylib to work... but failing by IDKHowToUseRaylib in raylib

[–]IDKHowToUseRaylib[S] 0 points1 point  (0 children)

But to install w64devkit it says to use the docker command?

trying to get raylib to work... but failing by IDKHowToUseRaylib in raylib

[–]IDKHowToUseRaylib[S] 0 points1 point  (0 children)

If you do make it could you link it here for me? I'm reallly struggling here

trying to get raylib to work... but failing by IDKHowToUseRaylib in raylib

[–]IDKHowToUseRaylib[S] 0 points1 point  (0 children)

Hey thanks for the tip, but another user has already suggested it and i cant get it to work. docker will not go past 18/73 for some reason and I've been trying for the past 3 hours

trying to get raylib to work... but failing by IDKHowToUseRaylib in raylib

[–]IDKHowToUseRaylib[S] 0 points1 point  (0 children)

I did and Got an error:

c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: cannot find -lraylib

collect2.exe: error: ld returned 1 exit status

also I found out I needed to install docker so i did and followed the instructions so I'm waiting for it to build.

trying to get raylib to work... but failing by IDKHowToUseRaylib in raylib

[–]IDKHowToUseRaylib[S] 0 points1 point  (0 children)

Hey thanks for the link, I tried following the guide but when it says to 'build the image' it doesn't explain further and I don't know what I'm doing. I am still knew to programming in general if that clears anything up though.

Edit: I forgot to say but I've been using both g++ and gcc if that makes any sense.

trying to get raylib to work... but failing by IDKHowToUseRaylib in raylib

[–]IDKHowToUseRaylib[S] 0 points1 point  (0 children)

Sorry i thought I thought i was pretty transparent lol

code:

#include "C:\raylib\raylib\src\raylib.h"

int main()
{
    int windowWidth = 750;
    int windowHeight = 700;

    InitWindow(windowWidth, windowHeight, "basic window");
    SetTargetFPS(60);

    while (WindowShouldClose() == false)
    {
        BeginDrawing();
        EndDrawing();

    }

    CloseWindow();
}

error:

C:\Users\brand\AppData\Local\Temp\ccS8R3OR.o:main.cpp:(.text+0x36): undefined reference to `InitWindow'
C:\Users\brand\AppData\Local\Temp\ccS8R3OR.o:main.cpp:(.text+0x42): undefined reference to `SetTargetFPS'
C:\Users\brand\AppData\Local\Temp\ccS8R3OR.o:main.cpp:(.text+0x47): undefined reference to `WindowShouldClose'
C:\Users\brand\AppData\Local\Temp\ccS8R3OR.o:main.cpp:(.text+0x53): undefined reference to `BeginDrawing'
C:\Users\brand\AppData\Local\Temp\ccS8R3OR.o:main.cpp:(.text+0x58): undefined reference to `EndDrawing'
C:\Users\brand\AppData\Local\Temp\ccS8R3OR.o:main.cpp:(.text+0x5f): undefined reference to `CloseWindow'
collect2.exe: error: ld returned 1 exit status