Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionIf I use a library, do I need DLL file ? Pin
_Flaviu12-May-14 21:50
_Flaviu12-May-14 21:50 
AnswerRe: If I use a library, do I need DLL file ? PinPopular
«_Superman_»12-May-14 22:11
professional«_Superman_»12-May-14 22:11 
GeneralRe: If I use a library, do I need DLL file ? Pin
AssemToCode14-May-14 17:46
AssemToCode14-May-14 17:46 
AnswerRe: If I use a library, do I need DLL file ? Pin
Legor14-May-14 21:59
Legor14-May-14 21:59 
GeneralRe: If I use a library, do I need DLL file ? Pin
_Flaviu14-May-14 23:54
_Flaviu14-May-14 23:54 
GeneralRe: If I use a library, do I need DLL file ? Pin
Legor15-May-14 0:30
Legor15-May-14 0:30 
GeneralRe: If I use a library, do I need DLL file ? Pin
_Flaviu15-May-14 1:32
_Flaviu15-May-14 1:32 
GeneralRe: If I use a library, do I need DLL file ? Pin
Legor15-May-14 2:29
Legor15-May-14 2:29 
Yes in VTK version 6 the naming convention for the libraries was changed. It is now part of the lib name, that is why you have a vtkRenderingCore-6.1.lib instead of vtkRendering.lib. It seems those changes did not make it in the cmake files of the example you're trying to use. Anyway when using cmake you shouldnt care about the concrete names of the libs since this is handled by the cmake configuration. I can show you how I succesfully link VTK 6.1 to one of my projects:

# Try to automatically detect VTK. 
find_package(VTK REQUIRED COMPONENTS vtkIOGeometry vtkIOLegacy vtkFiltersCore)
if(VTK_FOUND)
	message(STATUS "Found package VTK. Using " ${VTK_USE_FILE})
    include(${VTK_USE_FILE})
else(VTK_FOUND)
    message(FATAL_ERROR "VTK not found. Please set VTK_DIR.")
endif(VTK_FOUND)

target_link_libraries(myTarget ${VTK_LIBRARIES})


In your place I would start trying to build a basic VTK project (Hello World etc.) at first to see if this works. If you got this you can start to add simple MFC functionality.

I did not use MFC with VTK myself so sadly I cannot share any experience about this combination.
GeneralRe: If I use a library, do I need DLL file ? Pin
_Flaviu15-May-14 4:01
_Flaviu15-May-14 4:01 
GeneralRe: If I use a library, do I need DLL file ? Pin
_Flaviu19-May-14 21:50
_Flaviu19-May-14 21:50 
GeneralRe: If I use a library, do I need DLL file ? Pin
Legor19-May-14 23:46
Legor19-May-14 23:46 
Questionwrite Series of this program 1+-3+5+-7+9+-11 in c++ Pin
Beiniam12-May-14 5:22
Beiniam12-May-14 5:22 
QuestionRe: write Series of this program 1+-3+5+-7+9+-11 in c++ Pin
jeron112-May-14 5:38
jeron112-May-14 5:38 
AnswerRe: write Series of this program 1+-3+5+-7+9+-11 in c++ Pin
«_Superman_»12-May-14 19:11
professional«_Superman_»12-May-14 19:11 
AnswerI can only point you in the right direction... Pin
Software_Developer12-May-14 23:42
Software_Developer12-May-14 23:42 
AnswerRe: write Series of this program 1+-3+5+-7+9+-11 in c++ Pin
C_Vivek Arya13-May-14 5:33
C_Vivek Arya13-May-14 5:33 
GeneralRe: write Series of this program 1+-3+5+-7+9+-11 in c++ Pin
CPallini13-May-14 5:52
mveCPallini13-May-14 5:52 
Questionhow to design the architecture? Pin
Falconapollo12-May-14 0:09
Falconapollo12-May-14 0:09 
AnswerRe: how to design the architecture? Pin
«_Superman_»12-May-14 1:05
professional«_Superman_»12-May-14 1:05 
GeneralRe: how to design the architecture? Pin
Falconapollo12-May-14 14:56
Falconapollo12-May-14 14:56 
GeneralRe: how to design the architecture? Pin
«_Superman_»12-May-14 19:34
professional«_Superman_»12-May-14 19:34 
GeneralRe: how to design the architecture? Pin
Falconapollo12-May-14 19:47
Falconapollo12-May-14 19:47 
GeneralRe: how to design the architecture? Pin
«_Superman_»12-May-14 19:59
professional«_Superman_»12-May-14 19:59 
GeneralRe: how to design the architecture? Pin
Falconapollo12-May-14 20:04
Falconapollo12-May-14 20:04 
QuestionPosition Of Taskbar in MFC Pin
Member 945167311-May-14 22:40
Member 945167311-May-14 22:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.