Also why I get the fancy graphics only with 3.0.0. but not with 2.8.12?
I used to get the fancy graphics with 2.8.12 when I used an earlier MinGW compiler, but now I get something like Win 95 graphics with the latest gcc 4.8.2 using posix and sjlj. I had to add CXXFLAGS+=-fpermissive for the wxWidgets 2.8.12 to even compile.
Code: Select all
cd buildD/
cmake -j4 -DCMAKE_EXE_LINKER_FLAGS="-static-libstdc++ -static-libgcc -static" -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE:STRING=Debug -DwxWidgets_ROOT_DIR:PATH="C:\Cpp\wxWidgets" -DBOOST_LIBRARYDIR:PATH="C:\Cpp\Boost\lib" -DBOOST_INCLUDEDIR:PATH="C:\Cpp\Boost\include" -DZLIB_LIBRARY:FILEPATH="C:\Cpp\zlib\libz.a" -DZLIB_INCLUDE_DIR:PATH="C:\Cpp\zlib" ../
mingw32-make
PAUSE
Code: Select all
find_package(wxWidgets COMPONENTS adv core base REQUIRED)
include("${wxWidgets_USE_FILE}")
set(AGE_SRC Main.cpp
...
Resources.rc
)
add_executable(AdvancedGenieEditor3 WIN32 ${AGE_SRC})
target_link_libraries(AdvancedGenieEditor3 ${wxWidgets_LIBRARIES} genieutils)