You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, I was hoping to use this in conjunction with the V language (https://github.com/vlang/v) but had to learn quickly that just cl jsish.c /Fejsish.exe wouldn't work, because:
C:\Users\ingwi\work\jsish\src/jsi.h(42): fatal error C1083: Datei (Include) kann nicht geöffnet werden: "dirent.h": No such file or directory
dirent.h is, from what I know, a POSIX only API and thus not available in Microsoft's libc. Do you see a possibility for a native build that does not use MinGW?
The idea to create an amalgam by just #includeing all the main source files is pretty smart and this would be a great way to use jsish within V; however, the build would, right now, fail on Windows via MSVC due to the absense of dirent.h
Will this eventually be worked on?
Kind regards,
Ingwie
The text was updated successfully, but these errors were encountered:
Well at the moment there is no plan to support using Microsoft tools to compile Jsi.
I suppose there is a reason you can't just compile V with mingw, eg. the graphics library.
I tried running tetris (after installing libxi-dev / libxcursor-dev) but got this on ubuntu 20.04:
/examples/tetris/tetris
gg error: GLX: failed to create GL context
7f76c230218b : at ???: RUNTIME ERROR: abort() called
/home/pmacdona/tmp/v-master/thirdparty/sokol/sokol_app.h:8642: by _sapp_glx_create_context
/home/pmacdona/tmp/v-master/thirdparty/sokol/sokol_app.h:9357: by _sapp_linux_run
/home/pmacdona/tmp/v-master/thirdparty/sokol/sokol_app.h:9418: by sapp_run
/tmp/v/tetris.4080710481993985506.tmp.c:15365: by sokol__sapp__run
/tmp/v/tetris.4080710481993985506.tmp.c:16417: by gg__Context_run
/tmp/v/tetris.4080710481993985506.tmp.c:17477: by main__main
/tmp/v/tetris.4080710481993985506.tmp.c:17994: by main
So, I was hoping to use this in conjunction with the V language (https://github.com/vlang/v) but had to learn quickly that just
cl jsish.c /Fejsish.exe
wouldn't work, because:dirent.h
is, from what I know, a POSIX only API and thus not available in Microsoft's libc. Do you see a possibility for a native build that does not use MinGW?The idea to create an amalgam by just
#include
ing all the main source files is pretty smart and this would be a great way to use jsish within V; however, the build would, right now, fail on Windows via MSVC due to the absense ofdirent.h
Will this eventually be worked on?
Kind regards,
Ingwie
The text was updated successfully, but these errors were encountered: