Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Goxel build error in Manjaro
==> Starting build()...
scons debug=0 werror=0
scons: Reading SConscript files ...
Checking whether __GLIBC__ is declared... yes
Checking for C library libpng... yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o ext_src/cycles/src/bvh/bvh.o -c -std=gnu++11 -Wall -Wno-narrowing -Wno-unknown-pragmas -Wno-unused-function -Ofast -DIMGUI_INCLUDE_IMGUI_USER_INL -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNDEBUG -DHAVE_LIBPNG=1 -pthread -DCYCLES_STD_UNORDERED_MAP "-DCCL_NAMESPACE_BEGIN=namespace ccl {" -DCCL_NAMESPACE_END=} -DWITH_CUDA_DYNLOAD -DWITHOUT_OPENIMAGEIO -DWITH_GLEW_MX -DWITH_CYCLES -fno-var-tracking-assignments -Wno-sign-compare -Wno-strict-aliasing -Wno-uninitialized -Isrc -Iext_src/uthash -Iext_src/stb -Iext_src/noc -Iext_src/imgui -Iext_src/inih -Iext_src/cycles/src -Iext_src/cycles/third_party/atomic -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include ext_src/cycles/src/bvh/bvh.cpp
In file included from ext_src/cycles/src/util/util_types.h:146,
from ext_src/cycles/src/util/util_math.h:36,
from ext_src/cycles/src/util/util_boundbox.h:23,
from ext_src/cycles/src/bvh/bvh_params.h:21,
from ext_src/cycles/src/bvh/bvh.h:21,
from ext_src/cycles/src/bvh/bvh.cpp:18:
ext_src/cycles/src/util/util_sseb.h: In function ‘const ccl::sseb ccl::shuffle(const ccl::sseb&)’:
ext_src/cycles/src/util/util_sseb.h:122:26: error: could not convert ‘_mm_shuffle_epi32(a, ((((i3 << 6) | (i2 << 4)) | (i1 << 2)) | i0))’ from ‘__m128i’ {aka ‘__vector(2) long long int’} to ‘const ccl::sseb’
return _mm_shuffle_epi32(a, _MM_SHUFFLE(i3, i2, i1, i0));
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ext_src/cycles/src/bvh/bvh.h:21,
from ext_src/cycles/src/bvh/bvh.cpp:18:
ext_src/cycles/src/bvh/bvh_params.h: In member function ‘ccl::BVHReference& ccl::BVHReference::operator=(const ccl::BVHReference&)’:
ext_src/cycles/src/bvh/bvh_params.h:185:43: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class ccl::BVHReference’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(this, &arg, sizeof(BVHReference));
^
ext_src/cycles/src/bvh/bvh_params.h:155:7: note: ‘class ccl::BVHReference’ declared here
class BVHReference
^~~~~~~~~~~~
scons: *** [ext_src/cycles/src/bvh/bvh.o] Error 1
scons: building terminated because of errors.
make: *** [Makefile:8: release] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment