To complete CodeBlocks wxWidgets in Windows I tried lot of times but always there is an error while compiling ( if not exist gcc_mswu mkdir gcc_mswu ). here the successful steps
1. It may be easy to install CodeBlock by simply downloading from here and click install in windows.
2. Download and unzip wxWidgets (version i used wxWidgets 3.0.1) from here
3. Goto control panel->system->Advance settings->Environment variable->Edit path variable (system level path)
Copy entire path value and save in a text file now Remove every thing from path (Be-live me)
and add only codeblock/mingw/bin path(check below example) to path variable and click ok.
example : C:\Program Files\CodeBlocks\MinGW\bin
4. Very Important open command prompt as Administrator
5. Goto wxWidgets\build\msw (check below example) location in command prompt
example: E:\wxWidgets-3.0.1\build\msw
6. Run Below commands one by one
Same command two times one for Release and another for Debug
7. Now In codeblock while creating wxWidget project select wxWidgets extracted folder as path
example: E:\wxWidgets-3.0.1
8. Edit path variable add previously saved path to existing path by separating with semicolon (;) .
example : C:\Program Files\CodeBlocks\MinGW\bin; previously_saved_path
1. It may be easy to install CodeBlock by simply downloading from here and click install in windows.
2. Download and unzip wxWidgets (version i used wxWidgets 3.0.1) from here
3. Goto control panel->system->Advance settings->Environment variable->Edit path variable (system level path)
Copy entire path value and save in a text file now Remove every thing from path (Be-live me)
and add only codeblock/mingw/bin path(check below example) to path variable and click ok.
example : C:\Program Files\CodeBlocks\MinGW\bin
4. Very Important open command prompt as Administrator
5. Goto wxWidgets\build\msw (check below example) location in command prompt
example: E:\wxWidgets-3.0.1\build\msw
6. Run Below commands one by one
mingw32-make.exe -f makefile.gcc clean
mingw32-make.exe -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0
mingw32-make.exe -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=debug UNICODE=0
Same command two times one for Release and another for Debug
7. Now In codeblock while creating wxWidget project select wxWidgets extracted folder as path
example: E:\wxWidgets-3.0.1
8. Edit path variable add previously saved path to existing path by separating with semicolon (;) .
example : C:\Program Files\CodeBlocks\MinGW\bin; previously_saved_path
No comments:
Post a Comment