Giter Club home page Giter Club logo

Comments (4)

danielrh avatar danielrh commented on August 29, 2024

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.

minhdn90 avatar minhdn90 commented on August 29, 2024

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.

danielrh avatar danielrh commented on August 29, 2024

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.

danielrh avatar danielrh commented on August 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.