Comments (4)
hmm it seems that the /arch:SSE2 flag is not available on the version of gcc.exe you are using.
I think it should actually be -msse2
One fix could be to change all cases of WIN32 in the CMakeLists.txt to be the word FALSE
another option is to use ./configure
from lepton.
Thanks for your advice. It got me through a bit further then I got this
||=== Build: all in lepton (compiler: GNU GCC Compiler) ===|
D:\Open-source code\lepton-master\src\vp8\util\memory.cc||In function 'void* custom_malloc(size_t)':|
D:\Open-source code\lepton-master\src\vp8\util\memory.cc|59|error: '_aligned_malloc' was not declared in this scope|
D:\Open-source code\lepton-master\src\vp8\util\memory.cc||In function 'void* custom_realloc(void*, size_t)':|
D:\Open-source code\lepton-master\src\vp8\util\memory.cc|78|error: '_aligned_realloc' was not declared in this scope|
D:\Open-source code\lepton-master\src\vp8\util\memory.cc||In function 'void custom_free(void*)':|
D:\Open-source code\lepton-master\src\vp8\util\memory.cc|101|error: '_aligned_free' was not declared in this scope|
D:\Open-source code\lepton-master\src\vp8\util\memory.cc||In function 'void* custom_calloc(size_t)':|
D:\Open-source code\lepton-master\src\vp8\util\memory.cc|121|error: '_aligned_malloc' was not declared in this scope|
D:\Open-source code\lepton-master\src\vp8\util\memory.cc|121|error: '_aligned_recalloc' was not declared in this scope|
D:\Open-source code\lepton-master\src\vp8\util\memory.cc||In function 'void always_assert_exit(bool, const char*, const char*, int)':|
D:\Open-source code\lepton-master\src\vp8\util\memory.cc|55|warning: 'noreturn' function does return|
CMakeFiles\test_invariants.dir\build.make|137|recipe for target 'CMakeFiles/test_invariants.dir/src/vp8/util/memory.cc.obj' failed|
CMakeFiles\Makefile2|140|recipe for target 'CMakeFiles/test_invariants.dir/all' failed|
D:\Open-source code\lepton-master\build\Makefile|126|recipe for target 'all' failed|
||=== Build failed: 8 error(s), 1 warning(s) (0 minute(s), 4 second(s)) ===|
from lepton.
hmmm maybe change that code to use posix_memalign (it's an option in that file, I believe) I don't know what's triggering it to try to use the win32 items
from lepton.
I've allowed for standard allocators to be defined in the configuration using
--enable-system-dependencies
Rely on system installed version of zlib [no]
--enable-custom-allocator
hope that helps
from lepton.
Related Issues (20)
- Feat.req. Irfanview plugin
- Help needed in understanding certain parts of the program. HOT 1
- How to compile MSVC2017 x64 build? HOT 1
- Assert fail in component_info.hh:24 HOT 1
- Assert fail in jpgcoder.cc:4945 HOT 1
- Assert fail in nd_array.hh:158 HOT 3
- Assert fail in jpgcoder.cc:4157 HOT 1
- Assert fail in jpgcoder.cc:2162 HOT 1
- Assert fail in jpgcoder.cc:4129 HOT 1
- AddressSanitizer: heap-buffer-overflow
- in lepton, which algorithm to implememnt the idct function?
- Rare lepton crash on decompression HOT 2
- wasm support?
- UNSUPPORTED_JPEG
- lepton crash with specific image
- Options to build for ARM? HOT 3
- Add SECURITY.md HOT 2
- [Bug]A heap-buffer-overflow was discovered in function aligned_dealloc():src/lepton/bitops.cc:108
- lepton crash when deal with a file
- Lepton denial-of-service with specially crafted JPEG files
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 lepton.