Stand-alone console application (command line utility) using ImageMagick:
-------------- Clean: GetPX - MinGW (stand-alone) in POVpoi (compiler: MinGW)---------------
Cleaned "POVpoi - GetPX - MinGW (stand-alone)"
-------------- Build: GetPX - MinGW (stand-alone) in POVpoi (compiler: MinGW)---------------
g++.exe -Wall -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -IT:\ImageMagick-6.8.5\include\ImageMagick-6 -c G:\Dropbox\CodeBlocks\POVpoi\getpx-v10.cpp -o obj\Release\getpx-v10.o
g++.exe -LT:\ImageMagick-6.8.5\lib -o bin\Release\MinGW\getpx.exe obj\Release\getpx-v10.o T:\ImageMagick-6.8.5\lib\libMagick++-6.Q16.dll.a T:\ImageMagick-6.8.5\lib\libMagickCore-6.Q16.dll.a T:\ImageMagick-6.8.5\lib\libMagickWand-6.Q16.dll.a
Output file is bin\Release\MinGW\getpx.exe with size 98.18 KB
Process terminated with status 0 (0 minute(s), 1 second(s))
0 error(s), 0 warning(s) (0 minute(s), 1 second(s))
Build log saved as:
file://G:/Dropbox/CodeBlocks/POVpoi/POVpoi_build_log.html
Empty wxWidgets project, nothing added:
-------------- Clean: Debug in wxOnly (compiler: MinGW)---------------
Cleaned "wxOnly - Debug"
-------------- Build: Debug in wxOnly (compiler: MinGW)---------------
g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DwxUSE_UNICODE -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wall -g -D__WXDEBUG__ -IT:\wxWidgets-3.0.0\include -IT:\wxWidgets-3.0.0\lib\gcc_lib\mswud -c G:\Dropbox\CodeBlocks\wxOnly\wx_pch.h -o wx_pch.h.gch\Debug_wx_pch_h_gch
windres.exe -IT:\wxWidgets-3.0.0\include -IT:\wxWidgets-3.0.0\lib\gcc_lib\mswud -J rc -O coff -i G:\Dropbox\CODEBL~1\wxOnly\resource.rc -o obj\Debug\resource.res
g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DwxUSE_UNICODE -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wall -g -D__WXDEBUG__ -IT:\wxWidgets-3.0.0\include -IT:\wxWidgets-3.0.0\lib\gcc_lib\mswud -c G:\Dropbox\CodeBlocks\wxOnly\wxOnlyApp.cpp -o obj\Debug\wxOnlyApp.o
g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DwxUSE_UNICODE -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wall -g -D__WXDEBUG__ -IT:\wxWidgets-3.0.0\include -IT:\wxWidgets-3.0.0\lib\gcc_lib\mswud -c G:\Dropbox\CodeBlocks\wxOnly\wxOnlyMain.cpp -o obj\Debug\wxOnlyMain.o
g++.exe -LT:\wxWidgets-3.0.0\lib\gcc_lib -o bin\Debug\wxOnly.exe obj\Debug\wxOnlyApp.o obj\Debug\wxOnlyMain.o obj\Debug\resource.res -mthreads -lwxmsw30ud -lwxpngd -lwxjpegd -lwxtiffd -lwxzlibd -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lcomctl32 -lwsock32 -lodbc32 -mwindows
Output file is bin\Debug\wxOnly.exe with size 66.19 MB
Process terminated with status 0 (0 minute(s), 37 second(s))
0 error(s), 0 warning(s) (0 minute(s), 37 second(s))
Build log saved as:
file://G:/Dropbox/CodeBlocks/wxOnly/wxOnly_build_log.html
Empty wxWidgets project with the necessary paths to IM added. The same IM configuration as the console applications:
-------------- Clean: Debug in wxTest (compiler: MinGW)---------------
Cleaned "wxTest - Debug"
-------------- Build: Debug in wxTest (compiler: MinGW)---------------
g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DwxUSE_UNICODE -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wall -g -D__WXDEBUG__ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -IT:\wxWidgets-3.0.0\include -IT:\wxWidgets-3.0.0\lib\gcc_lib\mswud -IT:\ImageMagick-6.8.5\include\ImageMagick-6 -c G:\Dropbox\CodeBlocks\wxTest\wx_pch.h -o wx_pch.h.gch\Debug_wx_pch_h_gch
windres.exe -IT:\wxWidgets-3.0.0\include -IT:\wxWidgets-3.0.0\lib\gcc_lib\mswud -J rc -O coff -i G:\Dropbox\CODEBL~1\wxTest\resource.rc -o obj\Debug\resource.res
g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DwxUSE_UNICODE -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wall -g -D__WXDEBUG__ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -IT:\wxWidgets-3.0.0\include -IT:\wxWidgets-3.0.0\lib\gcc_lib\mswud -IT:\ImageMagick-6.8.5\include\ImageMagick-6 -c G:\Dropbox\CodeBlocks\wxTest\wxTestApp.cpp -o obj\Debug\wxTestApp.o
g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DwxUSE_UNICODE -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wall -g -D__WXDEBUG__ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -IT:\wxWidgets-3.0.0\include -IT:\wxWidgets-3.0.0\lib\gcc_lib\mswud -IT:\ImageMagick-6.8.5\include\ImageMagick-6 -c G:\Dropbox\CodeBlocks\wxTest\wxTestMain.cpp -o obj\Debug\wxTestMain.o
g++.exe -LT:\wxWidgets-3.0.0\lib\gcc_lib -LT:\ImageMagick-6.8.5\lib -o bin\Debug\wxTest.exe obj\Debug\wxTestApp.o obj\Debug\wxTestMain.o obj\Debug\resource.res -mthreads -lwxmsw30ud -lwxpngd -lwxjpegd -lwxtiffd -lwxzlibd T:\ImageMagick-6.8.5\lib\libMagick++-6.Q16.dll.a T:\ImageMagick-6.8.5\lib\libMagickCore-6.Q16.dll.a T:\ImageMagick-6.8.5\lib\libMagickWand-6.Q16.dll.a -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lcomctl32 -lwsock32 -lodbc32 -mwindows
Output file is bin\Debug\wxTest.exe with size 66.19 MB
Process terminated with status 0 (0 minute(s), 19 second(s))
0 error(s), 0 warning(s) (0 minute(s), 19 second(s))
Build log saved as:
file://G:/Dropbox/CodeBlocks/wxTest/wxTest_build_log.html
As I mentioned before, they ALL compile, however only the stand-along utility or the wxWidgets (only) executables work (after copying the necessary libraries in the same folder.) The last one where I am trying to incorporate IM with wxWidgets, that fails with needing that pthreadGC2.dll library.