caseymcc / hastynoise Goto Github PK
View Code? Open in Web Editor NEWThis project forked from auburn/fastnoisesimd
C++ SIMD Noise Generator Library
License: MIT License
This project forked from auburn/fastnoisesimd
C++ SIMD Noise Generator Library
License: MIT License
HastyNoise/build (master)$ cmake .. -DCMAKE_TOOLCHAIN_FILE=../WindowsCompileOnLinux.cmake
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/x86_64-w64-mingw32-gcc
-- Check for working C compiler: /usr/bin/x86_64-w64-mingw32-gcc -- 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/x86_64-w64-mingw32-g++
-- Check for working CXX compiler: /usr/bin/x86_64-w64-mingw32-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- HN_SIMD_SSE2: ON
-- HN_SIMD_SSE41: ON
-- HN_SIMD_AVX2: ON
-- HN_SIMD_AVX512: ON
-- Configuring done
-- Generating done
-- Build files have been written to: HastyNoise/build
HastyNoise/build (master)$ make
Scanning dependencies of target hastyNoise
[ 9%] Building CXX object CMakeFiles/hastyNoise.dir/HastyNoise/hastyNoise.cpp.obj
HastyNoise/HastyNoise/hastyNoise.cpp: In function ‘size_t HastyNoise::_GetFastestSIMD()’:
HastyNoise/HastyNoise/hastyNoise.cpp:175:40: error: ‘_XCR_XFEATURE_ENABLED_MASK’ was not declared in this scope
uint64_t xcrFeatureMask=xgetbv(_XCR_XFEATURE_ENABLED_MASK);
^~~~~~~~~~~~~~~~~~~~~~~~~~
HastyNoise/HastyNoise/hastyNoise.cpp:201:34: error: ‘_XCR_XFEATURE_ENABLED_MASK’ was not declared in this scope
bool oxAVX512Support=(xgetbv(_XCR_XFEATURE_ENABLED_MASK)&0xe6)==0xe6;
^~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/hastyNoise.dir/build.make:63: CMakeFiles/hastyNoise.dir/HastyNoise/hastyNoise.cpp.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:112: CMakeFiles/hastyNoise.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
Toolchain file:
# the name of the target operating system
set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_EXE_LINKER_FLAGS -static-libstdc++\ -static-libgcc\ -static)
# Which compilers to use for C and C++
set(CMAKE_C_COMPILER /usr/bin/x86_64-w64-mingw32-gcc)
set(CMAKE_CXX_COMPILER /usr/bin/x86_64-w64-mingw32-g++)
set(CMAKE_RC_COMPILER /usr/bin/x86_64-w64-mingw32-windres)
Mainly because of hunter which constantly downloads something. I have good internet connection, but compiling this repo took something like ~5 minutes. It would be great if there was an option to skip all hunter stuff
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.