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

build failure on rhel7 python 3.10.4 gcc 9.4.1 #20

Open
xloem opened this issue Aug 17, 2022 · 2 comments
Open

build failure on rhel7 python 3.10.4 gcc 9.4.1 #20

xloem opened this issue Aug 17, 2022 · 2 comments

Comments

@xloem
Copy link

xloem commented Aug 17, 2022

gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/shared/src/Hydra/src -I/usr/local/include/python3.10 -c src/_hydra.c -o build/temp.linux-x86_64-3.10/src
/_hydra.o -std=gnu99 -O2 -D_LARGEFILE64_SOURCE                                                                                                                                                
src/_hydra.c: In function ‘__pyx_pf_6_hydra_8MMapIter_2__next__’:                                                                                                                             
src/_hydra.c:3377:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Py_ssize_t’ {aka ‘long int’} [-Wsign-compare]               
 3377 |   __pyx_t_3 = ((__pyx_v_self->_idx < __pyx_t_2) != 0);                                                                                                                                
      |                                    ^                                                   
src/_hydra.c: In function ‘__pyx_tp_dealloc_6_hydra_MMapBitField’:                                                                                                                            
src/_hydra.c:7445:5: error: lvalue required as increment operand                                                                                                                              
 7445 |     ++Py_REFCNT(o);                                                                    
      |     ^~                                                                                                                                                                                
src/_hydra.c:7447:5: error: lvalue required as decrement operand                           
 7447 |     --Py_REFCNT(o);                                                                    
      |     ^~                                                                                                                                                                                
src/_hydra.c: In function ‘PyInit__hydra’:                                                                                                                                                    
src/_hydra.c:8530:34: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
 8530 |   __pyx_type_6_hydra_MMapBitField.tp_print = 0;                                                                                                                                       
@xloem
Copy link
Author

xloem commented Aug 17, 2022

this looks similar, it says to upgrade cython and regenerate the file: mcfletch/pyopengl#74

@ThisisBillhe
Copy link

any ideas how to do that?

this looks similar, it says to upgrade cython and regenerate the file: mcfletch/pyopengl#74

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