In order to link to external libraries or files in CAA RADE you need to write the following code at the bottom of your Imakefile:
#Link with external libraries
LOCAL_LDFLAGS = /LIBPATH:" DirectoryWhere LibrariesAreStored"
#Name of the Librarires
SYS_LIBS = YourLibraryName.lib.
#Link with include files
LOCAL_CCFLAGS = /I" DirectoryWhere LibrariesTHeIncludeFilesAreStored"
You will need to put the DLL files in the intel_a/code/bin folder of your workspace
//设置示例
#Link with external libraries
LOCAL_LDFLAGS = /LIBPATH:"$(WSROOT)\HFLicense\Library"
#if os intel_a
SYS_LIBS = HsDogDll.lib
#elif os win_b64
SYS_LIBS = HsDogDll_x64.lib
#endif
#Link with include files
LOCAL_CCFLAGS = /I $(WSROOT)\HFLicense\Include
CAA加载Dll
最新推荐文章于 2022-09-23 17:28:33 发布