Skip to content

Problem building w/ mimalloc on Linux #12

Description

@sotlampr

I have a problem building the latest version on Ubuntu 24.04 / CMake 3.28.3:

[ 47%] Built target mimalloc_external                                                                                               
cvutil/CMakeFiles/cvutil.dir/build.make:243: *** target pattern contains no '%'.  Stop.                                             
gmake[1]: *** [CMakeFiles/Makefile2:125: cvutil/CMakeFiles/cvutil.dir/all] Error 2                                                  
gmake: *** [Makefile:156: all] Error 2     

The offending line in the makefile is:

cvutil/libcvutil.so.2.5.0: $$<$$<PLATFORM_ID:Windows>:/home/sot/src/cvutil/build/_external/mimalloc/install/bin/mimalloc.dll>       ~ 

FYI I built it manually and noticed these additional issues:

  • libmimalloc.so does not get installed
  • libcvutil.so does not link correctly with libmimalloc
  • I got some undefined references regarding the C++ stdlib when trying to use libmimalloc

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions