Skip to content

Can't build server tests & CliClient #22

@Agava46

Description

@Agava46

I can't build an example app on both Linux (Ubuntu 16.04) and OSX (Sierra 10.12.6). The error is quite similar:

Exception in thread "main" java.lang.Error: /tmp/tmp4319878515077409604.c:1:10: fatal error: 'freetype2/freetype/freetype.h' file not found
	at org.jetbrains.kotlin.native.interop.indexer.UtilsKt.ensureNoCompileErrors(Utils.kt:135)
	at org.jetbrains.kotlin.native.interop.indexer.IndexerKt.indexDeclarations(Indexer.kt:875)
	at org.jetbrains.kotlin.native.interop.indexer.IndexerKt.buildNativeIndexImpl(Indexer.kt:865)
	at org.jetbrains.kotlin.native.interop.indexer.NativeIndexKt.buildNativeIndex(NativeIndex.kt:55)
	at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.processLib(main.kt:317)
	at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.interop(main.kt:33)
	at org.jetbrains.kotlin.cli.utilities.MainKt.invokeCinterop(main.kt:90)
	at org.jetbrains.kotlin.cli.utilities.MainKt.main(main.kt:112)

However, freetype is installed and /usr/include/freetype2/freetype/freetype.h exists.

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