Undefined reference when recreating Integrating GPU Coder into Simulink example
古いコメントを表示
I am attemping to recreate the Integrating GPU Coder™ into Simulink® example and getting an error when running my Simulink model.
I have run through the example and it works fine.
When I create my own Simulink model (as identical as possible to that of the example) and attemp to call the DLL created with GPU Coder, I get the error "undefined reference to sobelEdge".
It appears that the code generation is sucessful, but the final linking stage fails as it does not find the library.
I have attached the sobelEdge example which does run, plus my Simulink model Test.slx, which does not run.
I have attempted to compare the Simulink models, and I canot see any differences in the model design or configuration.
What am I missing?
Is there some hidden model configuration option that points the model at the library which I have not set?
1 件のコメント
Matthew Cattle
2019 年 10 月 24 日
I was pointed to this bug report which gives a working solution:
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Simulink Coder についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!