2013년 1월 28일 월요일

wxWidgets ribbon

구글로....

https://www.google.com/search?hl=ko&q=wxwidgets+ribbon+screenshot&sourceid=ie7&rls=com.microsoft:ko:IE-SearchBox&ie=&oe=

-
wxWidgets-2/3.x.x(version)\docs\msw\readme.txt
wxWidgets-2/3.x.x(version)\docs\msw\install.txt
-
* Using plain makefiles:

NOTE: The makefile.gcc makefiles are for compilation under MinGW using
      Windows command interpreter (command.com/cmd.exe), they won't work
      if you use Unix shell, as is the case with MSYS. Follow the instructions
      for using configure above instead if you prefer to use Unix shell.

0. Open DOS command line window (cmd.exe, *not* Bash sh.exe).

1. Change directory to %WXWIN%\build\msw and type

        > mingw32-make -f makefile.gcc

   to build wxWidgets in the default debug configuration as a static
   library. Add "BUILD=release" and/or "SHARED=1" to build the library
   in release configuration and/or as a shared library instead of the
   default static one.

2. To verify your build, change the directory to samples\minimal and
   run the same mingw32-make command (with the same parameters there),
   this should create a working minimal wxWidgets sample.

3. If you need to rebuild, use "clean" target first.

=

위에 적힌 지시에 따라 아래의
batch 파일을 만들어서 실행했더니, 잘 만들어졌다.
시간은 약 20분에서 30분 정도 걸렸다.
-------
set install_root=C:\a\bin\CodeBlocks_etc
set codeblocks_root=%install_root%\CodeBlocks
set tdm_root=%codeblocks_root%\MinGW
call %tdm_root%\mingwvars.bat
set wx_root=%install_root%\wxWidgets-3.0.4
set wxwin=%wx_root%
cd %WXWIN%\build\msw
mingw32-make -f makefile.gcc > %~dp0mgw_make_report.txt 2>&1

-------
set install_wx_root=C:\t\code_blocks_etc\wxWidgets_3_0_4
set codeblocks_root=%install_root%\CodeBlocks
set tdm_root=C:\t\TDM-GCC-32
call %tdm_root%\mingwvars.bat
set wx_root=%install_wx_root%\wxWidgets-3.0.4
set WXWIN=%wx_root%
cd %WXWIN%\build\msw
mingw32-make -f makefile.gcc > %~dp0mgw_make_report.txt 2>&1

-------
이렇게 만드는 것은 설명서에도 어느 정도 있지만, static library를 만드는 것이라서, 나중에 실행파일에 직접 합쳐진다. Dynamic-Link-Library인 DLL 로 사용하는 것이 아니기 때문에, 당연하게도(결과적으로) DLL을 만들지 않고, 폴더 하나 내부에 여러가지 *.o 파일들 (여러 이름의 .o 확장자명을 가진 파일들)을 만들고 끝난다. 내 컴퓨터로 약 30분 정도 걸렸다. 요즘의 컴퓨터로는 좀 더 시간이 단축될 수 있을 것이다. 하지만, 경험해 본 바로는 10분만 지나도 너무나도 지겹고 오래 걸린다는 느낌이므로, 시간을 확실히 재 가면서 인내를 하자. 5분밖에 안지났는데, 20분 넘게 걸렸다는 틀린(오류) 느낌에 사로잡혀 중단시켜 버릴 위험이 있다.

debug version 만을 컴파일해서 만든다. 따라서, release version 은 따로 옵션을 더 줘서 실행해야 한다.
-
_( 검색:    wxwidgets with code blocks  )_  _( https://duckduckgo.com/?q=wxwidgets+with+code+blocks&t=palemoonsp&ia=web )_
-
https://wiki.wxwidgets.org/Compiling_wxWidgets_with_MinGW#Build_Output
-
https://www.codeproject.com/articles/803106/introduction-to-wxwidgets-gui-programming-with-wxs
-

리본 툴바 기능이 만들어진 것과 다른 사람들의 버그 보고 및 관련 활동들.
wxwidgets ribbon screenshot - Google Search
https://www.google.co.kr/search?q=wxwidgets+ribbon+screenshot&gbv=2&sei=5geJXKihK7TfmAXu_b_gDg
-
2018에 고쳐진(?) 오류
https://forums.wxwidgets.org/viewtopic.php?t=45115
-
https://stackoverflow.com/questions/37551586/ribbon-menu-blank-space
-

댓글 없음:

댓글 쓰기