#[SOLVED] Invalid path: core:fmt on Scoop install

1 messages · Page 1 of 1 (latest)

short brook
#

I installed odin via scoop (windows package manager) and also installed the windows sdk.

I added both scoop\shims and scoop\apps\odin to path but whenever i run a .odin file using odin run . i get the attached errors

#

import rl "vendor:raylib"

main :: proc() {
    rl.InitWindow(1280, 720, "raylib [core] example")
    rl.SetTargetFPS(240)

    for !rl.WindowShouldClose {
        rl.BeginDrawing()
        defer rl.EndDrawing()

        rl.ClearBackground(rl.BLACK)
        rl.DrawFPS(10, 10)
    }
}```

code for reference.
#

if i do the hello world i do get an error for core:fmt as well

fluid badge
#

To my knowledge, nobody here maintains a scoop package for Odin.
Indeed, I don't think there are any official packages for Odin in ANY package manager at all.

#

Building Odin though is easy. Just clone and run make release or ./build release

gaunt tendon
short brook
#

odin lists package managers on the getting started page iirc. my brew install works, i thought they just got it from github like blob said

fluid badge
gaunt tendon
#

odin expects there to be base, core & vendor (which correspond to the collections), and bin folders next to the exe.
if they're not there, then scoop isn't accounting for the way jeroen does releases. which is fair enough.

fluid badge
#

core should be there

short brook
#

guess im actually installing :(((

fluid badge
#

Though, you need MSVC for dev anyway in which case building from source has no deps and takes all of 20 seconds

short brook
#

i got msvc when i installed windows sdk

#

thanks for the help!

#

is there a way to mark as fixed?

gaunt tendon
#

just rename with something like [Solved] My Title