What I can compile my program to static version? Now I use g++ -Wall -I./include -o program `wx-config --cxxflags --libs` ./obj/module1.o ./obj/modula2.o when I add --static=yes I get many errors