Hello!
I made a CMakeLists for the basic plugin example from openfx repository. I compiled it with Visual Studio 2015 and it works, but when I compile it with MINGW it does not work
github.com/ofxa/openfx/tree/master/Documentation/sources/Guide/Code/Example1/basics.cpp
Basically the Cmakelists code look like this:
- Code: Select all
project(OpenFX_Plugin)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(OS_VAR "windows")
set(OFX_ARCH_NAME "Win64")
add_definitions(-DWIN64)
set(OPENFX_DIR ./openfx)
include_directories(${OPENFX_DIR}/include)
set(OPENFX_PLUGIN_DIR ./OpenFX_Plugin)
include_directories(${OPENFX_PLUGIN_DIR})
file(GLOB SRC_LIST ${SRC_LIST} ${OPENFX_PLUGIN_DIR}/basics.cpp)
add_library(${PROJECT_NAME} SHARED ${SRC_LIST} ${HEADER_LIST})
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
set_target_properties(${PROJECT_NAME} PROPERTIES SUFFIX ".ofx")
set(CMAKE_INSTALL_PREFIX ${CMAKE_SOURCE_DIR}/${OS_VAR}/${CMAKE_BUILD_TYPE})
install(
TARGETS ${PROJECT_NAME}
RUNTIME DESTINATION ${PROJECT_NAME}.ofx.bundle/Contents/${OFX_ARCH_NAME}
LIBRARY DESTINATION ${PROJECT_NAME}.ofx.bundle/Contents/${OFX_ARCH_NAME}
)
Am I missing something?
Davinci resolve supports plugins compiled with mingw?
Is there another place where I could ask?