Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: using mingw32-make on "Makefile"s fails, cannot find glload, glimg, etc.

Hybrid View

  1. #1
    Newbie Newbie
    Join Date
    Jan 2013
    Posts
    1

    using mingw32-make on "Makefile"s fails, cannot find glload, glimg, etc.

    I am trying to generate the exes for the examples included in the glsdk and have been successful up to the point where i have to make the "Makefile"s to get the exes. when i run the command "mingw32-make config=release" it seems to work up until the end when it states that a bunch of things couldnt be found and that "ld returned 1 exit status."
    Here is the complete log:

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    C:\Users\Modern> cd C:\Users\Modern\Desktop\premake+opengl\glsdk_0.4.4 \examples

    C:\Users\Modern\Desktop\premake+opengl\glsdk_0.4.4 \examples>mingw32-make config=
    release
    "==== Building caustics (release) ===="
    Linking caustics
    c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: cannot fin
    d -lglload
    c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: cannot fin
    d -lglimg
    c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: cannot fin
    d -lglutil
    c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: cannot fin
    d -lglmesh
    c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: cannot fin
    d -lfreeglut
    c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: cannot fin
    d -lglfw
    collect2.exe: error: ld returned 1 exit status
    Makefile:87: recipe for target 'caustics.exe' failed
    mingw32-make[1]: *** [caustics.exe] Error 1
    Makefile:16: recipe for target 'caustics' failed
    mingw32-make: *** [caustics] Error 2

    C:\Users\Modern\Desktop\premake+opengl\glsdk_0.4.4 \examples>


    Any ideas why lg.exe cant find glload, glimg, etc.?

  2. #2
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,948
    Did you build the SDK before trying to build the examples? Was it successfully built? In release (since you're trying to build the examples in release)?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •