I ran into the same issue on my RHEL 6.3 system and submitted a Poco bug
report and patch to fix it:

https://github.com/pocoproject/poco/issues/284

Assuming this gets merged, the MITK build will be fixed by just migrating
to the latest Poco release (e.g. 1.5.2 or 1.5.2-rc4)

--
Taylor


On Mon, Sep 2, 2013 at 6:56 AM, Sascha Zelzer
<[email protected]>wrote:

>  Hi,
>
> the Poco CMake scripts actually try to detect if the system supports ODBC.
> It seems that the detection code is incomplete in your case.
>
> MITK does not need the ODBC stuff. Looks like we have to patch the Poco
> build system...
>
> - Sascha
>
>
> On 09/02/2013 09:59 AM, Clarkson, Matt wrote:
>
>  Hi there,
>
>  I just downloaded the latest MITK and tried a default build, with
> OpenCV. I get the errors below.
> Im on Scientific Linux, g++ 4.4.7.
> I tried changing to the Poco build folder, and seeing if I could turn off
> various ODBC type options, but didnt find anything much.
> Do I need to get development headers installed?
> Does MITK actually need the database stuff other than SQLite.
>
>  Thanks.
>
>  M
>
>
>  % make
> [  6%] Built target ANN
> [ 13%] Built target DCMTK
> [ 19%] Built target CTK
> [ 25%] Built target CppUnit
> [ 31%] Built target GDCM
> [ 37%] Built target GLEW
> [ 43%] Built target OpenCV
> [ 49%] Built target ITK
> [ 55%] Built target MITK-Data
> [ 61%] Built target Qwt
> [ 67%] Built target Qxt
> [ 68%] Performing build step for 'Poco'
> [ 28%] Built target PocoFoundation
> [ 40%] Built target PocoXML
> [ 42%] Built target PocoJSON
> [ 57%] Built target PocoNet
> [ 60%] Built target PocoMongoDB
> [ 75%] Built target PocoPDF
> [ 79%] Built target PocoUtil
> [ 81%] Built target PocoCrypto
> [ 85%] Built target PocoNetSSL
> [ 90%] Built target PocoData
> [ 92%] Built target PocoDataSQLite
> [ 94%] Built target PocoDataMySQL
> [ 94%] Building CXX object
> Data/ODBC/CMakeFiles/PocoDataODBC.dir/src/Binder.cpp.o
> In file included from
> /scratch0/NOT_BACKED_UP/clarkson/build/MITK-REAL-SuperBuild/Poco-src/Data/ODBC/include/Poco/Data/ODBC/ODBC.h:78,
>                  from
> /scratch0/NOT_BACKED_UP/clarkson/build/MITK-REAL-SuperBuild/Poco-src/Data/ODBC/include/Poco/Data/ODBC/Binder.h:43,
>                  from
> /scratch0/NOT_BACKED_UP/clarkson/build/MITK-REAL-SuperBuild/Poco-src/Data/ODBC/src/Binder.cpp:37:
> /scratch0/NOT_BACKED_UP/clarkson/build/MITK-REAL-SuperBuild/Poco-src/Data/ODBC/include/Poco/Data/ODBC/Unicode.h:53:20:
> error: sqlext.h: No such file or directory
> /scratch0/NOT_BACKED_UP/clarkson/build/MITK-REAL-SuperBuild/Poco-src/Data/ODBC/include/Poco/Data/ODBC/Unicode.h:54:22:
> error: sqltypes.h: No such file or directory
> /scratch0/NOT_BACKED_UP/clarkson/build/MITK-REAL-SuperBuild/Poco-src/Data/ODBC/include/Poco/Data/ODBC/Unicode.h:55:22:
> error: sqlucode.h: No such file or directory
> /scratch0/NOT_BACKED_UP/clarkson/build/MITK-REAL-SuperBuild/Poco-src/Data/ODBC/src/Binder.cpp:43:17:
> error: sql.h: No such file or directory
> In file included from
> /scratch0/NOT_BACKED_UP/clarkson/build/MITK-REAL-SuperBuild/Poco-src/Data/ODBC/include/Poco/Data/ODBC/ODBC.h:78,
>                  from
> /scratch0/NOT_BACKED_UP/clarkson/build/MITK-REAL-SuperBuild/Poco-src/Data/ODBC/include/Poco/Data/ODBC/Binder.h:43,
>                  from
> /scratch0/NOT_BACKED_UP/clarkson/build/MITK-REAL-SuperBuild/Poco-src/Data/ODBC/src/Binder.cpp:37:
> /scratch0/NOT_BACKED_UP/clarkson/build/MITK-REAL-SuperBuild/Poco-src/Data/ODBC/include/Poco/Data/ODBC/Unicode.h:77:
> error: expected initializer before '*' token
> /scratch0/NOT_BACKED_UP/clarkson/build/MITK-REAL-SuperBuild/Poco-src/Data/ODBC/include/Poco/Data/ODBC/Unicode.h:83:
> error: expected constructor, destructor, or type conversion before
> 'SQLColAttribute'
> /scratch0/NOT_BACKED_UP/clarkson/build/MITK-REAL-SuperBuild/Poco-src/Data/ODBC/include/Poco/Data/ODBC/Unicode.h:92:
> error: expected constructor, destructor, or type conversion before
> 'SQLColAttributes'
>
>
>
>
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users
>
>
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to