Conversion error when using ai_network_create(&network, AI_NETWORK_DATA_CONFIG) function
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-06-06 4:08 AM
Hello, I meet an error when I try to use the function ai_network_create() as the format of tutorial,
The error report is:
invalid conversion from 'ai_handle {aka void*}' to ‘const ai_buffer*{aka const ai_buffer_*}’
However, I see every one use such function to initialize a instance for network, so how can I fix the problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-08-18 3:49 AM
Hello, i get the same error und i have no idea about it. Did you solved this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-09-15 12:16 AM
Hello,
Can you add more details about the used tool-chain?
For STM32, the generated Ai_NETWORK_DATA_CONFIG is always NULL. Instead to use the generated define, you can call the function with "NULL" as second parameter.
br,
jm
