Still questions on windows
feanor3 opened this issue · comments
I reopened the issue in your project from this. I still have some problems:
-
on Ubuntu I was able to compile the code and run some of your shaders. Then I tried with these and I got error. I've pasted and copied the ACNet.glsl code in the shader compiler on your website, I've built it and got error
array constructor supported in GLSL ES 3.00 and above only
, so I suppose your code works for OpenGl < 3? Are you going to implement this? -
always on ubuntu I was trying to compile the code for windows, but following your instructions, with
--enable-cross-compile
I don't get .exe. So I followed this, testing it first with normal ffmpeg and it worked. Then I tried with your code and i got
BEGIN /tmp/ffconf.cgAgGwtf/test.c
1 int main(void){ return 0; }
END /tmp/ffconf.cgAgGwtf/test.c
i686-w64-mingw32-gcc -c -o /tmp/ffconf.cgAgGwtf/test.o /tmp/ffconf.cgAgGwtf/test.c
i686-w64-mingw32-gcc -lm -lz -llzma -lpthread -o /tmp/ffconf.cgAgGwtf/test.exe /tmp/ffconf.cgAgGwtf/test.o -lGLEW -lglfw -lm -lpthread
/usr/bin/i686-w64-mingw32-ld: cannot find -lz
/usr/bin/i686-w64-mingw32-ld: cannot find -llzma
/usr/bin/i686-w64-mingw32-ld: cannot find -lGLEW
/usr/bin/i686-w64-mingw32-ld: cannot find -lglfw
Thank you for everything.
I reopened the issue in your project from this. I still have some problems:
- on Ubuntu I was able to compile the code and run some of your shaders. Then I tried with these and I got error. I've pasted and copied the ACNet.glsl code in the shader compiler on your website, I've built it and got error
array constructor supported in GLSL ES 3.00 and above only
, so I suppose your code works for OpenGl < 3? Are you going to implement this?- always on ubuntu I was trying to compile the code for windows, but following your instructions, with
--enable-cross-compile
I don't get .exe. So I followed this, testing it first with normal ffmpeg and it worked. Then I tried with your code and i gotBEGIN /tmp/ffconf.cgAgGwtf/test.c 1 int main(void){ return 0; } END /tmp/ffconf.cgAgGwtf/test.c i686-w64-mingw32-gcc -c -o /tmp/ffconf.cgAgGwtf/test.o /tmp/ffconf.cgAgGwtf/test.c i686-w64-mingw32-gcc -lm -lz -llzma -lpthread -o /tmp/ffconf.cgAgGwtf/test.exe /tmp/ffconf.cgAgGwtf/test.o -lGLEW -lglfw -lm -lpthread /usr/bin/i686-w64-mingw32-ld: cannot find -lz /usr/bin/i686-w64-mingw32-ld: cannot find -llzma /usr/bin/i686-w64-mingw32-ld: cannot find -lGLEW /usr/bin/i686-w64-mingw32-ld: cannot find -lglfw
Thank you for everything.
yep , your gl version need < 3, it use 2.0
/usr/bin/i686-w64-mingw32-ld: cannot find -lz
/usr/bin/i686-w64-mingw32-ld: cannot find -llzma
/usr/bin/i686-w64-mingw32-ld: cannot find -lGLEW
/usr/bin/i686-w64-mingw32-ld: cannot find -lglfw
Here, you need to install lzma/glew/glfw
use apt-get in ubuntu to install these
Here, you need to install lzma/glew/glfw
use apt-get in ubuntu to install these
I have installed them, but I get the same errors
It likes that can not link the library after you install.
On windows? I dont sure about that, do u need to set enviorment params of these libs path?
I'm not sure of what do you mean by "set enviorment params of these libs path" on windows.
I'm trying to build MXE cross compiler and try to compile ffmpeg with this: it seem it has more libraries than simple mingw
Why dont you use the mingw? This likes more easy