llvm-ld: error: Cannot link file 'HostLib_Audio.obj'

1 view (last 30 days)
This error appears when building a model containing audio device using real-time windows target.
How can I act when such an error appears??
### Created Real-Time Windows Target module untitled.rxw64
C:/PROGRA~1/MATLAB/R2013a/toolbox/rtw/targets/rtwin/llvm/bin/llvm-ld \
-b untitled.bc \
-o untitled.tmp \
untitled.obj HostLib_Audio.obj HostLib_rtw.obj rtGetInf.obj rtGetNaN.obj rt_nonfinite.obj untitled_data.obj rtwin_main.obj rt_sim.obj ext_svr.obj updown_rtwin.obj \
\
C:/PROGRA~1/MATLAB/R2013a/toolbox/rtw/targets/rtwin/lib/win64/imports.obj \
C:/PROGRA~1/MATLAB/R2013a/toolbox/rtw/targets/rtwin/lib/win64/rtwinmod.lib
llvm-ld: error: Cannot link file 'HostLib_Audio.obj': Linking globals named '_InterlockedAdd': symbol multiply defined!
gmake: *** [../untitled.rxw64] Error 1
### Build procedure for model: 'untitled' aborted due to an error.

Answers (0)

Categories

Find more on Real-Time Simulation and Testing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!