Technically we dropped support for these compilers because of it's inability to compile modern C++ code, especially templates. I'll gladly consider any patches that you provide though.<div><br></div><div>Also, if you don't need to use N-WAY arrays. Then turn VTK_USE_N_WAY_ARRAYS off in CMake. I predict BCC will most likely choke on those classes.<br>
<br><div class="gmail_quote">
On Fri, Jul 30, 2010 at 4:09 AM, Christopher Walthers <span dir="ltr"><<a href="mailto:christopher.walthers@gmail.com" target="_blank">christopher.walthers@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello Alessandro,<br><br>awesome, that did the job - thanks a lot. I hope a VTK developer is reading this, so that this gets fixed for the next release.<br><br>However, I am getting another error now:<br><br>[ 62%] Building CXX object IO/CMakeFiles/vtkIO.dir/vtkArrayReader.cxx.obj<div>
<br>
Embarcadero C++ 6.21 for Win32 Copyright (c) 1993-2009 Embarcadero Technologies, Inc.<br></div>C:\Users\cwatzl\Projects\VTK\IO\vtkArrayReader.cxx:<br>Error E2268 C:\Users\cwatzl\Projects\VTK\IO\vtkArrayReader.cxx 50: Call to undefined function 'isspace' in function <unnamedNS>::ExtractValue(istream &,vtkStdString &)<br>
Error E2268 C:\Users\cwatzl\Projects\VTK\IO\vtkArrayReader.cxx 51: Call to undefined function 'isspace' in function <unnamedNS>::ExtractValue(istream &,vtkStdString &)<br>Error E2268 C:\Users\cwatzl\Projects\VTK\IO\vtkArrayReader.cxx 61: Call to undefined function 'isspace' in function <unnamedNS>::ExtractValue(istream &,vtkUnicodeString &)<br>
Error E2268 C:\Users\cwatzl\Projects\VTK\IO\vtkArrayReader.cxx 62: Call to undefined function 'isspace' in function <unnamedNS>::ExtractValue(istream &,vtkUnicodeString &)<br>*** 4 errors in Compile ***<br>
<br>** error 2 ** deleting IO\CMakeFiles\vtkIO.dir\vtkArrayReader.cxx.obj<br><br>** error 1 ** deleting IO\CMakeFiles\vtkIO.dir\all<br><br>** error 1 ** deleting all<div><div></div><div><br><br><br><div class="gmail_quote">
On Fri, Jul 30, 2010 at 7:17 AM, Alessandro Martini <span dir="ltr"><<a href="mailto:alessandromartini@gmail.com" target="_blank">alessandromartini@gmail.com</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"><div>if you prefer any more definitive, you can add this lines:</div>
<div><font color="#0000ff" size="2"><font color="#0000ff" size="2">
<p>#ifdef</p></font></font><font size="2"> __BCPLUSPLUS__ <br></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">#include</font></font><font size="2"> </font><font color="#a31515" size="2"><font color="#a31515" size="2"><malloc.h><br>
</font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">#endif</font></font>at line 51, after: <font color="#0000ff" size="2"><font color="#0000ff" size="2">
<p>#include</p></font></font><font size="2"> </font><font color="#a31515" size="2"><font color="#a31515" size="2"><assert.h></font></font>.<br><br></div><div><div></div><div>
<div class="gmail_quote">On Fri, Jul 30, 2010 at 12:39 AM, Alessandro Martini <span dir="ltr"><<a href="mailto:alessandromartini@gmail.com" target="_blank">alessandromartini@gmail.com</a>></span> wrote:<br>
<blockquote style="border-left:1px solid rgb(204, 204, 204);margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote">
<div>Christopher, </div>
<div> </div>
<div>When we no have a answer you can solve this adding a line:</div>
<div><font color="#0000ff" size="2"><font color="#0000ff" size="2">#include</font></font><font size="2"> </font><font color="#a31515" size="2"><font color="#a31515" size="2"><malloc.h></font></font></div>
<div>on line 2040 at begin of Macros section.</div>
<div><br>Regards,</div>
<div>Alessandro Martini<font color="#888888"><br></font></div>
<div>
<div></div>
<div>
<div class="gmail_quote">On Thu, Jul 29, 2010 at 6:41 PM, Alessandro Martini <span dir="ltr"><<a href="mailto:alessandromartini@gmail.com" target="_blank">alessandromartini@gmail.com</a>></span> wrote:<br>
<blockquote style="border-left:1px solid rgb(204, 204, 204);margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote">
<div> </div>
<div>Hello All,</div>
<div>I'm with the same error, anyone know what is the way to pass this error or correct this ? </div>
<div>Thanks,<br>Mart.ini<br><br></div>
<div>
<div></div>
<div>
<div class="gmail_quote">On Thu, Jul 29, 2010 at 11:22 AM, hagbard <span dir="ltr"><<a href="mailto:christopher.walthers@gmail.com" target="_blank">christopher.walthers@gmail.com</a>></span> wrote:<br>
<blockquote style="border-left:1px solid rgb(204, 204, 204);margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote"><br>Hello everyone,<br><br>I am trying to get VTK 5.6.0 to compile under Windows with bcc32 6.21 (which<br>
is included in Embarcadero C++ Builder 2010). I am not doing this by choice,<br>I'd much rather use a more mainstream compiler like MinGW gcc or the MSVC++<br>compiler (or even better, gcc under Unix), but I need to integrate VTK into<br>
an existing application that is developed with C++ Builder and the VCL GUI<br>framework.<br><br>I generated a Borland Makefile with CMake and tried to build it with<br>Embarcadero Make. However, the build process apparently fails when compiling<br>
vtkYoungsMaterialInterface.cxx. This problem also affects ParaView 3.8.0<br>since it seems to use VTK 5.6.0. Any help would be much appreciated!<br><br>I get the following output:<br><br>[...]<br>[ 56%] Building CXX object<br>
Graphics/CMakeFiles/vtkGraphics.dir/vtkYoungsMaterialInterface.cxx.obj<br>Embarcadero C++ 6.21 for Win32 Copyright (c) 1993-2009 Embarcadero<br>Technologies, Inc.<br>C:\Users\cwatzl\Projects\VTK\Graphics\vtkYoungsMaterialInterface.cxx:<br>
Error E2316 C:\Program Files (x86)\Embarcadero\RAD<br>Studio\7.0\Include\alloc.h 49: 'size_t' is not a member of 'std'<br>Error E2293 C:\Program Files (x86)\Embarcadero\RAD<br>Studio\7.0\Include\alloc.h 49: ) expected<br>
Error E2316 C:\Program Files (x86)\Embarcadero\RAD<br>Studio\7.0\Include\alloc.h 51: 'size_t' is not a member of 'std'<br>Error E2293 C:\Program Files (x86)\Embarcadero\RAD<br>Studio\7.0\Include\alloc.h 51: ) expected<br>
Error E2316 C:\Program Files (x86)\Embarcadero\RAD<br>Studio\7.0\Include\alloc.h 52: 'size_t' is not a member of 'std'<br>Error E2188 C:\Program Files (x86)\Embarcadero\RAD<br>Studio\7.0\Include\alloc.h 52: Expression syntax<br>
Error E2293 C:\Program Files (x86)\Embarcadero\RAD<br>Studio\7.0\Include\alloc.h 52: ) expected<br>Error E2316 C:\Program Files (x86)\Embarcadero\RAD<br>Studio\7.0\Include\malloc.h 46: 'size_t' is not a member of 'std'<br>
Error E2040 C:\Program Files (x86)\Embarcadero\RAD<br>Studio\7.0\Include\malloc.h 46: Declaration terminated incorrectly<br>Error E2316 C:\Program Files (x86)\Embarcadero\RAD<br>Studio\7.0\Include\malloc.h 58: 'size_t' is not a member of 'std'<br>
Error E2293 C:\Program Files (x86)\Embarcadero\RAD<br>Studio\7.0\Include\malloc.h 58: ) expected<br>Error E2316 C:\Program Files (x86)\Embarcadero\RAD<br>Studio\7.0\Include\malloc.h 59: 'size_t' is not a member of 'std'<br>
Error E2293 C:\Program Files (x86)\Embarcadero\RAD<br>Studio\7.0\Include\malloc.h 59: ) expected<br>Error E2316 C:\Program Files (x86)\Embarcadero\RAD<br>Studio\7.0\Include\malloc.h 68: 'size_t' is not a member of 'std'<br>
Error E2040 C:\Program Files (x86)\Embarcadero\RAD<br>Studio\7.0\Include\malloc.h 68: Declaration terminated incorrectly<br>Error E2316 C:\Program Files (x86)\Embarcadero\RAD<br>Studio\7.0\Include\malloc.h 69: 'size_t' is not a member of 'std'<br>
Error E2188 C:\Program Files (x86)\Embarcadero\RAD<br>Studio\7.0\Include\malloc.h 69: Expression syntax<br>Error E2293 C:\Program Files (x86)\Embarcadero\RAD<br>Studio\7.0\Include\malloc.h 69: ) expected<br>Error E2316 C:\Program Files (x86)\Embarcadero\RAD<br>
Studio\7.0\Include\malloc.h 75: 'size_t' is not a member of 'std'<br>Error E2188 C:\Program Files (x86)\Embarcadero\RAD<br>Studio\7.0\Include\malloc.h 75: Expression syntax<br>Error E2293 C:\Program Files (x86)\Embarcadero\RAD<br>
Studio\7.0\Include\malloc.h 75: ) expected<br>Error E2316 C:\Program Files (x86)\Embarcadero\RAD<br>Studio\7.0\Include\malloc.h 76: 'size_t' is not a member of 'std'<br>Error E2040 C:\Program Files (x86)\Embarcadero\RAD<br>
Studio\7.0\Include\malloc.h 76: Declaration terminated incorrectly<br>Error E2314<br>C:\Users\cwatzl\Projects\VTK\Graphics\vtkYoungsMaterialInterface.cxx 2533:<br>Call of nonfunction in function findTriangleSetCuttingPlane(const<br>
double3,const double,const int,const int,const uchar3 *,const double3 *)<br>Error E2314<br>C:\Users\cwatzl\Projects\VTK\Graphics\vtkYoungsMaterialInterface.cxx 2534:<br>Call of nonfunction in function findTriangleSetCuttingPlane(const<br>
double3,const double,const int,const int,const uchar3 *,const double3 *)<br>Error E2314<br>C:\Users\cwatzl\Projects\VTK\Graphics\vtkYoungsMaterialInterface.cxx 2535:<br>Call of nonfunction in function findTriangleSetCuttingPlane(const<br>
double3,const double,const int,const int,const uchar3 *,const double3 *)<br>Error E2314<br>C:\Users\cwatzl\Projects\VTK\Graphics\vtkYoungsMaterialInterface.cxx 2692:<br>Call of nonfunction in function findTriangleSetCuttingCone(const<br>
double2,const double,const int,const int,const uchar3 *,const double2 *)<br>Error E2314<br>C:\Users\cwatzl\Projects\VTK\Graphics\vtkYoungsMaterialInterface.cxx 2693:<br>Call of nonfunction in function findTriangleSetCuttingCone(const<br>
double2,const double,const int,const int,const uchar3 *,const double2 *)<br>Error E2314<br>C:\Users\cwatzl\Projects\VTK\Graphics\vtkYoungsMaterialInterface.cxx 2694:<br>Call of nonfunction in function findTriangleSetCuttingCone(const<br>
double2,const double,const int,const int,const uchar3 *,const double2 *)<br>Error E2015<br>C:\Users\cwatzl\Projects\VTK\Graphics\vtkYoungsMaterialInterface.cxx 2790:<br>Ambiguity between<br>'vtkYoungsMaterialInterfaceCellCutInternals::std::free(void *)' and<br>
'std::free(void *)' in function<br>vtkYoungsMaterialInterfaceCellCutInternals::findTriangleSetCuttingCone(const<br>vtkYoungsMaterialInterfaceCellCutInternals::double2,const double,const<br>int,const int,const vtkYoungsMaterialInterfaceCellCutInternals::uchar3<br>
*,const vtkYoungsMaterialInterfaceCellCutInternals::double2 *)<br>Error E2268<br>C:\Users\cwatzl\Projects\VTK\Graphics\vtkYoungsMaterialInterface.cxx 2790:<br>Call to undefined function 'free' in function<br>findTriangleSetCuttingCone(const double2,const double,const int,const<br>
int,const uchar3 *,const double2 *)<br>Error E2314<br>C:\Users\cwatzl\Projects\VTK\Graphics\vtkYoungsMaterialInterface.cxx 2889:<br>Call of nonfunction in function findTetraSetCuttingPlane(const double3,const<br>double,const int,const int,const uchar4 *,const double3 *)<br>
Error E2314<br>C:\Users\cwatzl\Projects\VTK\Graphics\vtkYoungsMaterialInterface.cxx 2890:<br>Call of nonfunction in function findTetraSetCuttingPlane(const double3,const<br>double,const int,const int,const uchar4 *,const double3 *)<br>
Error E2314<br>C:\Users\cwatzl\Projects\VTK\Graphics\vtkYoungsMaterialInterface.cxx 2891:<br>Call of nonfunction in function findTetraSetCuttingPlane(const double3,const<br>double,const int,const int,const uchar4 *,const double3 *)<br>
*** 34 errors in Compile ***<br><br>** error 2 ** deleting<br>Graphics\CMakeFiles\vtkGraphics.dir\vtkYoungsMaterialInterface.cxx.obj<br><br>** error 1 ** deleting Graphics\CMakeFiles\vtkGraphics.dir\all<br><br>** error 1 ** deleting all<br>
<br>--<br>View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Troubles-compiling-VTK-5-6-0-with-Borland-Embarcadero-C-compiler-tp2256733p2256733.html" target="_blank">http://vtk.1045678.n5.nabble.com/Troubles-compiling-VTK-5-6-0-with-Borland-Embarcadero-C-compiler-tp2256733p2256733.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>_______________________________________________<br>Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>Alessandro Martini<br><a href="mailto:alessandromartini@gmail.com" target="_blank">alessandromartini@gmail.com</a><br>-------------------------------------------------<br>
'Existem 10 tipos de pessoas no mundo:<br>aquelem que entendem binário, e aqueles que não!'<br></font></blockquote></div><br><br clear="all"><br>-- <br>Alessandro Martini<br><a href="mailto:alessandromartini@gmail.com" target="_blank">alessandromartini@gmail.com</a><br>
-------------------------------------------------<br>'Existem 10 tipos de pessoas no mundo:<br>aquelem que entendem binário, e aqueles que não!'<br></div></div></blockquote></div><br><br clear="all"><br>-- <br>Alessandro Martini<br>
<a href="mailto:alessandromartini@gmail.com" target="_blank">alessandromartini@gmail.com</a><br>-------------------------------------------------<br>'Existem 10 tipos de pessoas no mundo:<br>aquelem que entendem binário, e aqueles que não!'<br>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>
</div>