Not-Nik / raylib-zig

Manually tweaked, auto-generated raylib bindings for zig. https://github.com/raysan5/raylib
MIT License
619 stars 115 forks source link

attempting to import both raylib and raylib-math fails #69

Closed erez-avidan closed 7 months ago

erez-avidan commented 7 months ago

when wanting to use the math library, importing it like so:

const rl = @import("raylib");
const rlm = @import("raylib-math");

results in a failure to compile with the following error: raylib-zig\lib\raylib-zig.zig:1:1: error: file exists in multiple modules

it does work in the example files (in camera2d.zig for example), but not when using it from outside the raylib-zig folder itself

Not-Nik commented 7 months ago

Fixed in f8735a8cc79db221d3c651c93778cfdb5066818d