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 for arm64 error #317

Closed
ghost opened this issue Jun 12, 2021 · 2 comments
Closed

build for arm64 error #317

ghost opened this issue Jun 12, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented Jun 12, 2021

I'm going to build blender for arm64 (jetson nano) and it depends on this program but when I tried to install dependencies, the c-compiler stops with following error:

-- Build files have been written to: $HOME/src/blender-deps/c-blosc-1.5.0/build                   │
Scanning dependencies of target blosc_shared                                                           │
[ 10%] Building C object blosc/CMakeFiles/blosc_shared.dir/blosc.c.o                                   │
[ 20%] Building C object blosc/CMakeFiles/blosc_shared.dir/blosclz.c.o                                 │
[ 30%] Building C object blosc/CMakeFiles/blosc_shared.dir/shuffle.c.o                                 │
[ 40%] Building C object blosc/CMakeFiles/blosc_shared.dir/__/internal-complibs/lz4-r123/lz4.c.o       │
$HOME/src/blender-deps/c-blosc-1.5.0/blosc/shuffle.c:492:6: error: conflicting types for 'shuffle'│
  492 | void shuffle(size_t bytesoftype, size_t blocksize,                                             │
      |      ^~~~~~~                                                                                   │
In file included from $HOME/src/blender-deps/c-blosc-1.5.0/blosc/shuffle.c:12:                    │
$HOME/src/blender-deps/c-blosc-1.5.0/blosc/shuffle.h:12:6: note: previous declaration of 'shuffle'│
 was here                                                                                              │
   12 | void shuffle(size_t bytesoftype, size_t blocksize,                                             │
      |      ^~~~~~~                                                                                   │
$HOME/src/blender-deps/c-blosc-1.5.0/blosc/shuffle.c:497:6: error: conflicting types for 'unshuffl│
e'                                                                                                     │
  497 | void unshuffle(size_t bytesoftype, size_t blocksize,                                           │
      |      ^~~~~~~~~                                                                                 │
In file included from $HOME/src/blender-deps/c-blosc-1.5.0/blosc/shuffle.c:12:                    │
$HOME/src/blender-deps/c-blosc-1.5.0/blosc/shuffle.h:15:6: note: previous declaration of 'unshuffl│
e' was here                                                                                            │
   15 | void unshuffle(size_t bytesoftype, size_t blocksize,                                           │
      |      ^~~~~~~~~                                                                                 │
make[2]: *** [blosc/CMakeFiles/blosc_shared.dir/build.make:108: blosc/CMakeFiles/blosc_shared.dir/shuff│
le.c.o] Error 1                                                                                        │
make[2]: *** Waiting for unfinished jobs....                                                           │
make[1]: *** [CMakeFiles/Makefile2:141: blosc/CMakeFiles/blosc_shared.dir/all] Error 2                 │
make: *** [Makefile:171: all] Error 2                                                                  │
ERROR! Blosc-1.5.0 failed to compile, exiting

Could you help me find solutions?

@FrancescAlted
Copy link
Member

1.5.0 is very old. It is probably a good idea to update to the newest one.

@FrancescAlted
Copy link
Member

Close due to inactivity.

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

1 participant