Hi Dean, <br><br>Here is the description of the build directory structure:<br><br><ROOT_BUILD_DIR>/CTK-build<br><ROOT_BUILD_DIR>/CMakeExternals/{Source, Build, ...}<br><br>The different external project are checked out, build, etc .. in the associated subdir you could find in CMakeExternals directory.<br>

<br>CTK-build is what I would call the "inner" build directory, ctest should be run from that folder.<br><br>Thks<br>Jc<br><br><div class="gmail_quote">On Thu, Aug 26, 2010 at 3:45 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: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">with ctk's git fetch of vtk Im getting:<br>
<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\VTK\Utilities\vtkli<br>
bxml2\threads.c: In function 'vtk_libxml2_xmlRMutexUnlock':<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\VTK\Utilities\vtkli<br>
bxml2\threads.c:399:18: error: incompatible types when assigning to type 'pthrea<br>
d_t' from type 'int'<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\VTK\Utilities\vtkli<br>
bxml2\threads.c: In function 'vtk_libxml2_xmlGetThreadId':<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\VTK\Utilities\vtkli<br>
bxml2\threads.c:624:5: error: aggregate value used where an integer was expected<br>
<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\VTK\Utilities\vtkli<br>
bxml2\threads.c: In function 'vtk_libxml2_xmlIsMainThread':<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\VTK\Utilities\vtkli<br>
bxml2\threads.c:660:23: error: invalid operands to binary == (have 'pthread_t' a<br>
nd 'pthread_t')<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\VTK\Utilities\vtkli<br>
bxml2\threads.c: In function 'xmlOnceInit':<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\VTK\Utilities\vtkli<br>
bxml2\threads.c:790:10: error: 'run_once' undeclared (first use in this function<br>
)<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\VTK\Utilities\vtkli<br>
bxml2\threads.c:790:10: note: each undeclared identifier is reported only once f<br>
or each function it appears in<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\VTK\Utilities\vtkli<br>
bxml2\threads.c:796:24: error: incompatible types when assigning to type 'pthrea<br>
d_t' from type 'DWORD'<br>
mingw32-make[5]: *** [Utilities/vtklibxml2/CMakeFiles/vtklibxml2.dir/threads.c.o<br>
bj] Error 1<br>
mingw32-make[4]: *** [Utilities/vtklibxml2/CMakeFiles/vtklibxml2.dir/all] Error<div class="im"><br>
2<br>
mingw32-make[3]: *** [all] Error 2<br></div>
mingw32-make[2]: *** [CMakeExternals/Stamp/VTK/VTK-build] Error 2<br>
mingw32-make[1]: *** [CMakeFiles/VTK.dir/all] Error 2<div class="im"><br>
mingw32-make: *** [all] Error 2<br>
<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
To answer your last question, you can give a custom VTK directory to CTK:<br>
ccmake -DVTK_DIR:PATH=mypath ../CTK<br>
It will then not try to git download a VTK for you but you the one you provide.<br>
Julien.<br>
</blockquote>
<br></div>
I dont have ccmake, but doing<br>
cmake -DVTK_DIR:PATH=mypath_to_my_vtk_build ../CTK<br>
allows build to completion for<br>
CTK_LIB_Widgets:BOOL=ON<br>
CTK_LIB_Visualization/VTK/Core:BOOL=ON<br>
CTK_LIB_Visualization/VTK/Widgets:BOOL=ON<br>
<br>
I tried ctest in the root of my ctk build, but I get a no test found message?<br><font color="#888888">
<br>
Dean</font><div><div></div><div class="h5"><br>
<br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Thank Sasha :)<br>
<br>
What the problem with VTK ?<br>
<br>
It would be great to share the problem on the vtk developer list. Could you<br>
take care of that ?<br>
<br>
Thks<br>
Jc<br>
<br>
<br>
On Thu, Aug 26, 2010 at 12:53 PM, Sascha Zelzer <<a href="mailto:s.zelzer@dkfz-heidelberg.de" target="_blank">s.zelzer@dkfz-heidelberg.de</a><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
wrote:<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
with these three commits CTK builds on MinGW (I used the Qt SDK 2010.04<br>
which has Qt 4.6.3 and MinGW with gcc 4.4.0):<br>
<br>
<br>
<a href="http://github.com/commontk/CTK/commit/dd6b7964a4aac713903ac677868b12593d2b5d53" target="_blank">http://github.com/commontk/CTK/commit/dd6b7964a4aac713903ac677868b12593d2b5d53</a><br>
<br>
<a href="http://github.com/commontk/CTK/commit/8d7e2cc1537be3299be35411c6421f431d257f08" target="_blank">http://github.com/commontk/CTK/commit/8d7e2cc1537be3299be35411c6421f431d257f08</a><br>
<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<br>
dependent parts of CTK still require some work.<br>
<br>
Best,<br>
Sascha<br>
<br>
<br>
<br>
On 08/23/2010 01:18 AM, Dean Inglis wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); 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>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Dean,<br>
<br>
commit<br>
<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>
<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<br>
static<br>
library, listed at the end of the linker command line). I will try and<br>
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>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Julien,<br>
<br>
thanks for the suggestions.  Im using the latest stable release for<br>
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>
#-----------------------------------------------------------------------------<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<br>
-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<br>
-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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
<br>
c_rollingfileappender.cxx.obj):moc_rollingfileappender.cxx:(.text+0x388):<br>
undefi<br>
ned reference to `_imp___ZN6QMutex4lockEv'<br>
<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
<br>
c_rollingfileappender.cxx.obj):moc_rollingfileappender.cxx:(.text+0x3a3):<br>
undefi<br>
ned reference to `_imp___ZN6QMutex6unlockEv'<br>
<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
<br>
c_rollingfileappender.cxx.obj):moc_rollingfileappender.cxx:(.text+0x3f0):<br>
undefi<br>
ned reference to `_imp___ZN6QMutex4lockEv'<br>
<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
<br>
c_rollingfileappender.cxx.obj):moc_rollingfileappender.cxx:(.text+0x40d):<br>
undefi<br>
ned reference to `_imp___ZN6QMutex4lockEv'<br>
<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
<br>
c_rollingfileappender.cxx.obj):moc_rollingfileappender.cxx:(.text+0x428):<br>
undefi<br>
ned reference to `_imp___ZN6QMutex6unlockEv'<br>
<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>
<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>
<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>
<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>
<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>
<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
<br>
c_dailyrollingfileappender.cxx.obj):moc_dailyrollingfileappender.cxx:(.text+0x24<br>
8): undefined reference to `_imp___ZN6QMutex6unlockEv'<br>
<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
<br>
c_dailyrollingfileappender.cxx.obj):moc_dailyrollingfileappender.cxx:(.text+0x26<br>
8): undefined reference to `_imp___ZN6QMutex4lockEv'<br>
<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
<br>
c_dailyrollingfileappender.cxx.obj):moc_dailyrollingfileappender.cxx:(.text+0x29<br>
2): undefined reference to `_imp___ZN6QMutex6unlockEv'<br>
<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
<br>
c_dailyrollingfileappender.cxx.obj):moc_dailyrollingfileappender.cxx:(.text+0x2e<br>
f): undefined reference to `_imp___ZN6QMutex4lockEv'<br>
<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Install\lib\libLog4Qt.a(mo<br>
<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>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); 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>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); 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>
<br>
src='D:/Developer/Sources/CTK/Utilities/QtMobility/qt-mobility-servicefw-op<br>
ensource-src-1.0.0.tar.gz'<br>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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]: ***<br>
[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>
<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\QtMobility<br>
&&   make<----------------------------*<br>
cd<br>
<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\QtMobility<br>
&&   "C:\Program Files\CMake 2.8\bin\cmake.exe" -E touch<br>
<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>
<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\QtMobility<br>
&&   make install<-----------------------*<br>
cd<br>
<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Source\QtMobility<br>
&&   "C:\Program Files\CMake 2.8\bin\cmake.exe" -E touch<br>
<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.<br>
 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>
<br>
</blockquote>
<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>
<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>
<br>
</blockquote>
<br>
<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>
<br>
</blockquote>
<br>
<br>
<br>
-- <br>
Phone: 1-518-836-2174<br>
Ext: 304<br>
<br>
</blockquote>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Phone: 1-518-836-2174<br>Ext: 304<br>