Click here to Skip to main content
15,892,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CFile Error When Writing Pin
Jonathan Davies14-May-14 7:42
Jonathan Davies14-May-14 7:42 
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 
Regor, kindly thank you. I am trying to compile their SampleMFC project, that has following CMakeList.txt:
C++
cmake_minimum_required(VERSION 2.8)
PROJECT(Win32SampleMFC)
FIND_PACKAGE(VTK)
IF(NOT VTK_DIR)
  MESSAGE(FATAL_ERROR "Please set VTK_DIR.")
ENDIF(NOT VTK_DIR)
INCLUDE(${VTK_USE_FILE})
# This VTK_DIR usage only works in the VTK build tree...
# Make it work in the "make install" tree, too.
#
INCLUDE("${VTK_DIR}/GUISupport/MFC/VTKMFCSettings.cmake")
IF(VTK_MFC_DELAYLOAD_VTK_DLLS)
  VTK_MFC_ADD_DELAYLOAD_FLAGS(CMAKE_EXE_LINKER_FLAGS
    vtkRendering.dll
    vtkIO.dll
    vtkFiltering.dll
    vtkCommon.dll
    )
ENDIF(VTK_MFC_DELAYLOAD_VTK_DLLS)
SET(SRCS
ChildFrm.cpp
MainFrm.cpp
Sample.cpp
Sample.rc
SampleDoc.cpp
SampleView.cpp
StdAfx.cpp
vtkMFCDocument.cpp
vtkMFCRenderView.cpp
vtkMFCView.cpp
res/Sample.rc2
)
ADD_EXECUTABLE(Win32SampleMFC WIN32 ${SRCS})
IF(VTK_MFC_EXTRA_LIBS)
  TARGET_LINK_LIBRARIES(Win32SampleMFC ${VTK_MFC_EXTRA_LIBS})
ENDIF(VTK_MFC_EXTRA_LIBS)
TARGET_LINK_LIBRARIES(Win32SampleMFC vtkRendering)

well, in VTK, version 6, I didn't have
<br />
   vtkRendering.dll<br />
    vtkIO.dll<br />
    vtkFiltering.dll<br />
    vtkCommon.dll<br />

and I don't know how to adapt CMakeList.txt in order to compile the project ...
and I got linking error:
fatal error LNK1104: cannot open file 'vtkRendering.lib'

Also, I didn't have any vtkRendering.lib, just vtkRenderingCore-6.1.lib
Any help that you give, will be very appreciated !
GeneralRe: If I use a library, do I need DLL file ? Pin
Legor15-May-14 2:29
Legor15-May-14 2:29 
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 

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.