[vtkusers] Missing <vtkstd/string>
N David Brown
hubdave at gmail.com
Tue Sep 6 20:30:24 EDT 2011
*Solved *- I had to include my build tree.
*Details*: In CMake the path you specify in field "Where to build the
binaries:" should be an include. In Visual Studio 2008 this goes in *(Project
Properties) -> C/C++ -> General -> Additional Include Directories*
On 7 September 2011 01:12, N David Brown <hubdave at gmail.com> wrote:
> Thanks David, but I've compiled earlier versions of VTK and included them
> in my project without having to do anything manual.
>
> Anyone else know what's going wrong?
>
>
>
> On 7 September 2011 01:10, David Doria <daviddoria at gmail.com> wrote:
>
>> On Tue, Sep 6, 2011 at 8:05 PM, N David Brown <hubdave at gmail.com> wrote:
>> > Yes. The only flags I changed were
>> >
>> > BUILD_SHARED_LIBS => Yes
>> > VTK_DATA_PATH => (the right path)
>>
>> I believe that is the CMake for VTK itself right? I'm saying that you
>> have to use CMake to create your actual project as well. For example,
>> every example on the wiki has an accompanying CMakeLists.txt file:
>>
>>
>> http://www.vtk.org/Wiki/VTK/Examples/Cxx/SimpleOperations/DistancePointToLine
>>
>> You would need something like that for your project to tell it to find
>> and use VTK properly.
>>
>> David
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110907/851776ce/attachment.htm>
More information about the vtkusers
mailing list