Author Topic: Compiling a wxwidgets project for Windows application in Code:Blocks on my Mac OS X  (Read 7086 times)

Offline Rizary

  • Single posting newcomer
  • *
  • Posts: 3
Hi,

I am a new learner in codeblocks. My idea is to make windows applications using codeblocks and wxWidgets in my macbook Pro. I don't if it is possible or not (maybe you guys can enlightened me :) ).

After setting up the build setting, includes the folder in the MSW/wx, etc (i am download the entire source of wxWidgets, but i think i have not compile it into the library yet, since i do not know how to).

I got some errors, and here is my log...

Code
-------------- Build: Debug in Aphotecary Solution (compiler: GNU GCC Compiler)---------------

g++ -Wall -g -I/Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx -I/Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include -I/Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/interface -I/Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include -I/Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx -I/Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/interface -c "/Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.cpp" -o obj/Debug/Aphotecary_SolutionApp.o
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.cpp:10:
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.h:13:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/app.h:19:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/event.h:14:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/defs.h:27:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/platform.h:595:
/Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/chkconf.h:763:13: error: "wxUSE_LIBMSPACK must be defined, please read comment near the top of this file."
#           error "wxUSE_LIBMSPACK must be defined, please read comment near the top of this file."
            ^
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.cpp:10:
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.h:13:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/app.h:19:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/event.h:14:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/defs.h:27:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/platform.h:595:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/chkconf.h:1249:
/Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/unix/chkconf.h:15:13: error: "wxSelect/EpollDispatcher needed for console event loop"
#           error "wxSelect/EpollDispatcher needed for console event loop"
            ^
/Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/unix/chkconf.h:26:13: error: "wxFileSystemWatcher requires either inotify() or kqueue()"
#           error "wxFileSystemWatcher requires either inotify() or kqueue()"
            ^
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.cpp:10:
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.h:13:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/app.h:19:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/event.h:14:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/defs.h:27:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/platform.h:595:
/Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/chkconf.h:2195:9: error: "wxUSE_WEBVIEW requires at least one backend"
#       error "wxUSE_WEBVIEW requires at least one backend"
        ^
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.cpp:10:
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.h:13:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/app.h:19:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/event.h:14:
/Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/defs.h:46:13: error: "No Target! You should use wx-config program for compilation flags!"
#           error "No Target! You should use wx-config program for compilation flags!"
            ^
/Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/defs.h:1024:53: error: named bit-field 'SizeTMustBeExactly4Bytes' has zero width
        wxCOMPILE_TIME_ASSERT( sizeof(size_t) == 4, SizeTMustBeExactly4Bytes);
                                                    ^
/Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/debug.h:434:57: note: expanded from macro 'wxCOMPILE_TIME_ASSERT'
        struct wxMAKE_UNIQUE_ASSERT_NAME { unsigned int msg: expr; }
                                                        ^
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.cpp:10:
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.h:13:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/app.h:19:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/event.h:14:
/Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/defs.h:1025:53: error: named bit-field 'PtrMustBeExactly4Bytes' has zero width
        wxCOMPILE_TIME_ASSERT( sizeof(void *) == 4, PtrMustBeExactly4Bytes);
                                                    ^
/Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/debug.h:434:57: note: expanded from macro 'wxCOMPILE_TIME_ASSERT'
        struct wxMAKE_UNIQUE_ASSERT_NAME { unsigned int msg: expr; }
                                                        ^
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.cpp:10:
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.h:13:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/app.h:19:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/event.h:14:
/Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/defs.h:1028:17: warning: 'SIZEOF_SIZE_T' macro redefined [-Wmacro-redefined]
        #define SIZEOF_SIZE_T 4
                ^
/Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/platform.h:490:17: note: previous definition is here
#        define SIZEOF_SIZE_T 8
                ^
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.cpp:10:
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.h:13:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/app.h:19:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/event.h:14:
/Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/defs.h:1029:17: warning: 'SIZEOF_VOID_P' macro redefined [-Wmacro-redefined]
        #define SIZEOF_VOID_P 4
                ^
/Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/platform.h:488:17: note: previous definition is here
#        define SIZEOF_VOID_P 8
                ^
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.cpp:10:
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.h:13:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/app.h:19:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/event.h:16:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/object.h:19:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/memory.h:15:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/string.h:39:
In file included from /usr/include/stdio.h:436:
/usr/include/sys/_types/_ssize_t.h:30:33: error: typedef redefinition with different types ('__darwin_ssize_t' (aka 'long') vs 'wxInt32' (aka 'int'))
typedef __darwin_ssize_t        ssize_t;
                                ^
/Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/defs.h:1220:25: note: previous definition is here
        typedef wxInt32 ssize_t;
                        ^
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.cpp:10:
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.h:13:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/app.h:19:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/event.h:16:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/object.h:19:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/memory.h:15:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/string.h:45:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/wxcrtbase.h:38:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/time.h:13:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/longlong.h:1125:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/strvararg.h:20:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/strconv.h:17:
/Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/buffer.h:601:9: error: use of undeclared identifier 'memcpy'; did you mean 'wmemcpy'?
        memcpy(GetAppendBuf(len), data, len);
        ^~~~~~
        wmemcpy
/usr/include/wchar.h:152:10: note: 'wmemcpy' declared here
wchar_t *wmemcpy(wchar_t * __restrict, const wchar_t * __restrict, size_t);
         ^
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.cpp:10:
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.h:13:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/app.h:19:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/event.h:16:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/object.h:19:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/memory.h:15:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/string.h:45:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/wxcrtbase.h:38:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/time.h:13:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/longlong.h:1125:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/strvararg.h:20:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/strconv.h:17:
/Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/buffer.h:601:16: error: cannot initialize a parameter of type 'wchar_t *' with an rvalue of type 'void *'
        memcpy(GetAppendBuf(len), data, len);
               ^~~~~~~~~~~~~~~~~
/usr/include/wchar.h:152:38: note: passing argument to parameter here
wchar_t *wmemcpy(wchar_t * __restrict, const wchar_t * __restrict, size_t);
                                     ^
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.cpp:10:
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.h:13:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/app.h:19:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/event.h:16:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/object.h:19:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/memory.h:15:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/string.h:45:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/wxcrtbase.h:38:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/time.h:13:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/longlong.h:1125:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/strvararg.h:22:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/unichar.h:15:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/stringimpl.h:66:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:436:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:70:9: error: no member named 'memcpy' in the global namespace; did you mean 'wmemcpy'?
using ::memcpy;
      ~~^
/usr/include/wchar.h:152:10: note: 'wmemcpy' declared here
wchar_t *wmemcpy(wchar_t * __restrict, const wchar_t * __restrict, size_t);
         ^
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.cpp:10:
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.h:13:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/app.h:19:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/event.h:16:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/object.h:19:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/memory.h:15:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/string.h:45:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/wxcrtbase.h:38:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/time.h:13:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/longlong.h:1125:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/strvararg.h:22:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/unichar.h:15:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/stringimpl.h:66:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:436:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:71:9: error: no member named 'memmove' in the global namespace; did you mean 'wmemmove'?
using ::memmove;
      ~~^
/usr/include/wchar.h:153:10: note: 'wmemmove' declared here
wchar_t *wmemmove(wchar_t *, const wchar_t *, size_t);
         ^
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.cpp:10:
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.h:13:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/app.h:19:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/event.h:16:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/object.h:19:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/memory.h:15:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/string.h:45:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/wxcrtbase.h:38:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/time.h:13:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/longlong.h:1125:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/strvararg.h:22:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/unichar.h:15:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/stringimpl.h:66:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:436:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:72:9: error: no member named 'strcpy' in the global namespace
using ::strcpy;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:73:9: error: no member named 'strncpy' in the global namespace
using ::strncpy;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:74:9: error: no member named 'strcat' in the global namespace
using ::strcat;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:75:9: error: no member named 'strncat' in the global namespace
using ::strncat;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:76:9: error: no member named 'memcmp' in the global namespace; did you mean 'wmemcmp'?
using ::memcmp;
      ~~^
/usr/include/wchar.h:151:5: note: 'wmemcmp' declared here
int     wmemcmp(const wchar_t *, const wchar_t *, size_t);
        ^
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.cpp:10:
In file included from /Users/Rizitecs/Programming/C++/APS/Aphotecary Solution/Aphotecary_SolutionApp.h:13:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/app.h:19:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/event.h:16:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/object.h:19:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/memory.h:15:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/string.h:45:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/wxcrtbase.h:38:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/time.h:13:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/longlong.h:1125:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/strvararg.h:22:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/unichar.h:15:
In file included from /Users/Rizitecs/Programming/C++/wxWidgets-3.0.2/include/wx/stringimpl.h:66:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:436:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:77:9: error: no member named 'strcmp' in the global namespace
using ::strcmp;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:78:9: error: no member named 'strncmp' in the global namespace
using ::strncmp;
      ~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 errors generated.

thank you for your attention.

rgrds,
R

Offline Easior Lars

  • Multiple posting newcomer
  • *
  • Posts: 44
My idea is to make windows applications using codeblocks and wxWidgets in my macbook Pro.
It is a crazy idea to build MS Windows Applications on MBP. I think there are two possible methods to do this end. The first one is to install MS Windows on MBP through BootCamp; The second one is to install Wine applications, such as crossover, to emulate MS Windows API on Mac OS X.
Quote from: Rizary
After setting up the build setting, includes the folder in the MSW/wx, etc (i am download the entire source of wxWidgets, but i think i have not compile it into the library yet, since i do not know how to).
Your building setup is not complete because it MUST build wxWidgets on MS Windows if you want to make MS Windows applications.
« Last Edit: August 30, 2015, 01:12:20 am by Easior Lars »
Development Environments:GCC+CodeBlocks+wxWidgets
Developing Languages:Bash+Python+C/CPP+LaTeX
Developer Utils:Emacs+GIT+OpenSSH+GPG
OS:Mac OS X, Gentoo/Kali Linux/Fedora/CentOS, MS Windows
Blog:http://easior.i11r.com

Offline Rizary

  • Single posting newcomer
  • *
  • Posts: 3
My idea is to make windows applications using codeblocks and wxWidgets in my macbook Pro.
It is a crazy idea to build MS Windows Applications on MBP. I think there are two possible methods to do this end. The first one is to install MS Windows on MBP through BootCamp; The second one is to install Wine applications, such as crossover, to emulate MS Windows API on Mac OS X.
Quote from: Rizary
After setting up the build setting, includes the folder in the MSW/wx, etc (i am download the entire source of wxWidgets, but i think i have not compile it into the library yet, since i do not know how to).
Your building setup is not complete because it MUST build wxWidgets on MS Windows if you want to make MS Windows applications.

Hi, is it fine if i use Parallels or VirtualBox or other VM rather than bootcamp??
Well the idea of installing is part of my experiment though.

Offline Easior Lars

  • Multiple posting newcomer
  • *
  • Posts: 44
Hi, is it fine if i use Parallels or VirtualBox or other VM rather than bootcamp??
You are right. To install MS Windows through VMs on Mac OS X is the third method.
Development Environments:GCC+CodeBlocks+wxWidgets
Developing Languages:Bash+Python+C/CPP+LaTeX
Developer Utils:Emacs+GIT+OpenSSH+GPG
OS:Mac OS X, Gentoo/Kali Linux/Fedora/CentOS, MS Windows
Blog:http://easior.i11r.com

Offline Rizary

  • Single posting newcomer
  • *
  • Posts: 3
I see... thank you.. i think there is not any way out to this matter.


Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Isn't there any cross-compiler available, like on Linux ?

Offline Easior Lars

  • Multiple posting newcomer
  • *
  • Posts: 44
Isn't there any cross-compiler available, like on Linux ?
Good idea. I found a solution:
http://crossgcc.rts-software.org/doku.php?id=mingwinstallation2
Development Environments:GCC+CodeBlocks+wxWidgets
Developing Languages:Bash+Python+C/CPP+LaTeX
Developer Utils:Emacs+GIT+OpenSSH+GPG
OS:Mac OS X, Gentoo/Kali Linux/Fedora/CentOS, MS Windows
Blog:http://easior.i11r.com