[vtkusers] what's meaning of "-mwin32 -mthreads -mwindows"
Bangyou Zheng
byzheng at cau.edu.cn
Wed Jul 9 21:20:10 EDT 2008
Hello all,
I juse download the vtk minimal sample from
"http://code.hkpeterpeter.googlepages.com/vtk_minimal_mingw.zip"
But I can not understand the linked libraries, for example -mwin32
-mthreads -mwindows.
Do you have any suggestion?
This is the makefile:
CC = gcc
CXXFLAGS = -Wno-deprecated
INC = -I"D:\SourceCode\Libraries\VTK\scr\include\vtk-5.0"
LIB = -L"D:\SourceCode\Libraries\VTK\scr\lib" -mwin32 -mthreads
-mwindows -lvtkRendering -lvtkGraphics -lvtkImaging -lvtkIO
-lvtkFiltering -lvtkCommon -lvtkftgl -lvtkfreetype -lopengl32
-lvtkDICOMParser -lvtkpng -lvtktiff -lvtkzlib -lvtkjpeg -lvtkexpat
-lvfw32 -lvtksys -lgdi32 -lstdc++
minimal: vtk_minimal.cpp
gcc $(CXXFLAGS) -c vtk_minimal.cpp $(INC)
gcc -o minimal vtk_minimal.o $(LIB)
clean:
rm -f *.o minimal.exe
Best regards,
Bangyou Zheng
More information about the vtkusers
mailing list