IUP is a good library, but has one problem: many times it fails to compile.
More exactly, the problem seems to be requirements needed for IUP, e.g. CD or IM.
......And I succeeded again. What on earth?!
A blog from a software developer who didn't get any formal training or education at all. :P
Monday, July 4, 2016
IUP에 대한 단상
IUP는 다 좋은데...... 컴파일이 잘 안되네요. OTL
정확히는 IUP 자체보다 IUP를 컴파일하기 위한 다른 구성요소들이 좀 문제인 듯 합니다. 이를테면 CD라던가 IM이라던가......
......이래놓고는 또 한번 빌드해봤더니 멀쩡하게 또 잘되는건 함정. 뭘까요.
정확히는 IUP 자체보다 IUP를 컴파일하기 위한 다른 구성요소들이 좀 문제인 듯 합니다. 이를테면 CD라던가 IM이라던가......
......이래놓고는 또 한번 빌드해봤더니 멀쩡하게 또 잘되는건 함정. 뭘까요.
Sunday, February 28, 2016
Building IBPP on MinGW-w64
When building IBPP on MinGW-w64 MinGW complains that "Only Win32 is supported." Hey, I'm on Windows and we're building a Win32 executable!
But well, don't forget we're using an open source project and we're free to review the source code. Let's see _ibpp.h to find out why:
Hope this would help any Firebird users, who want to use it with IBPP under MinGW-w64.
P.S:
For relations and differences between MinGW and MinGW-w64, please refer to the URLs below:
https://sourceforge.net/p/mingw-w64/wiki2/History/
https://sourceforge.net/p/mingw-w64/wiki2/Feature%20list/
But well, don't forget we're using an open source project and we're free to review the source code. Let's see _ibpp.h to find out why:
#if (defined(__GNUC__) && defined(IBPP_WINDOWS))As you see, if the compiler is found to be MinGW it #undefs _WIN32. It seems to be because of the compatibility against MinGW 3.0, yet in MinGW-w64 this is the very reason to block the "normal" build.
// UNSETTING flags used above for ibase.h -- Huge conflicts with libstdc++ !
#undef _MSC_VER
#undef _WIN32
#endif
Hope this would help any Firebird users, who want to use it with IBPP under MinGW-w64.
P.S:
For relations and differences between MinGW and MinGW-w64, please refer to the URLs below:
https://sourceforge.net/p/mingw-w64/wiki2/History/
https://sourceforge.net/p/mingw-w64/wiki2/Feature%20list/
IBPP를 MinGW-w64에서 빌드하려면......
IBPP를 MinGW-w64에서 빌드하려면 갑자기 MinGW가 "Only Win32 is supported!"라는 에러를 내보내면서 빌드가 멈춥니다. Windows에서 빌드하는게 맞는데 Win32만 지원한다면서 투덜대면 이것도 참 황당한데요......
IBPP의 _ibpp.h를 보면 그 원인을 찾을 수 있습니다.
국내에 Firebird를 쓰는 분들, 특히나 IBPP를 MinGW환경에서 사용하실 분들이 몇 분이나 되실지는 모르겠지만, 참고가 되셨으면 합니다.
P.S:
MinGW와 MinGW-w64 프로젝트의 관계 및 차이점에 대해서는 아래의 URL을 참고하세요:
https://sourceforge.net/p/mingw-w64/wiki2/History/
https://sourceforge.net/p/mingw-w64/wiki2/Feature%20list/
IBPP의 _ibpp.h를 보면 그 원인을 찾을 수 있습니다.
#if (defined(__GNUC__) && defined(IBPP_WINDOWS))
// UNSETTING flags used above for ibase.h -- Huge conflicts with libstdc++ !
#undef _MSC_VER
#undef _WIN32#endif
컴파일러가 MinGW라고 판단되는 경우 _WIN32를 undef하는 것을 보실 수 있습니다. 아마도 MinGW 3.0의 호환성 문제때문에 이렇게 설정한 것 같은데, MinGW-w64에서는 이 구문이 역으로 빌드를 막는 원인이 되는 듯 합니다.
국내에 Firebird를 쓰는 분들, 특히나 IBPP를 MinGW환경에서 사용하실 분들이 몇 분이나 되실지는 모르겠지만, 참고가 되셨으면 합니다.
P.S:
MinGW와 MinGW-w64 프로젝트의 관계 및 차이점에 대해서는 아래의 URL을 참고하세요:
https://sourceforge.net/p/mingw-w64/wiki2/History/
https://sourceforge.net/p/mingw-w64/wiki2/Feature%20list/
Wednesday, November 11, 2015
Tuesday, October 20, 2015
windeployqt를 이용하여 Qt Quick Controls 기반의 application을 packaging할 때의 주의점
Qt 5.5에서 windeployqt를 사용하여 Qt Quick Controls 기반의 application에 대한 packaging을 수행할 경우, PrivateWidgets 부분을 가져오지 못해 타 시스템에서는 UI가 보이지 않는 문제점이 있습니다.
이 문제를 해결하기 위해서는 Qt의 qml\QtQuick\PrivateWidgets 폴더를 패키지 디렉토리의 상응하는 위치로 복사해 주어야 합니다. (e.g. deployment\QtQuick\PrivateWidgets)
Qt Quick Control을 쓰시는 분들께 도움이 되시기 바랍니다.
이 문제를 해결하기 위해서는 Qt의 qml\QtQuick\PrivateWidgets 폴더를 패키지 디렉토리의 상응하는 위치로 복사해 주어야 합니다. (e.g. deployment\QtQuick\PrivateWidgets)
Qt Quick Control을 쓰시는 분들께 도움이 되시기 바랍니다.
Subscribe to:
Posts (Atom)
