Changeset 1169 for trunk/contrib


Ignore:
Timestamp:
Mar 22, 2012, 2:00:17 AM (8 years ago)
Author:
sam
Message:

win32: fix a bug in the GLEW build system that caused build failures
with Visual Studio 2010 when the active configuration involved creating
an export file. Also get rid of glew32mx.lib, it's the multiple context
version that we do not use yet.

Location:
trunk/contrib
Files:
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/contrib/NOTES

    r947 r1169  
    1212  get the right compiler and linker executable names.
    1313
    14 - make SYSTEM=linux-mingw32
    15 - i686-w64-mingw32-ranlib lib/*.a
    16 - copy lib/*.a in the contrib directory as *.lib
     14    sed -i 's/i586-mingw32msvc/i686-w64-mingw32/g' config/*.linux-mingw32
     15    sed -i 's/amd64-mingw32msvc/x86_64-w64-mingw32/g' config/*.linux-mingw64
    1716
    18 - make clean
     17- fix Makefile for static builds
    1918
    20 - make SYSTEM=linux-mingw64
    21 - x86_64-w64-mingw32-ranlib lib/*.a
    22 - copy lib/*.a in the contrib directory as *.lib
     19    sed -i 's/-DGLEW_NO_GLU.*CFLAGS[^P]*CFLAGS/-DGLEW_STATIC &/g' Makefile
     20
     21- build for Win32
     22
     23    make SYSTEM=linux-mingw32 clean all
     24    i686-w64-mingw32-ranlib lib/libglew32.a
     25
     26- copy lib/libglew32.a in the contrib directory as glew32.lib
     27
     28- build for Win64
     29
     30    make SYSTEM=linux-mingw64 clean all
     31    x86_64-w64-mingw32-ranlib lib/libglew32.a
     32
     33- copy lib/libglew32.a in the contrib directory as glew32.lib
    2334
    2435
Note: See TracChangeset for help on using the changeset viewer.