You spend many time to help me :oops:
@TIWAG
Here is the error (and many comes after depending of this file, i thing)
wx/setup.h: No such file or directory
@TDragon
Many errors and so more....
I:\wx\lib\gcc_lib/libwxmsw26.a(monolib_app.o):app.cpp:(.text+0x6d5): undefined reference to `InitCommonControls@0'
I:\wx\lib\gcc_lib/libwxmsw26.a(monolib_app.o):app.cpp:(.text+0x6e1): undefined reference to `OleInitialize@4'
I:\wx\lib\gcc_lib/libwxmsw26.a(monolib_app.o):app.cpp:(.text+0x90e): undefined reference to `OleUninitialize@0'
I:\wx\lib\gcc_lib/libwxmsw26.a(monolib_window.o):window.cpp:(.text+0xa2d2): undefined reference to `_TrackMouseEvent@4'
I:\wx\lib\gcc_lib/libwxmsw26.a(monolib_filename.o):filename.cpp:(.text+0x1805): undefined reference to `CoCreateInstance@20'
I:\wx\lib\gcc_lib/libwxmsw26.a(monolib_filename.o):filename.cpp:(.text+0x1827): undefined reference to `IID_IPersistFile'
I:\wx\lib\gcc_lib/libwxmsw26.a(monolib_statbr95.o):statbr95.cpp:(.text+0x16c): undefined reference to `CreateStatusWindowA@16'
I:\wx\lib\gcc_lib/libwxmsw26.a(monolib_droptgt.o):droptgt.cpp:(.text+0x8e4): undefined reference to `CoLockObjectExternal@12'
I:\wx\lib\gcc_lib/libwxmsw26.a(monolib_droptgt.o):droptgt.cpp:(.text+0x8fc): undefined reference to `RegisterDragDrop@8'
I:\wx\lib\gcc_lib/libwxmsw26.a(monolib_droptgt.o):droptgt.cpp:(.text+0x92e): undefined reference to `CoLockObjectExternal@12'
I compile wxWidget like this :
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=0 MONOLITHIC=1 BUILD=release UNICODE=0
And now my parameters look like that
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="3" />
<Project>
<Option title="static" />
<Option pch_mode="0" />
<Option compiler="gcc" />
<Build>
<Target title="default">
<Option output="wxwidgets_static.exe" />
<Option type="0" />
<Option compiler="gcc" />
<Option includeInTargetAll="1" />
<Option projectResourceIncludeDirsRelation="0" />
</Target>
<Environment>
<Variable name="WX_CFG" value="u" />
<Variable name="WX" value="I:\wx" />
</Environment>
</Build>
<Compiler>
<Add option="-pipe" />
<Add option="-mthreads" />
<Add option="-Winvalid-pch" />
<Add option='-include "wx_pch.h"' />
<Add option="-D__GNUWIN32__" />
<Add option="-D__WXMSW__" />
<Add option="-DUSE_PCH" />
<Add directory="I:\wx\include" />
<Add directory="I:\wx\contrib\include" />
<Add directory="I:\wx\lib\gcc_lib\msw" />
<Add directory="I:\wx\lib\gcc_lib\msw\wx" />
</Compiler>
<ResourceCompiler>
<Add directory="I:\wx\include" />
</ResourceCompiler>
<Linker>
<Add library="wxmsw26" />
<Add directory="I:\wx\lib\gcc_lib" />
</Linker>
<Unit filename="main.cpp">
<Option compilerVar="CPP" />
<Option target="default" />
</Unit>
<Unit filename="wx_pch.h">
<Option compilerVar="CPP" />
<Option link="0" />
<Option weight="0" />
<Option target="default" />
</Unit>
</Project>
</CodeBlocks_project_file>