Comments (3)
After typing everything out I realized: multiple definitions, that might be because of the multiple simd libraries! And indeed when I remove:
find_library(SIMD_BASE_LIBRARY NAMES base)
find_library(AMXBF16_LIBRARY NAMES amxbf16)
find_library(AVX1_LIBRARY NAMES avx1)
find_library(AVX2_LIBRARY NAMES avx2)
find_library(AVX512BF16_LIBRARY NAMES avx512bf16)
find_library(AVX512BW_LIBRARY NAMES avx512bw)
find_library(AVX512VNNI_LIBRARY NAMES avx512vnni)
find_library(NEON_LIBRARY NAMES neon)
find_library(SSE41_LIBRARY NAMES sse41)
find_library(VMX_LIBRARY NAMES vmx)
find_library(VSX_LIBRARY NAMES vsx)
from my CMakeList the program is compiling and linking again! But now I am wondering, even when I just included the Base.lib, I couldn't link properly, how do I properly include those specialized libraries? Is that just not possible in a shared library on windows?
from simd.
Hi. When you want to use Simd.dll you have to link just it. Simd.dll links the rest libraries inside itself.
During static linking you have to link all libraries.
from simd.
Hello thank you so much for the quick reply! I do indeed want to link Simd statically to create my own library that exports functions dynamically. The static linking worked with and without the libraries but only when linking my library dynamically in a test program, I received the errors. Do you have any Idea what caused them? I use the newer version installed via vcpgk for x64-Windows
from simd.
Related Issues (20)
- Question about shift detector HOT 5
- question about cascade facedetect HOT 2
- SimdBaseUyvyToBgr.cpp compile error VS 2022 HOT 7
- Simd::Resize confusing results HOT 4
- Build error AdvancedVectorExtensions512 HOT 1
- [Feature Request] full TGA version 2 palette loading and 16 bit bitfield Rgb565/Argb1555 support HOT 1
- some question warp_perspective?
- AVX2 Resize assertion HOT 1
- Build error on windows with clang HOT 5
- armV8 gcc compiler auto-vectorization faster than Neon Intrinsics
- Assessment of the difficulty in porting CPU architecture for Simd HOT 1
- InitLevels in SimdDetection seems inefficient HOT 1
- ARMv7 linking issue HOT 5
- Documentation missing HOT 1
- SimdYuva420pToBgraV2 HOT 2
- Can not compile the SIMD project in Windows for ARM64, using Cmake. HOT 2
- UYVY422 to YUV420p conversation HOT 2
- Console window pops up when using Simd library on Windows in GUI application HOT 3
- No neon instructions used after compiling for ARM HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simd.