编译报错log如下,如何解决?
In file included from /home/msil/msil/workspace/lanfeiy/workSpace/projects/media/VoiceAssistant/src/VoiceAssistant.cpp:7:0:
/home/msil/msil/workspace/lanfeiy/workSpace/projects/media/VoiceAssistant/includes/VoiceAssistant.hpp:23:17: error: 'MediaTrackInfoExt' was not declared in this scope
std::vector<MediaTrackInfoExt> getMetadataForTrackIds(const int32_t, std::vector<uint64_t>);
^
/home/msil/msil/workspace/lanfeiy/workSpace/projects/media/VoiceAssistant/includes/VoiceAssistant.hpp:23:17: note: suggested alternative:
In file included from /home/msil/msil/workspace/lanfeiy/workSpace/projects/media/VoiceAssistant/includes/VoiceAssistant.hpp:10:0,
from /home/msil/msil/workspace/lanfeiy/workSpace/projects/media/VoiceAssistant/src/VoiceAssistant.cpp:7:
/home/msil/msil/workspace/lanfeiy/workSpace/projects/common-api/pub/MediaFramework/MediaTypes.hpp:349:20: note: 'com::clarion::media::MediaTrackInfoExt'
struct MediaTrackInfoExt
^
In file included from /home/msil/msil/workspace/lanfeiy/workSpace/projects/media/VoiceAssistant/src/VoiceAssistant.cpp:7:0:
/home/msil/msil/workspace/lanfeiy/workSpace/projects/media/VoiceAssistant/includes/VoiceAssistant.hpp:23:34: error: template argument 1 is invalid
std::vector<MediaTrackInfoExt> getMetadataForTrackIds(const int32_t, std::vector<uint64_t>);
^
/home/msil/msil/workspace/lanfeiy/workSpace/projects/media/VoiceAssistant/includes/VoiceAssistant.hpp:23:34: error: template argument 2 is invalid
/home/msil/msil/workspace/lanfeiy/workSpace/projects/media/VoiceAssistant/src/VoiceAssistant.cpp:29:13: error: 'MediaTrackInfoExt' was not declared in this scope
std::vector<MediaTrackInfoExt> VoiceAssistant::getMetadataForTrackIds(const int32_t, std::vector<uint64_t>)
^
/home/msil/msil/workspace/lanfeiy/workSpace/projects/media/VoiceAssistant/src/VoiceAssistant.cpp:29:13: note: suggested alternative:
In file included from /home/msil/msil/workspace/lanfeiy/workSpace/projects/media/VoiceAssistant/includes/VoiceAssistant.hpp:10:0,
from /home/msil/msil/workspace/lanfeiy/workSpace/projects/media/VoiceAssistant/src/VoiceAssistant.cpp:7:
/home/msil/msil/workspace/lanfeiy/workSpace/projects/common-api/pub/MediaFramework/MediaTypes.hpp:349:20: note: 'com::clarion::media::MediaTrackInfoExt'
struct MediaTrackInfoExt
^
/home/msil/msil/workspace/lanfeiy/workSpace/projects/media/VoiceAssistant/src/VoiceAssistant.cpp:29:30: error: template argument 1 is invalid
std::vector<MediaTrackInfoExt> VoiceAssistant::getMetadataForTrackIds(const int32_t, std::vector<uint64_t>)
^
/home/msil/msil/workspace/lanfeiy/workSpace/projects/media/VoiceAssistant/src/VoiceAssistant.cpp:29:30: error: template argument 2 is invalid
VoiceAssistant/CMakeFiles/VoiceAssistant.dir/build.make:62: recipe for target 'VoiceAssistant/CMakeFiles/VoiceAssistant.dir/src/VoiceAssistant.cpp.o' failed
make[2]: *** [VoiceAssistant/CMakeFiles/VoiceAssistant.dir/src/VoiceAssistant.cpp.o] Error 1
CMakeFiles/Makefile2:906: recipe for target 'VoiceAssistant/CMakeFiles/VoiceAssistant.dir/all' failed
make[1]: *** [VoiceAssistant/CMakeFiles/VoiceAssistant.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2