Changeset 1995 for trunk/external/NOTES
- Timestamp:
- Oct 9, 2012, 12:34:40 PM (8 years ago)
- Location:
- trunk/external
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/external/NOTES
r1933 r1995 1 ##################### 2 # Building contribs#3 ##################### 1 ############################## 2 # Building external software # 3 ############################## 4 4 5 5 … … 9 9 Download page: http://sourceforge.net/projects/glew/files/glew 10 10 11 - fix config/Makefile.linux-mingw32 and config/Makefile.linux-mingw64 to12 get the right compiler and linker executable names.11 - take the pre-compiled glew32s.lib ("s" is for "static") versions for 12 both win32 and win64. 13 13 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 16 17 - fix Makefile for static builds 18 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 14 - copy include/GL/ in the external directory. 34 15 35 16
Note: See TracChangeset
for help on using the changeset viewer.