<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Ok, I found the problem. First (facepalm), the spot where libraries
    are defined is now pretty obvious to me.<br>
    <br>
    Anyway, the original author included tests for systems WIN32, UNIX,
    and APPLE in CMakeLists.txt. None of these matched for my Linux Mint
    system, apparently, so I just edited the file to force use of the
    UNIX library options. At least building works without error now.<br>
    <br>
    I shall contact the original author (if possible) to discuss this.<br>
    <br>
    But I don't need further help on this mailing list for now.<br>
    <br>
    Thanks.<br>
    <br>
    Best,<br>
    <br>
    - Jake -<br>
    <br>
    <div class="moz-cite-prefix">On 15-12-16 09:32 PM, DJ wrote:<br>
    </div>
    <blockquote cite="mid:56721EAA.4040807@arqux.com" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      I recently purchased the OpenGL SuperBible ed. 7. I downloaded the
      sample code and tried to build it. <br>
      <br>
      This is my very first exposure to cmake; I am reading through the
      documentation and did a quick scan of the gmane archive but cannot
      seem find an answer to my question. (Probably my fault; my search
      skills may be bad because I have been up programming for 30 hours
      :-P<br>
      <br>
      AFAIK there is no mailing list or forum for OpenGL SuperBible;
      could be wrong on this too.<br>
      <br>
      I am running Linux Mint 17.1.<br>
      <br>
      I did:<br>
      <br>
      cmake .<br>
      make<br>
      <br>
      Then cmake gave output:<br>
      .<br>
      .<br>
      .<br>
      <font color="#3366ff">Linking CXX executable bin/alienrain<br>
        CMakeFiles/alienrain.dir/src/alienrain/alienrain.cpp.o: In
        function `sb6::application::run(sb6::application*)':<br>
        alienrain.cpp:(.text._ZN3sb611application3runEPS0_[_ZN3sb611application3runEPS0_]+0x21):

        undefined reference to `glfwInit'<br>
      </font><br>
      So "glfwInit" is a reference to an entrypoint in libglfw.so; this
      library exists on my machine at /usr/lib/libglfw.so. Moreover,
      when I do <br>
      <br>
      <font color="#3333ff">ldconfig -p</font><br>
      <br>
      I see that this library is listed.<br>
      <br>
      QUESTION: Is there a quick way to get cmake to generate more
      output about how it is linking the executable? Or do I have
      another problem?<br>
      <br>
      Best,<br>
      <br>
      -- Jake --<br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>