Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

32 bit build error #368

Closed
rox4d opened this issue Dec 20, 2017 · 2 comments
Closed

32 bit build error #368

rox4d opened this issue Dec 20, 2017 · 2 comments

Comments

@rox4d
Copy link

rox4d commented Dec 20, 2017

Hi can`t compile with 32bit version of ubuntu 16.04 with mesa (with dev debs) from Oibaf ppa (compilation works fine with 64bit version OS, with same ppas).

[ 0%] Built target git-revision
[ 1%] Built target parson-obj
[ 27%] Built target shader_translator
[ 28%] Built target st
[ 29%] Built target link_check
[ 29%] Building C object src/CMakeFiles/freshwrapper-obj.dir/ppb_graphics3d.c.o
In file included from /INST/freshplayerplugin/src/ppb_graphics3d.c:38:0:
/INST/freshplayerplugin/3rdparty/angle/include/GLES2/gl2.h:38:26: error: conflicting types for 'GLintptr'
typedef khronos_intptr_t GLintptr;
^
In file included from /usr/include/GL/gl.h:2055:0,
from /usr/include/GL/glx.h:32,
from /INST/freshplayerplugin/src/glx.h:5,
from /INST/freshplayerplugin/src/ppb_graphics3d.h:27,
from /INST/freshplayerplugin/src/ppb_graphics3d.c:29:
/usr/include/GL/glext.h:469:19: note: previous declaration of 'GLintptr' was here
typedef ptrdiff_t GLintptr;
^
In file included from /INST/freshplayerplugin/src/ppb_graphics3d.c:38:0:
/INST/freshplayerplugin/3rdparty/angle/include/GLES2/gl2.h:39:26: error: conflicting types for 'GLsizeiptr'
typedef khronos_ssize_t GLsizeiptr;
^
In file included from /usr/include/GL/gl.h:2055:0,
from /usr/include/GL/glx.h:32,
from /INST/freshplayerplugin/src/glx.h:5,
from /INST/freshplayerplugin/src/ppb_graphics3d.h:27,
from /INST/freshplayerplugin/src/ppb_graphics3d.c:29:
/usr/include/GL/glext.h:468:19: note: previous declaration of 'GLsizeiptr' was here
typedef ptrdiff_t GLsizeiptr;
^
src/CMakeFiles/freshwrapper-obj.dir/build.make:1166: recipe for target 'src/CMakeFiles/freshwrapper-obj.dir/ppb_graphics3d.c.o' failed
make[2]: *** [src/CMakeFiles/freshwrapper-obj.dir/ppb_graphics3d.c.o] Error 1
CMakeFiles/Makefile2:321: recipe for target 'src/CMakeFiles/freshwrapper-obj.dir/all' failed
make[1]: *** [src/CMakeFiles/freshwrapper-obj.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

@i-rinat
Copy link
Owner

i-rinat commented Dec 22, 2017

I think I lost one of the magic macros during structures shuffling. Should be back in 842da14. Just tested in a 32-bit chroot. Looks like it's enough to fix the build.

@rox4d
Copy link
Author

rox4d commented Dec 23, 2017

Thanks a lot.

@i-rinat i-rinat closed this as completed Nov 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants