To answer your last question, you can give a custom VTK directory to CTK:<div>ccmake -DVTK_DIR:PATH=mypath ../CTK</div><div><br></div><div>It will then not try to git download a VTK for you but you the one you provide.</div>
<div>Julien.<br><br><div class="gmail_quote">On Thu, Aug 26, 2010 at 3:15 PM, Dean Inglis <span dir="ltr"><<a href="mailto:dean.inglis@camris.ca">dean.inglis@camris.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
using Qt 4.6.3, non SDK, MinGW with gcc 4.5.0<br>
<br>
some odd things: Ive configured to build ctk shared Release but<br>
QtMobility is built Debug:<br>
QtServiceFrameworkd.dll<br>
libQtServiceFrameworkd.a<br>
<br>
I couldnt compile CTKCore due to<div class="im"><br>
<br>
Scanning dependencies of target CTKCore<br>
[ 6%] Building CXX object Libs/Core/CMakeFiles/CTKCore.dir/ctkCommandLineParser<br>
.cpp.obj<br></div>
cc1plus.exe: error: unrecognized command line option "-fenable-auto-import"<div class="im"><br>
mingw32-make[5]: *** [Libs/Core/CMakeFiles/CTKCore.dir/ctkCommandLineParser.cpp.<br>
obj] Error 1<br>
mingw32-make[4]: *** [Libs/Core/CMakeFiles/CTKCore.dir/all] Error 2<br>
mingw32-make[3]: *** [all] Error 2<br>
mingw32-make[2]: *** [CMakeExternals/Stamp/CTK-build/CTK-build-build] Error 2<br>
mingw32-make[1]: *** [CMakeFiles/CTK-build.dir/all] Error 2<br>
mingw32-make: *** [all] Error 2<br>
<br></div>
according to, for example<br>
<a href="http://old.nabble.com/link-error---enable-auto-imports-for-details-td20734348.html" target="_blank">http://old.nabble.com/link-error---enable-auto-imports-for-details-td20734348.html</a><br>
<a href="http://www.cygwin.com/ml/cygwin/2009-06/msg00183.html" target="_blank">http://www.cygwin.com/ml/cygwin/2009-06/msg00183.html</a><br>
<br>
one can<br>
SET(cflags "-Wl,--enable-auto-import ${cflags}")<br>
<br>
but that didnt work. so in ctk root CmakeLists I commented out<br>
# IF(MINGW)<br>
# suppress warnings about auto imported symbols<br>
# SET(cflags "--enable-auto-import ${cflags}")<br>
# ENDIF()<br>
<br>
and I can build CTK-Build: libCTKCore.dll, CTKCoreCppTests.exe, libCTKPluginFramework.dll,<br>
CTKPluginFrameworkCppTests.exe, liborg_commontk_eventbus.dll<br>
<br>
but get warnings like:<br>
<br>
Info: resolving ___stack_chk_guard by linking to __imp____stack_chk_guard (auto-<br>
import)<br>
c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: warning: a<br>
uto-importing has been activated without --enable-auto-import specified on the c<br>
ommand line.<br>
This should work unless it involves constant data structures referencing symbols<br>
from auto-imported DLLs.<br>
<br>
currently trying to build VTK components (didnt realize ctk build would git clone<br>
vtk instead of using the one I already have!!!) ... ill keep you posted<br><font color="#888888">
<br>
Dean</font><div><div></div><div class="h5"><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
with these three commits CTK builds on MinGW (I used the Qt SDK 2010.04 which has Qt 4.6.3 and MinGW with gcc 4.4.0):<br>
<br>
<a href="http://github.com/commontk/CTK/commit/dd6b7964a4aac713903ac677868b12593d2b5d53" target="_blank">http://github.com/commontk/CTK/commit/dd6b7964a4aac713903ac677868b12593d2b5d53</a><br>
<a href="http://github.com/commontk/CTK/commit/8d7e2cc1537be3299be35411c6421f431d257f08" target="_blank">http://github.com/commontk/CTK/commit/8d7e2cc1537be3299be35411c6421f431d257f08</a><br>
<a href="http://github.com/commontk/CTK/commit/171e2c2bbf829da538bf0e36d4e3a1ac00860b12" target="_blank">http://github.com/commontk/CTK/commit/171e2c2bbf829da538bf0e36d4e3a1ac00860b12</a><br>
<br>
However, vtklibxml2 seems to have some troubles compiling, so the VTK dependent parts of CTK still require some work.<br>
<br>
Best,<br>
Sascha<br>
<br>
<br>
On 08/23/2010 01:18 AM, Dean Inglis wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
thanks Sascha, looking forward to getting a bit further along. QtMobility<br>
now<br>
builds out of the box.<br>
<br>
I updated my mingw install with mingw from<br>
<a href="http://tdm-gcc.tdragon.net/download" target="_blank">http://tdm-gcc.tdragon.net/download</a><br>
to get a more up to date gcc compiler (4.5.0) and that fixed the initial<br>
compiler flag issues discussed at the beginning of this thread.<br>
<br>
Can CTK be built in shared release configuration or are there some<br>
configuration restrictions? If so, are there additional configuration<br>
restrictions<br>
on Qt, VTK etc.?<br>
<br>
best regards,<br>
Dean<br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Dean,<br>
<br>
commit<br>
<a href="http://github.com/commontk/CTK/commit/713b8883a9a4ec6c38d093367e99c13eb4d7a6ab" target="_blank">http://github.com/commontk/CTK/commit/713b8883a9a4ec6c38d093367e99c13eb4d7a6ab</a><br>
will fix your QtMobility build issue. With commit<br>
<a href="http://github.com/commontk/CTK/commit/e87fe1533d06a96e0fd0df0a19635573cd6b5981" target="_blank">http://github.com/commontk/CTK/commit/e87fe1533d06a96e0fd0df0a19635573cd6b5981</a><br>
the CTK compiler flags will also work on MinGW systems.<br>
<br>
You will still get unresolved references during linking of CTKCore (in<br>
Log4Qt) which probably is due to a wrong linking order (Log4Qt is a static<br>
library, listed at the end of the linker command line). I will try and fix<br>
it in the next week.<br>
<br>
Best,<br>
Sascha<br>
<br>
Am 21.08.2010 00:04, schrieb Dean Inglis:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Julien,<br>
<br>
thanks for the suggestions. Im using the latest stable release for MinGW<br>
and to<br>
gcc that comes with is all there is aFAIK. In CTK root CMakeLists.txt,<br>
I commented out<br>
<br>
#-----------------------------------------------------------------------------<br>
# Set symbol visibility Flags<br>
#<br>
#IF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")<br>
# SET(VISIBILITY_CXX_FLAGS<br>
"-fvisibility=hidden -fvisibility-inlines-hidden")<br>
#ENDIF()<br>
<br>
and removed -Wstrict-null-sentinel<br>
<br>
IF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")<br>
SET(cflags<br>
"-Wall -Wextra -Wpointer-arith -Winvalid-pch -Wcast-align -Wwrite-strings<br>
-D_FORTIFY_SOURCE=2")<br>
ctkFunctionCheckCompilerFlags("-fdiagnostics-show-option" cflags)<br>
ctkFunctionCheckCompilerFlags("-fstack-protector-all" cflags)<br>
SET(CTK_C_FLAGS "${cflags} ${CTK_C_FLAGS}")<br>
# SET(CTK_CXX_FLAGS<br>
"${cflags} -Woverloaded-virtual -Wold-style-cast -Wstrict-null-sentinel -Wsign-promo<br>
${CTK_CXX_FLAGS}")<br>
SET(CTK_CXX_FLAGS<br>
"${cflags} -Woverloaded-virtual -Wold-style-cast -Wsign-promo<br>
${CTK_CXX_FLAGS}")<br>
ENDIF()<br>
<br>
Now Im getting the following linking errors:<br>
<br>
[ 83%] Performing build step for 'CTK-build'<br>
Linking CXX shared library ..\..\bin\libCTKCore.dll<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(ba<br>
sicconfigurator.cpp.obj):basicconfigurator.cpp:(.text+0xc5): undefined<br>
reference<br>
to `_imp___ZN7QString17fromLatin1_helperEPKci'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(ba<br>
sicconfigurator.cpp.obj):basicconfigurator.cpp:(.text+0x146): undefined<br>
referenc<br>
e to `_imp___ZN7QString17fromLatin1_helperEPKci'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(ba<br>
sicconfigurator.cpp.obj):basicconfigurator.cpp:(.text+0x216): undefined<br>
referenc<br>
e to `_imp___ZN7QString17fromLatin1_helperEPKci'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(ba<br>
sicconfigurator.cpp.obj):basicconfigurator.cpp:(.text+0x23f): undefined<br>
referenc<br>
e to `_imp___ZN7QObject13setObjectNameERK7QString'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(ba<br>
sicconfigurator.cpp.obj):basicconfigurator.cpp:(.text+0x2e6): undefined<br>
referenc<br>
e to `_imp___ZN7QString17fromLatin1_helperEPKci'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(ba<br>
sicconfigurator.cpp.obj):basicconfigurator.cpp:(.text+0x390): undefined<br>
referenc<br>
e to `_imp___ZN7QString17fromLatin1_helperEPKci'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(ba<br>
sicconfigurator.cpp.obj):basicconfigurator.cpp:(.text+0x5c5): undefined<br>
referenc<br>
e to `_imp___ZN6QMutex6unlockEv'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(ba<br>
sicconfigurator.cpp.obj):basicconfigurator.cpp:(.text+0x708): undefined<br>
referenc<br>
e to `_imp___ZN6QMutex4lockEv'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(ba<br>
sicconfigurator.cpp.obj):basicconfigurator.cpp:(.text+0x71f): undefined<br>
referenc<br>
e to `_imp___ZN6QMutex6unlockEv'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(lo<br>
gger.cpp.obj):logger.cpp:(.text+0x63): undefined reference to<br>
`_imp___ZN14QReadW<br>
riteLock6unlockEv'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(lo<br>
gger.cpp.obj):logger.cpp:(.text+0x7c): undefined reference to<br>
`_imp___ZN14QReadW<br>
riteLock11lockForReadEv'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(lo<br>
gger.cpp.obj):logger.cpp:(.text+0x149): undefined reference to<br>
`_imp___ZN7QStrin<br>
g17fromLatin1_helperEPKci'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(lo<br>
gger.cpp.obj):logger.cpp:(.text+0xcea): undefined reference to<br>
`_imp___ZN14QRead<br>
WriteLock11lockForReadEv'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(lo<br>
gger.cpp.obj):logger.cpp:(.text+0xd6f): undefined reference to<br>
`_imp___ZN14QRead<br>
WriteLock6unlockEv'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(lo<br>
gger.cpp.obj):logger.cpp:(.text+0xe85): undefined reference to<br>
`_imp___ZN14QRead<br>
WriteLock6unlockEv'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(lo<br>
gger.cpp.obj):logger.cpp:(.text+0x160d): undefined reference to<br>
`_imp___ZN14QRea<br>
dWriteLock11lockForReadEv'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(lo<br>
gger.cpp.obj):logger.cpp:(.text+0x1648): undefined reference to<br>
`_imp___ZN14QRea<br>
dWriteLock6unlockEv'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(lo<br>
gger.cpp.obj):logger.cpp:(.text+0x1712): undefined reference to<br>
`_imp___ZN14QRea<br>
dWriteLockC1ENS_13RecursionModeE'<br>
<br>
etc etc etc<br>
<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
c_rollingfileappender.cxx.obj):moc_rollingfileappender.cxx:(.text+0x388):<br>
undefi<br>
ned reference to `_imp___ZN6QMutex4lockEv'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
c_rollingfileappender.cxx.obj):moc_rollingfileappender.cxx:(.text+0x3a3):<br>
undefi<br>
ned reference to `_imp___ZN6QMutex6unlockEv'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
c_rollingfileappender.cxx.obj):moc_rollingfileappender.cxx:(.text+0x3f0):<br>
undefi<br>
ned reference to `_imp___ZN6QMutex4lockEv'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
c_rollingfileappender.cxx.obj):moc_rollingfileappender.cxx:(.text+0x40d):<br>
undefi<br>
ned reference to `_imp___ZN6QMutex4lockEv'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
c_rollingfileappender.cxx.obj):moc_rollingfileappender.cxx:(.text+0x428):<br>
undefi<br>
ned reference to `_imp___ZN6QMutex6unlockEv'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
c_fileappender.cxx.obj):moc_fileappender.cxx:(.text+0x1f6): undefined<br>
reference<br>
to `_imp___ZN6QMutex6unlockEv'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
c_fileappender.cxx.obj):moc_fileappender.cxx:(.text+0x323): undefined<br>
reference<br>
to `_imp___ZN6QMutex4lockEv'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
c_fileappender.cxx.obj):moc_fileappender.cxx:(.text+0x347): undefined<br>
reference<br>
to `_imp___ZN6QMutex6unlockEv'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
c_fileappender.cxx.obj):moc_fileappender.cxx:(.text+0x35b): undefined<br>
reference<br>
to `_imp___ZN6QMutex4lockEv'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
c_fileappender.cxx.obj):moc_fileappender.cxx:(.text+0x379): undefined<br>
reference<br>
to `_imp___ZN6QMutex6unlockEv'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
c_dailyrollingfileappender.cxx.obj):moc_dailyrollingfileappender.cxx:(.text+0x24<br>
8): undefined reference to `_imp___ZN6QMutex6unlockEv'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
c_dailyrollingfileappender.cxx.obj):moc_dailyrollingfileappender.cxx:(.text+0x26<br>
8): undefined reference to `_imp___ZN6QMutex4lockEv'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
c_dailyrollingfileappender.cxx.obj):moc_dailyrollingfileappender.cxx:(.text+0x29<br>
2): undefined reference to `_imp___ZN6QMutex6unlockEv'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
c_dailyrollingfileappender.cxx.obj):moc_dailyrollingfileappender.cxx:(.text+0x2e<br>
f): undefined reference to `_imp___ZN6QMutex4lockEv'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
c_dailyrollingfileappender.cxx.obj):moc_dailyrollingfileappender.cxx:(.text+0x31<br>
1): undefined reference to `_imp___ZN6QMutex6unlockEv'<br>
collect2: ld returned 1 exit status<br>
mingw32-make[5]: *** [bin/libCTKCore.dll] Error 1<br>
mingw32-make[4]: *** [Libs/Core/CMakeFiles/CTKCore.dir/all] Error 2<br>
mingw32-make[3]: *** [all] Error 2<br>
mingw32-make[2]: *** [CMakeExternals/Stamp/CTK-build/CTK-build-build]<br>
Error<br>
2<br>
mingw32-make[1]: *** [CMakeFiles/CTK-build.dir/all] Error 2<br>
mingw32-make: *** [all] Error 2<br>
<br>
Also, what is the correct fix/workaround for getting QtMobility to<br>
properly<br>
compile without modifying cmake's generated build.make?<br>
<br>
thanks,<br>
Dean<br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Dean, glad to hear you're giving a shot with CTK.<br>
<br>
The flags the compiler is complaining about are supported from gcc 4.0.<br>
You<br>
might want to update your gcc compiler.<br>
<br>
However, there are some other workarounds, you can remove them when<br>
configuring CTK (check the options CTK_CXX_FLAGS and<br>
VISIBILITY_CXX_FLAGS)<br>
All these flags are automatically set in CTK/CMakeLists.txt, if we want<br>
to<br>
support "old" gcc compilers, then we should probably make sure they are<br>
supported using ctkFunctionCheckCompilerFlags()<br>
<br>
Let us know if you have more feedbacks. Feel free to post a patch with<br>
all<br>
the changes you needed to add to have it working.<br>
<br>
Thanks,<br>
Julien.<br>
<br>
On Fri, Aug 20, 2010 at 11:42 AM, Dean Inglis<<a href="mailto:dean.inglis@camris.ca" target="_blank">dean.inglis@camris.ca</a>><br>
wrote:<br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I'm new to CTK and have been trying to get things going on Win32 Vista<br>
with MinGW and CMake 2.8.1. Ive compiled Qt 4.6.3 shared release and<br>
debug<br>
(because<br>
QtMobility would not compile with just a release build of Qt) and VTK<br>
5.7<br>
shared release<br>
but Im running into a snag with QtMobility:<br>
<br>
D:\Developer\Releases\MinGW\SHARED\ctk>mingw32-make<br>
Scanning dependencies of target QtMobility<br>
[ 0%] Creating directories for 'QtMobility'<br>
[ 0%] Performing download step (extract) for 'QtMobility'<br>
-- extracting...<br>
<br>
<br>
src='D:/Developer/Sources/CTK/Utilities/QtMobility/qt-mobility-servicefw-op<br>
ensource-src-1.0.0.tar.gz'<br>
<br>
<br>
dst='D:/Developer/Releases/MinGW/SHARED/ctk/CMakeExternals/Source/QtMobilit<br>
y'<br>
-- extracting... [tar xfz]<br>
-- extracting... [analysis]<br>
-- extracting... [copy]<br>
-- extracting... [clean up]<br>
-- extracting... done<br>
[ 0%] Performing patch step for 'QtMobility'<br>
[ 0%] No update step for 'QtMobility'<br>
[ 0%] Performing configure step for 'QtMobility'<br>
Checking selected modules:<br>
ServiceFramework selected<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\QtMobility<br>
Checking available Qt<br>
4.6.3<br>
Checking make<br>
... mingw32-make found.<br>
<br>
Start of compile tests<br>
End of compile tests<br>
<br>
<br>
The file cannot be copied onto itself.<br>
0 file(s) copied.<br>
Generating Mobility Headers...<br>
The system cannot find the file specified.<br>
Create header<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\QtMob<br>
ility\include/QAbstractSecuritySession<br>
Create header<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\QtMob<br>
ility\include/QServiceContext<br>
Create header<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\QtMob<br>
ility\include/QServiceFilter<br>
Create header<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\QtMob<br>
ility\include/QServiceInterfaceDescriptor<br>
Create header<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\QtMob<br>
ility\include/QServiceManager<br>
Create header<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\QtMob<br>
ility\include/QServicePluginInterface<br>
<br>
Running qmake...<br>
Reading<br>
D:/Developer/Releases/MinGW/SHARED/ctk/CMakeExternals/Source/QtMobility/<br>
src/<a href="http://src.pro" target="_blank">src.pro</a><br>
Reading<br>
D:/Developer/Releases/MinGW/SHARED/ctk/CMakeExternals/Source/QtMobility<br>
/src/global/<a href="http://global.pro" target="_blank">global.pro</a><br>
Reading<br>
D:/Developer/Releases/MinGW/SHARED/ctk/CMakeExternals/Source/QtMobility<br>
/src/serviceframework/<a href="http://serviceframework.pro" target="_blank">serviceframework.pro</a><br>
Reading<br>
D:/Developer/Releases/MinGW/SHARED/ctk/CMakeExternals/Source/QtMobility/<br>
tools/<a href="http://tools.pro" target="_blank">tools.pro</a><br>
Reading<br>
D:/Developer/Releases/MinGW/SHARED/ctk/CMakeExternals/Source/QtMobility<br>
/tools/servicefw/<a href="http://servicefw.pro" target="_blank">servicefw.pro</a><br>
Reading<br>
D:/Developer/Releases/MinGW/SHARED/ctk/CMakeExternals/Source/QtMobility<br>
/tools/servicexmlgen/<a href="http://servicexmlgen.pro" target="_blank">servicexmlgen.pro</a><br>
Reading<br>
D:/Developer/Releases/MinGW/SHARED/ctk/CMakeExternals/Source/QtMobility<br>
/tools/icheck/<a href="http://icheck.pro" target="_blank">icheck.pro</a><br>
<br>
configure has finished. You may run mingw32-make to build the project<br>
now.<br>
[ 0%] Performing build step for 'QtMobility'<br>
'make' is not recognized as an internal or external command,<br>
operable program or batch file.<br>
mingw32-make[2]: *** [CMakeExternals/Stamp/QtMobility/QtMobility-build]<br>
Error 1<br>
mingw32-make[1]: *** [CMakeFiles/QtMobility.dir/all] Error 2<br>
mingw32-make: *** [all] Error 2<br>
<br>
<br>
I have in my ctk build directory ctk/CMakeFiles/QtMobility.dir a<br>
build.make<br>
file with<br>
"make" instead of "mingw32-make":<br>
<br>
CMakeExternals/Stamp/QtMobility/QtMobility-build:<br>
CMakeExternals/Stamp/QtMobility/QtMobility-configure<br>
$(CMAKE_COMMAND) -E cmake_progress_report<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeFiles $(CMAKE_PROGRESS_8)<br>
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold<br>
"Performing build step for 'QtMobility'"<br>
cd<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\QtMobility<br>
&& make<----------------------------*<br>
cd<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\QtMobility<br>
&& "C:\Program Files\CMake 2.8\bin\cmake.exe" -E touch<br>
<br>
D:/Developer/Releases/MinGW/SHARED/ctk/CMakeExternals/Stamp/QtMobility/QtMobility-build<br>
<br>
and "make install" instead of "mingw32-make install":<br>
<br>
CMakeExternals/Stamp/QtMobility/QtMobility-install:<br>
CMakeExternals/Stamp/QtMobility/QtMobility-build<br>
$(CMAKE_COMMAND) -E cmake_progress_report<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeFiles $(CMAKE_PROGRESS_2)<br>
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold<br>
"Performing install step for 'QtMobility'"<br>
cd<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\QtMobility<br>
&& make install<-----------------------*<br>
cd<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\QtMobility<br>
&& "C:\Program Files\CMake 2.8\bin\cmake.exe" -E touch<br>
<br>
D:/Developer/Releases/MinGW/SHARED/ctk/CMakeExternals/Stamp/QtMobility/QtMobility-install<br>
<br>
<br>
I manually edited build.make and QtMobility proceeded to build. Log4Qt<br>
built without problems, but then I run into<br>
<br>
Scanning dependencies of target CTKCore<br>
[ 6%] Building CXX object<br>
Libs/Core/CMakeFiles/CTKCore.dir/ctkCommandLineParser<br>
.cpp.obj<br>
cc1plus.exe: error: unrecognized command line option<br>
"-Wstrict-null-sentinel"<br>
cc1plus.exe: error: unrecognized command line option<br>
"-fvisibility=hidden"<br>
cc1plus.exe: error: unrecognized command line option<br>
"-fvisibility-inlines-hidde<br>
n"<br>
mingw32-make[5]: ***<br>
[Libs/Core/CMakeFiles/CTKCore.dir/ctkCommandLineParser.cpp.<br>
obj] Error 1<br>
mingw32-make[4]: *** [Libs/Core/CMakeFiles/CTKCore.dir/all] Error 2<br>
mingw32-make[3]: *** [all] Error 2<br>
mingw32-make[2]: *** [CMakeExternals/Stamp/CTK-build/CTK-build-build]<br>
Error<br>
2<br>
mingw32-make[1]: *** [CMakeFiles/CTK-build.dir/all] Error 2<br>
mingw32-make: *** [all] Error 2<br>
<br>
the command line options appear in a number of flags.make files which<br>
cannot<br>
be edited since cmake<br>
overwrites them with every call to mingw32-make.<br>
<br>
Id really like to try out CTK and hopefully contribute as our company<br>
would<br>
like to switch<br>
from KWWidgets to Qt.<br>
<br>
regards,<br>
Dean<br>
<br>
_______________________________________________<br>
Ctk-developers mailing list<br>
<a href="mailto:Ctk-developers@commontk.org" target="_blank">Ctk-developers@commontk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
<br>
<br>
<br>
</blockquote>
<br>
</blockquote>
_______________________________________________<br>
Ctk-developers mailing list<br>
<a href="mailto:Ctk-developers@commontk.org" target="_blank">Ctk-developers@commontk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
<br>
<br>
</blockquote>
_______________________________________________<br>
Ctk-developers mailing list<br>
<a href="mailto:Ctk-developers@commontk.org" target="_blank">Ctk-developers@commontk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
<br>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
<br>
_______________________________________________<br>
Ctk-developers mailing list<br>
<a href="mailto:Ctk-developers@commontk.org" target="_blank">Ctk-developers@commontk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
</div></div></blockquote></div><br></div>