Hello,
i am trying to build SDL_gfx-2.0.25 with CodeBlocks version 12. From importing MS Visual Studio Project and then try to build, but i get some error messages:
||=== SDL_gfx, Debug Win32 ===|
c:\program files\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.7.1\include\mmintrin.h|32|error: #error "MMX instruction set not enabled"|
//and many from SDL_imageFilter.c
what should i do? Is it MMX = SSE? because when i searching MMX it's always change into SSE.
----- SOLVED -----
Thanks ouch!
it's work ;D
-------------- Build: Release Win32 in SDL_gfx (compiler: GNU GCC Compiler)---------------
mingw32-gcc.exe -march=native -DWIN32 -D_DEBUG -D_WINDOWS -D_USRDLL -DDLL_EXPORT -W -O2 -I"C:\Program Files\CodeBlocks\SDL\include" -c "C:\Documents and Settings\Night\My Documents\Downloads\SDL_gfx-2.0.25\SDL_framerate.c" -o "Release Win32\SDL_framerate.o"
mingw32-gcc.exe -march=native -DWIN32 -D_DEBUG -D_WINDOWS -D_USRDLL -DDLL_EXPORT -W -O2 -I"C:\Program Files\CodeBlocks\SDL\include" -c "C:\Documents and Settings\Night\My Documents\Downloads\SDL_gfx-2.0.25\SDL_gfxBlitFunc.c" -o "Release Win32\SDL_gfxBlitFunc.o"
mingw32-gcc.exe -march=native -DWIN32 -D_DEBUG -D_WINDOWS -D_USRDLL -DDLL_EXPORT -W -O2 -I"C:\Program Files\CodeBlocks\SDL\include" -c "C:\Documents and Settings\Night\My Documents\Downloads\SDL_gfx-2.0.25\SDL_gfxPrimitives.c" -o "Release Win32\SDL_gfxPrimitives.o"
mingw32-gcc.exe -march=native -DWIN32 -D_DEBUG -D_WINDOWS -D_USRDLL -DDLL_EXPORT -W -O2 -I"C:\Program Files\CodeBlocks\SDL\include" -c "C:\Documents and Settings\Night\My Documents\Downloads\SDL_gfx-2.0.25\SDL_imageFilter.c" -o "Release Win32\SDL_imageFilter.o"
mingw32-gcc.exe -march=native -DWIN32 -D_DEBUG -D_WINDOWS -D_USRDLL -DDLL_EXPORT -W -O2 -I"C:\Program Files\CodeBlocks\SDL\include" -c "C:\Documents and Settings\Night\My Documents\Downloads\SDL_gfx-2.0.25\SDL_rotozoom.c" -o "Release Win32\SDL_rotozoom.o"
mingw32-g++.exe -shared -Wl,--output-def=libSDL_gfx_VS2008.def -Wl,--out-implib=libSDL_gfx_VS2008.a -Wl,--dll -L"C:\Program Files\CodeBlocks\SDL\lib" "Release Win32\SDL_framerate.o" "Release Win32\SDL_gfxBlitFunc.o" "Release Win32\SDL_gfxPrimitives.o" "Release Win32\SDL_imageFilter.o" "Release Win32\SDL_rotozoom.o" -o SDL_gfx_VS2008.dll -lSDL
Creating library file: libSDL_gfx_VS2008.a
Output size is 101.97 KB