<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Where did the library get installed on your system?  What's the value of CMAKE_<LANG>_LIBRARY_ARCHITECTURE?</p>
<p><br>
</p>
<p>Since you're on a 64-bit system, I'd expect CMake to be looking for 64-bit libraries unless you've told it otherwise.</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> CMake <cmake-bounces@cmake.org> on behalf of Robert Dailey <rcdailey.lists@gmail.com><br>
<b>Sent:</b> April 24, 2017 7:54:18 AM<br>
<b>To:</b> CMake; CMake Developers<br>
<b>Subject:</b> Re: [CMake] Trouble with FindPNG module</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Sorry to bump; any info on this? I'm completely blocked :-(<br>
<br>
On Fri, Apr 21, 2017 at 4:48 PM, Robert Dailey <rcdailey.lists@gmail.com> wrote:<br>
> I'm running CMake 3.8.0 on Ubuntu 14. I invoke the following:<br>
><br>
> find_package(PNG REQUIRED)<br>
><br>
> Which gives me the output in CMake:<br>
><br>
> Could NOT find PNG (missing: PNG_LIBRARY) (found version "1.2.50")<br>
><br>
> The CMakeCache.txt file has these variables set:<br>
><br>
> PNG_LIBRARY_DEBUG:FILEPATH=PNG_LIBRARY_DEBUG-NOTFOUND<br>
> PNG_LIBRARY_RELEASE:FILEPATH=PNG_LIBRARY_RELEASE-NOTFOUND<br>
> PNG_PNG_INCLUDE_DIR:PATH=/usr/include<br>
><br>
> So it found the headers, but not the libs. Why did it not find the<br>
> libs? Note that my version of Ubuntu is 64-bit, and I've installed the<br>
> 32-bit libs like so:<br>
><br>
> $ sudo apt-get install libpng12-dev:i386<br>
><br>
> Would the find module be confused because it is trying to find the<br>
> 64-bit library? What's the issue?<br>
-- <br>
<br>
Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ">
http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake">http://public.kitware.com/mailman/listinfo/cmake</a><br>
</div>
</span></font>
</body>
</html>