Skip to content

Error building on linux mint 22.2 #49

@ComputerGuy-github

Description

@ComputerGuy-github

I am trying to compile infinipaint on linux mint 22.2, But I am running into a strange issue when using cmake --build .
I was following docs/BUILDING.md and have tried a few things to solve the issue including AI,
I installed conan using pipx and it is version 2.26.2, Also these are the profiles from conan install

======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu23
compiler.libcxx=libstdc++11
compiler.version=15
os=Linux
[tool_requires]
*: cmake/3.27.0

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu23
compiler.libcxx=libstdc++11
compiler.version=15
os=Linux

And this is the error when running cmake --build .

[100%] Linking CXX executable infinipaint
/usr/bin/ld: /home/jack/.conan2/p/b/skia-5b7f12c59597a/p/lib/libskia.a(gpu.GrGLMakeEGLInterface.o): in function `egl_get_gl_proc(void*, char const*)':
GrGLMakeEGLInterface.cpp:(.text._ZL15egl_get_gl_procPvPKc+0x9b3): undefined reference to `eglQueryString'
/usr/bin/ld: GrGLMakeEGLInterface.cpp:(.text._ZL15egl_get_gl_procPvPKc+0x9c3): undefined reference to `eglGetCurrentDisplay'
/usr/bin/ld: GrGLMakeEGLInterface.cpp:(.text._ZL15egl_get_gl_procPvPKc+0x9a7): undefined reference to `eglGetProcAddress'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/main.dir/build.make:1758: infinipaint] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/main.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2

I also tried installing libegl1-mesa-dev and libegl-dev, And downloading gcc/g++ version 15 instead of 13, So I don't know what could be causing this, Any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions