| mingw32-make -f makefile.gcc SHARED=1 UNICODE=0 BUILD=release clean mingw32-make -f makefile.gcc SHARED=1 UNICODE=0 BUILD=release |
| mingw32-make -f makefile.gcc SHARED=0 UNICODE=0 BUILD=release clean mingw32-make -f makefile.gcc SHARED=0 UNICODE=0 BUILD=release |
In file included from c:/wxWidgets/include/wx/defs.h:21:0,
from c:/wxWidgets/include/wx/wx.h:15,
from main.cpp:2:
c:/wxWidgets/include/wx/platform.h:196:22: fatal error: wx/setup.h: No such file or directory
#include "wx/setup.h"
^
compilation terminated. |
In file included from c:/wxWidgets/include/wx/platform.h:293:0,
from c:/wxWidgets/include/wx/defs.h:21,
from c:/wxWidgets/include/wx/wx.h:15,
from main.cpp:2:
c:/wxWidgets/include/wx/chkconf.h:1817:9: error: #error "wxClipboard requires wxDataObject"
# error "wxClipboard requires wxDataObject"
^
In file included from c:/wxWidgets/include/wx/wx.h:15:0,
from main.cpp:2:
c:/wxWidgets/include/wx/defs.h:2887:5: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]
"/manifestdependency:\"type='win32' \
^
c:/wxWidgets/include/wx/buffer.h: In constructor 'wxCharBuffer::wxCharBuffer(const char*)':
In file included from c:/wxWidgets/include/wx/string.h:55:0,
from c:/wxWidgets/include/wx/memory.h:16,
from c:/wxWidgets/include/wx/object.h:20,
from c:/wxWidgets/include/wx/wx.h:16,
from main.cpp:2:
c:/wxWidgets/include/wx/buffer.h:29:37: error: 'strdup' was not declared in this scope
: m_str(str ? strdupfunc(str) : NULL) \
^
c:/wxWidgets/include/wx/buffer.h:127:1: note: in expansion of macro 'DEFINE_BUFFER'
DEFINE_BUFFER(wxCharBuffer, char, wxStrdupA);
^
c:/wxWidgets/include/wx/buffer.h: In member function 'wxCharBuffer& wxCharBuffer::operator=(const char*)':
c:/wxWidgets/include/wx/buffer.h:81:37: error: 'strdup' was not declared in this scope
m_str = str ? strdupfunc(str) : NULL; \
^
c:/wxWidgets/include/wx/buffer.h:127:1: note: in expansion of macro 'DEFINE_BUFFER'
DEFINE_BUFFER(wxCharBuffer, char, wxStrdupA);
^
c:/wxWidgets/include/wx/buffer.h: In constructor 'wxWCharBuffer::wxWCharBuffer(const wchar_t*)':
c:/wxWidgets/include/wx/buffer.h:29:37: error: '_wcsdup' was not declared in this scope
: m_str(str ? strdupfunc(str) : NULL) \
^
c:/wxWidgets/include/wx/buffer.h:134:1: note: in expansion of macro 'DEFINE_BUFFER'
DEFINE_BUFFER(wxWCharBuffer, wchar_t, wxStrdupW);
^
c:/wxWidgets/include/wx/buffer.h: In member function 'wxWCharBuffer& wxWCharBuffer::operator=(const wchar_t*)':
c:/wxWidgets/include/wx/buffer.h:81:37: error: '_wcsdup' was not declared in this scope
m_str = str ? strdupfunc(str) : NULL; \
^
c:/wxWidgets/include/wx/buffer.h:134:1: note: in expansion of macro 'DEFINE_BUFFER'
DEFINE_BUFFER(wxWCharBuffer, wchar_t, wxStrdupW);
^
c:/wxWidgets/include/wx/string.h: In function 'int Stricmp(const char*, const char*)':
In file included from c:/wxWidgets/include/wx/memory.h:16:0,
from c:/wxWidgets/include/wx/object.h:20,
from c:/wxWidgets/include/wx/wx.h:16,
from main.cpp:2:
c:/wxWidgets/include/wx/string.h:141:31: error: 'strcasecmp' was not declared in this scope
return strcasecmp(psz1, psz2);
^
c:/wxWidgets/include/wx/list.h: In constructor 'wxListKey::wxListKey(const wxChar*)':
In file included from c:/wxWidgets/include/wx/wx.h:18:0,
from main.cpp:2:
c:/wxWidgets/include/wx/list.h:406:36: error: 'strdup' was not declared in this scope
{ m_key.string = wxStrdup(s); }
^
c:/wxWidgets/include/wx/list.h: In constructor 'wxListKey::wxListKey(const wxString&)':
c:/wxWidgets/include/wx/list.h:408:44: error: 'strdup' was not declared in this scope
{ m_key.string = wxStrdup(s.c_str()); }
^
main.cpp: In function 'int main()':
main.cpp:77:13: error: no matching function for call to 'MyFrame::MyFrame()'
MyFrame f;
^
main.cpp:77:13: note: candidate is:
main.cpp:45:1: note: MyFrame::MyFrame(const wxString&, const wxPoint&, const wxSize&)
MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
^
main.cpp:45:1: note: candidate expects 3 arguments, 0 provided |
BUILD FAILED (exit value 2, total time: 3s) |
|
|
|
|
| mingw32-make -f makefile.gcc SHARED=0 UNICODE=0 BUILD=release |
| Also, does wxFormBuilder create resource/header files like resedit, or does it do some other stuff as well? |
|
|
"/usr/bin/make" -f nbproject/Makefile-Release.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory `/c/Users/JonathanWitlock/Desktop/C++/wxWidgets Test'
"/usr/bin/make" -f nbproject/Makefile-Release.mk dist/Release/MinGW-Windows/wxwidgets_test.exe
make[2]: Entering directory `/c/Users/JonathanWitlock/Desktop/C++/wxWidgets Test'
mkdir -p build/Release/MinGW-Windows
rm -f build/Release/MinGW-Windows/main.o.d
g++ -m32 `wx-config --cxxflags` -c -O2 -Wall -s -I/C/wxWidgets/include -std=c++11 `wx-config --cxxflags` -MMD -MP -MF build/Release/MinGW-Windows/main.o.d -o build/Release/MinGW-Windows/main.o main.cpp
/bin/sh.exe: wx-config: command not found
/bin/sh.exe: wx-config: command not found
In file included from c:/wxWidgets/include/wx/defs.h:21:0,
from c:/wxWidgets/include/wx/wx.h:15,
from main.cpp:1:
c:/wxWidgets/include/wx/platform.h:196:22: fatal error: wx/setup.h: No such file or directory
#include "wx/setup.h"
^
compilation terminated.
make[2]: *** [build/Release/MinGW-Windows/main.o] Error 1
make[2]: Leaving directory `/c/Users/JonathanWitlock/Desktop/C++/wxWidgets Test'
make[1]: *** [.build-conf] Error 2
make[1]: Leaving directory `/c/Users/JonathanWitlock/Desktop/C++/wxWidgets Test'
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 937ms) |
| You need to add %WXWIN%\lib\gcc_lib\msw\ as library search path (included directories). |
%WXWIN%\lib\gcc_lib\msw\ |
"/usr/bin/make" -f nbproject/Makefile-Release.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory `/c/Users/username/Desktop/C++/wxWidgets Test'
"/usr/bin/make" -f nbproject/Makefile-Release.mk dist/Release/MinGW-Windows/wxwidgets_test.exe
make[2]: Entering directory `/c/Users/username/Desktop/C++/wxWidgets Test'
mkdir -p build/Release/MinGW-Windows
g++ -m32 `wx-config --cxxflags` -c -O2 -Wall -s -I/C\wxWidgets\include -I%WXWIN%\lib\gcc_lib\msw -std=c++11 `wx-config --cxxflags` -o build/Release/MinGW-Windows/main.o main.cpp
/bin/sh.exe: wx-config: command not found
/bin/sh.exe: wx-config: command not found
main.cpp:1:20: fatal error: wx/wx.h: No such file or directory
#include "wx/wx.h"
^
compilation terminated.
make[2]: *** [build/Release/MinGW-Windows/main.o] Error 1
make[2]: Leaving directory `/c/Users/username/Desktop/C++/wxWidgets Test'
make[1]: *** [.build-conf] Error 2
make[1]: Leaving directory `/c/Users/username/Desktop/C++/wxWidgets Test'
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 578ms) |
echo %WXWIN% |
%WXWIN% C:\wxWidgets |
g++ -m32 `wx-config --cxxflags` -c -O2 -Wall -s -I/C\wxWidgets\include -I%WXWIN%\lib\gcc_lib\msw -std=c++11 `wx-config --cxxflags` -o build/Release/MinGW-Windows/main.o main.cpp |
| C:\wxWidgets\include |