From owner-freebsd-ports@freebsd.org Sat Jan 21 22:34:50 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C125BCBB23A for ; Sat, 21 Jan 2017 22:34:50 +0000 (UTC) (envelope-from w.schwarzenfeld@utanet.at) Received: from tatiana.utanet.at (tatiana.utanet.at [IPv6:2001:938:1337:25::25:46]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F013C09 for ; Sat, 21 Jan 2017 22:34:50 +0000 (UTC) (envelope-from w.schwarzenfeld@utanet.at) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=utanet.at; s=rev1; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Subject:References:To; bh=EaWc7eKPD8MC83Jx9sJZNoD6b9cTgshRSCW94+F7LC8=; b=IJcXKXi6HKxlWi7cK7Nepn5VD+7EOyDsLgVVdi0IOoZk93i2QzHE3i5FOAVmqGu2VuDFahg6YCEDI13OsyTOgO1GKp2YnwYg6ZhLy3a05y7TvM7KcFXkmJKk09m7nPQeJEkm6IZ9i/7gSVJpnRMYAb2K89zY+xWjK9IoZKJ4GYs=; Received: from patricia.xoc.tele2net.at ([213.90.36.9]) by tatiana.utanet.at with esmtp (Exim 4.80) (envelope-from ) id 1cV4FE-0007VH-5F for freebsd-ports@freebsd.org; Sat, 21 Jan 2017 23:34:48 +0100 Received: from 194-96-162-183.adsl.highway.telekom.at ([194.96.162.183] helo=[10.0.0.93]) by patricia.xoc.tele2net.at with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1cV4FE-0006Rg-2u for freebsd-ports@freebsd.org; Sat, 21 Jan 2017 23:34:48 +0100 To: freebsd-ports@freebsd.org References: <741e57cc-7c83-8f7a-43ca-d760bec380d2@utanet.at> Subject: Re: libkml and flsh plugin issues From: Walter Schwarzenfeld Message-ID: <8c1088b1-9d3c-6fd9-599b-7759e7839b4e@utanet.at> Date: Sat, 21 Jan 2017 23:34:45 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <741e57cc-7c83-8f7a-43ca-d760bec380d2@utanet.at> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-TELE2-Authenticated-As: cf62768e218b4d81d95cc5390f1bd9dfc8b05683 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jan 2017 22:34:50 -0000 or try this patch-CMakeLists.txt --- CMakeLists.txt 2017-01-21 22:28:39 UTC +++ CMakeLists.txt @@ -19,6 +19,8 @@ option(WITH_SWIG "Build all swig bindi option(WITH_PYTHON "Build python bindings" OFF) option(WITH_JAVA "Build java bindings" OFF) +set(CMAKE_INCLUDE_DIRECTORIES_BEFORE ON) + set(LIBKML_DATA_DIR ${CMAKE_SOURCE_DIR}/testdata CACHE "Directory containing test data" PATH) #AM_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -pedantic -fno-rtti @@ -215,4 +217,4 @@ install(FILES DESTINATION "${CMAKE_INSTALL_DIR}" ) # Install the export set for use with the install-tree -install(EXPORT LibKMLTargets DESTINATION "${CMAKE_INSTALL_DIR}") \ No newline at end of file +install(EXPORT LibKMLTargets DESTINATION "${CMAKE_INSTALL_DIR}") ---- It compiles on my system with this patch, but I don't habe this error - you have to test it.