[vtkusers] make errors

Kenneth Sloan kennethrsloan at gmail.com
Fri Jan 5 10:07:42 EST 2007


On Jan 5, 2007, at 7:56 AM, Glen Lehmann wrote:

> Hello Kenneth,
>
> What versions of VTK and CMake are you using?

vtk 5.0.2 (from CD included in the 4th edition)
cmake version 2.4-patch 5

I'll be very happy to download new, improved versions, if it will help.

>
> You can start by comparing the settings in your vtk-bin/CMakeCache.txt
> files to one of the Mac VTK dashboards that build Java:
>
> http://www.vtk.org/Testing/Dashboard/MostRecentResults-Nightly/ 
> Dashboard.html
>
> You can click on the build notes (immediately after the Build Name)
> for midworld.kitware, the RogueResearchPPC carbon build, or either of
> the stout.atamai builds.
>

You lost me - the format of vtk-bin/CMakeCache.txt is very different  
from what I see at (say) the RogeResearchPPC carbon build.

The problem seems to be the lack of a "-I" directive  to point the  
compiler at vtk/Common/vtkSystemIncludes.h.  Can you be more specific  
about what I should be looking for in CmakeCache.txt?

And, of course, how I can convince cmake to insert the "-I..."

Thanks very much for your help.


> HTH,
>
> Glen
>
> On 04/01/07, Kenneth Sloan <kennethrsloan at gmail.com> wrote:
>> Mac Book Pro, Mac OS X 10.4.8, mostly stock, out of the box.
>>
>> cmake ran without incident
>>
>> make generated errors:
>> =====================================================================
>> [ 53%] Java Wrappings
>> Scanning dependencies of target vtkIOJava
>> [ 53%] Building CXX object IO/CMakeFiles/vtkIOJava.dir/
>> vtkAVSucdReaderJava.o
>> /Users/kennethsloan/vtk-bin/IO/vtkAVSucdReaderJava.cxx:5:31: error:
>> vtkSystemIncludes.h: No such file or directory
>> /Users/kennethsloan/vtk-bin/IO/vtkAVSucdReaderJava.cxx:6:29: error:
>> vtkAVSucdReader.h: No such file or directory
>> ...and so on...
>> /Users/kennethsloan/vtk-bin/IO/vtkAVSucdReaderJava.cxx:345: error:
>> expected constructor, destructor, or type conversion before 'void'
>> make[2]: *** [IO/CMakeFiles/vtkIOJava.dir/vtkAVSucdReaderJava.o]  
>> Error 1
>> make[1]: *** [IO/CMakeFiles/vtkIOJava.dir/all] Error 2
>> make: *** [all] Error 2
>> =====================================================================
>>
>> Can I please rent a clue?
>>
>> I'm not completely sure that my subscription to vtkusers has taken
>> effect - so a copy to <KennethRSloan at gmail.com> would be nice.
>>
>> Pointers to CommonErrorsExplained gratefully accepted.
>>
>> --
>> Kenneth Sloan
>> KennethRSloan at gmail.com
>> Computer and Information Sciences                         
>> +1-205-934-2213
>> University of Alabama at Birmingham              FAX +1-205-934-5473
>> Birmingham, AL 35294-1170                http://www.cis.uab.edu/ 
>> sloan/
>>
>>
>> _______________________________________________
>> This is the private VTK discussion list.
>> Please keep messages on-topic. Check the FAQ at: http:// 
>> www.vtk.org/Wiki/VTK_FAQ
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>

--
Kenneth Sloan                                           
KennethRSloan at gmail.com
Computer and Information Sciences                        +1-205-934-2213
University of Alabama at Birmingham              FAX +1-205-934-5473
Birmingham, AL 35294-1170                http://www.cis.uab.edu/sloan/





More information about the vtkusers mailing list