root@HexalityPC:/mnt/e/unnamed-sdvx-clone# cmake ./
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done-- Detecting C compile features
-- Detecting C compile features - done-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so (found version "2.8.1")-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found SDL2: /usr/include
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.34")
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so
-- Found VORBIS: /usr/include
-- Found OGG: optimized;/usr/lib/x86_64-linux-gnu/libogg.so;debug;/usr/lib/x86_64-linux-gnu/libogg.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Configuring done
-- Generating done
-- Build files have been written to: /mnt/e/unnamed-sdvx-clone
root@HexalityPC:/mnt/e/unnamed-sdvx-clone# make
[ 1%] Building CXX object Shared/CMakeFiles/Shared.dir/src/Color.cpp.o
/mnt/e/unnamed-sdvx-clone/Shared/src/Color.cpp: In constructor ‘Color::Color(const VectorMath::VectorBase<unsigned char, 4>&)’:
/mnt/e/unnamed-sdvx-clone/Shared/src/Color.cpp:7:28: error: no match for ‘operator=’
(operand types are ‘Color’ and ‘VectorMath::VectorBase<float, 4>’)
*this = Vector4(icolor) / 255.0f;
^~
In file included from /mnt/e/unnamed-sdvx-clone/Shared/src/Color.cpp:2:0:
/mnt/e/unnamed-sdvx-clone/Shared/include/Shared/Color.hpp:28:7: note: candidate: constexpr Color& Color::operator=(const Color&)
class Color : public Vector4
^~~~~
/mnt/e/unnamed-sdvx-clone/Shared/include/Shared/Color.hpp:28:7: note: no known conversion for argument 1 from ‘VectorMath::VectorBase<float, 4>’ to ‘const Color&’
/mnt/e/unnamed-sdvx-clone/Shared/include/Shared/Color.hpp:28:7: note: candidate: constexpr Color& Color::operator=(Color&&)
/mnt/e/unnamed-sdvx-clone/Shared/include/Shared/Color.hpp:28:7: note: no known conversion for argument 1 from ‘VectorMath::VectorBase<float, 4>’ to ‘Color&&’
Shared/CMakeFiles/Shared.dir/build.make:134: recipe for target 'Shared/CMakeFiles/Shared.dir/src/Color.cpp.o' failed
make[2]: [Shared/CMakeFiles/Shared.dir/src/Color.cpp.o] Error 1
CMakeFiles/Makefile2:103: recipe for target 'Shared/CMakeFiles/Shared.dir/all' failedmake[1]: [Shared/CMakeFiles/Shared.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
root@HexalityPC:/mnt/e/unnamed-sdvx-clone#
root@HexalityPC:/mnt/e/unnamed-sdvx-clone# cmake ./ -- The C compiler identification is GNU 7.3.0 -- The CXX compiler identification is GNU 7.3.0-- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done-- Detecting C compile features -- Detecting C compile features - done-- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works-- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done-- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so (found version "2.8.1")-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") -- Found SDL2: /usr/include -- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.34") -- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so -- Found VORBIS: /usr/include -- Found OGG: optimized;/usr/lib/x86_64-linux-gnu/libogg.so;debug;/usr/lib/x86_64-linux-gnu/libogg.so -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so -- Configuring done -- Generating done -- Build files have been written to: /mnt/e/unnamed-sdvx-clone root@HexalityPC:/mnt/e/unnamed-sdvx-clone# make [ 1%] Building CXX object Shared/CMakeFiles/Shared.dir/src/Color.cpp.o /mnt/e/unnamed-sdvx-clone/Shared/src/Color.cpp: In constructor ‘Color::Color(const VectorMath::VectorBase<unsigned char, 4>&)’: /mnt/e/unnamed-sdvx-clone/Shared/src/Color.cpp:7:28: error: no match for ‘operator=’ (operand types are ‘Color’ and ‘VectorMath::VectorBase<float, 4>’) *this = Vector4(icolor) / 255.0f; ^
~In file included from /mnt/e/unnamed-sdvx-clone/Shared/src/Color.cpp:2:0: /mnt/e/unnamed-sdvx-clone/Shared/include/Shared/Color.hpp:28:7: note: candidate: constexpr Color& Color::operator=(const Color&) class Color : public Vector4 ^~~~~ /mnt/e/unnamed-sdvx-clone/Shared/include/Shared/Color.hpp:28:7: note: no known conversion for argument 1 from ‘VectorMath::VectorBase<float, 4>’ to ‘const Color&’ /mnt/e/unnamed-sdvx-clone/Shared/include/Shared/Color.hpp:28:7: note: candidate: constexpr Color& Color::operator=(Color&&) /mnt/e/unnamed-sdvx-clone/Shared/include/Shared/Color.hpp:28:7: note: no known conversion for argument 1 from ‘VectorMath::VectorBase<float, 4>’ to ‘Color&&’ Shared/CMakeFiles/Shared.dir/build.make:134: recipe for target 'Shared/CMakeFiles/Shared.dir/src/Color.cpp.o' failed make[2]: [Shared/CMakeFiles/Shared.dir/src/Color.cpp.o] Error 1 CMakeFiles/Makefile2:103: recipe for target 'Shared/CMakeFiles/Shared.dir/all' failedmake[1]: [Shared/CMakeFiles/Shared.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 root@HexalityPC:/mnt/e/unnamed-sdvx-clone#