[vtkusers] R: Re: Help Me!! vtk compile error!!
ale.nonis at libero.it
ale.nonis at libero.it
Mon Mar 30 10:29:56 EDT 2015
Hi,i modified my CMakeList, and now is:
cmake_minimum_required(VERSION 2.8)project(Cleaner)# Include the directory itself as a path to include directoriesset(CMAKE_INCLUDE_CURRENT_DIR ON)include_directories (${beauty_SOURCE_DIR}/cgvgvtklib ${beauty_SOURCE_DIR}/facelib)link_directories ( ${beauty_BINARY_DIR}/cgvgvtklib ${beauty_BINARY_DIRS}/facelib)
# For a large number of source files you can create it in a simpler way# using file() function:#file(GLOB ptsetter_SOURCES *.cxx)
# Create an executable file called helloworld from sources:add_executable(Cleaner cleaner.cxx)
TARGET_LINK_LIBRARIES(Cleaner ${VTK_LIBRARIES})
TARGET_LINK_LIBRARIES(Cleaner vtkHybrid cgvgvtklib)
But the results it's always the same.
Thank you.Alessandro
----Messaggio originale----
Da: dave.demarle at kitware.com
Data: 20/03/2015 13.14
A: "John Drescher"<drescherjm at gmail.com>
Cc: "ale.nonis at libero.it"<ale.nonis at libero.it>, "vtkusers at vtk.org"<vtkusers at vtk.org>
Ogg: Re: [vtkusers] Help Me!! vtk compile error!!
Adding to John and Jon's good advice, also read:http://www.vtk.org/Wiki/VTK/Build_System_MigrationFor some of the details of using 6.x as compared to 5.x.
On Friday, March 20, 2015, John Drescher <drescherjm at gmail.com> wrote:
> Ok thanks i try later.
> However with VTK5.6 the project works but with my VTK6 there are this
> problems.
>
That is expected since their are more libraries with vtk6.
John
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Search the list archives at: http://markmail.org/search/?q=vtkusers
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
--
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150330/50f66f77/attachment.html>
More information about the vtkusers
mailing list