codegen: use -package option error?
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
cui,xingxing
el 26 de Oct. de 2022
Editada: cui,xingxing
el 25 de Jul. de 2023
When I use the codegen command line for code generation, I get the following error unexpectedly, which I guess is that the matlab built-in function detectORBFeatures calls the OpenCV source code???
inputsArgs = {'-config','cfg',...
'myEntryFcn','-args',{in1,in2},...
'-package','src.zip',...
'-report'};
codegen(inputsArgs{:});
report following bug:
The following files have the same file name which cannot be packaged together in a flat hierarchy:
C:\Program Files\MATLAB\R2022b\toolbox\vision\builtins\src\ocvcg\opencv\include\opencv2\stitching\detail\warpers.hpp
C:\Program Files\MATLAB\R2022b\toolbox\vision\builtins\src\ocvcg\opencv\include\\opencv2\stitching\warpers.hpp
Use help codegen for more information on using this command.
Error using codegen
Run in R2022b.
12 comentarios
Ujwal Durgam
el 25 de Jul. de 2023
-package runs packNGo on the generated code to package all files in a flat hierarchy. In this case, the opencv headers cannot be packed in flat hierarchy as clearly mentioned in the error message.
Respuesta aceptada
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!