Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.

Commit 14247c2

Browse files
author
Jérome ROYAN
committed
Fix issue for DLLEXPORT in Cuda mode
1 parent 869a0a1 commit 14247c2

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

SolARModuleFBOW.pri

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
HEADERS += ../interfaces/SolARFBOWAPI.h \
2-
../interfaces/SolARFBOWHelper.h \
3-
../interfaces/SolARModuleFBOW_traits.h \
4-
../interfaces/SolARKeyframeRetrieverFBOW.h
1+
HEADERS += $$PWD/interfaces/SolARFBOWAPI.h \
2+
$$PWD/interfaces/SolARFBOWHelper.h \
3+
$$PWD/interfaces/SolARModuleFBOW_traits.h \
4+
$$PWD/interfaces/SolARKeyframeRetrieverFBOW.h
55

6-
SOURCES += ../src/SolARModuleFBOW.cpp \
7-
../src/SolARFBOWHelper.cpp \
8-
../src/SolARKeyframeRetrieverFBOW.cpp
6+
SOURCES += $$PWD/src/SolARModuleFBOW.cpp \
7+
$$PWD/src/SolARFBOWHelper.cpp \
8+
$$PWD/src/SolARKeyframeRetrieverFBOW.cpp
99

SolARModuleFBOWCuda/SolARModuleFBOWCuda.pro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ QMAKE_PROJECT_DEPTH = 0
77
## global defintions : target lib name, version
88
INSTALLSUBDIR = SolARBuild
99
TARGET = SolARModuleFBOWCuda
10-
1110
FRAMEWORK = $$TARGET
1211
VERSION=0.11.0
1312

interfaces/SolARFBOWAPI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#define SOLAR_FBOW_API_H
1919

2020
#if _WIN32
21-
#ifdef SolARModuleFBOW_API_DLLEXPORT
21+
#if defined(SolARModuleFBOW_API_DLLEXPORT) || defined(SolARModuleFBOWCuda_API_DLLEXPORT)
2222
#define SOLARFBOW_EXPORT_API __declspec(dllexport)
2323
#else //SOLARFBOW_API_DLLEXPORT
2424
#define SOLARFBOW_EXPORT_API __declspec(dllimport)

0 commit comments

Comments
 (0)