Skip to content

Exception in cmake using tesseract cmake example #71

Open
@Ghost295

Description

@Ghost295

I'm probably missing something obvious but now that I got sw working. When I try to try the tesseract cmake example it gives this error:

Exception in file D:/dev/cppan2/client2/src/sw/driver/module.cpp:120, function operator (): error in module (C:/Users/USER/.sw/storage/tmp/cfg/181123/loc.sw.self.1800ba-0.0.28.dll): Exception in file D:/dev/cppan2/client2/src/sw/driver/target/native.cpp:699, function findCompiler: Cannot find compiler org.gnu.gcc->=8.1.0 <8.2.0 for settings: {"native":{"configuration":"debug","library":"shared","mt":"false","program":{"asm":"org.gnu.gcc->=8.1.0 <8.2.0","c":"org.gnu.gcc->=8.1.0 <8.2.0","cpp":"org.gnu.gpp->=8.1.0 <8.2.0","lib":"org.gnu.binutils.ar"}},"os":{"arch":"x86_64","kernel":"org.mingw"}}
sw command: D:/sw-package-manager/sw.exe -shared -platform x64 -compiler gcc-8.1 -os mingw -d D:/TestProject/cmake-build-debug/.sw/cmake -config d integrate -cmake-deps
D:/TestProject/cmake-build-debug/.sw/cmake/sw.txt -cmake-file-version 6

I am using Clion if that makes a difference.
I know it says that it cannot find the compiler but I have mingw64 installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions