Compiling HAl component error
10 Dec 2010 20:39 #5965
by brianm
Compiling HAl component error was created by brianm
This is probably a stupid question. I am having problems compiling hal components. Anytime i do a #include <stdio.h> I get an error that stdio.h is now found. I have searched the internet and i have the libc-dev, the build-essentials installed and i still cannot get it to work.... Anybody have any ideas why this would be?
Please Log in or Create an account to join the conversation.
12 Dec 2010 23:44 #6000
by andypugh
Replied by andypugh on topic Re:Compiling HAl component error
I am not entirely sure that you can use stdio in a HAL module.
if you #include rtapi.h you then have access to the realtime-safe equivalents (rtapi_print, rtapi_print_msg, rtapi_snprintf)
if you #include rtapi.h you then have access to the realtime-safe equivalents (rtapi_print, rtapi_print_msg, rtapi_snprintf)
Please Log in or Create an account to join the conversation.
Time to create page: 0.057 seconds