<font size="4"><font face="garamond,serif"><div><br>I am using cmake to build <a href="http://playerstage.sourceforge.net" target="_blank">stage.</a> But cmake is not able to find some dependencies. I have compile <strong>libpng</strong> myself, so I dont have the pkg-config files. The <strong>pkg_search_module</strong> function is being used to search that library. Isnt there any option to explicitly define the library, and include directory path for libpng? Also, it is not able to find the <strong>playercore </strong>library. It has the pkg-config files in some location, whose path I have added to the PKG_CONFIG_PATH variable. Does it have anything to do with pkg-config executable? ( I am using pykg-config dont know why)</div>
<div> </div><div> </div>
</font><div>Stage version 4.0.1<p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;">Operating system is Windows</p><p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;">Installing Libraries to C:/Program Files (x86)/Stage/lib</p>
<p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;">Installing Plugins to C:/Program Files (x86)/Stage/lib/Stage-4.0</p><p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;">Build type RELEASE</p><p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;">
Checking for libtool</p><p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;">Checking for required libraries...</p><p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;">checking for one of the modules 'libpng'</p>
<p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(255, 0, 0);">CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPkgConfig.cmake:351 (message):</span></p><p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;">
<span style="color: rgb(255, 0, 0);"></span><span style="color: rgb(255, 0, 0);"> None of the required 'libpng' found</span></p><p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(255, 0, 0);"></span><span style="color: rgb(255, 0, 0);">Call Stack (most recent call first):</span></p>
<p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"><span style="color: rgb(255, 0, 0);"></span><span style="color: rgb(255, 0, 0);"> CMakeLists.txt:84 (pkg_search_module)</span></p><p style="margin: 0px; color: rgb(255, 0, 0); text-indent: 0px; -qt-block-indent: 0; -qt-paragraph-type: empty;">
<span style="color: rgb(255, 0, 0);"> * Libpng not detected</span></p><p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;">Linking to FLTK statically.</p><p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;">
* FLTK version detected via C:/Users/b0b/Programs/fltk-1.3/<a href="http://configh.cmake.in">configh.cmake.in</a></p><p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"> FLTK_CFLAGS = </p><p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;">
FLTK_LDFLAGS = </p><p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"> FLTK_LIBS = </p><p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;">Checking for optional libraries...</p><p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;">
checking for one of the modules 'playercore>=2.1.0'</p><p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"> * Player not detected. If Player is installed but not detected, check your PKG_CONFIG_PATH.</p>
<p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;">Installation path CMAKE_INSTALL_PREFIX=C:/Program Files (x86)/Stage</p><p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;">Configuring libstage</p>
<p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;">Looking for Avon</p><p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;">checking for one of the modules 'avon'</p><p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;">
checking at 'AVON'</p><p style="margin: 0px; text-indent: 0px; -qt-block-indent: 0;"> * Avon not detected. If Avon is installed but not detected, check your PKG_CONFIG_PATH.</p></div></font><div> </div>