Jump to content
OMRON Forums

Omar

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Omar's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter

Recent Badges

0

Reputation

  1. Thank you so much MoMo, yes that works. But since I am trying to utilize custom servo routines, is there a way around that, by somehow utilizing C libraries, and simultaneously having files inside "Realtime Routines" folder (which I assume is the only way to utilize custom servo routines)? Cheers
  2. Hello there, I created an empty project on the Power PMAC IDE, and created a .c file and .h file inside the C Language/Realtime Routines folder. Here is what my file structure looks like Everything is just the default from creating an empty project, except the cappheader1.c and cappheader1.h files. my cappheader1.h file looks like this: #include "../Include/pp_proj.h" #include <stdio.h> #include <float.h> #include <signal.h> #include <stdlib.h> #include <string.h> #include <math.h> and my cappheader1.c file looks like this: #define _PPScriptMode_ #define _PP_PROJ_HDR_ #include "../Include/pp_proj.h" #include "cappheader1.h" When I build, I get this error: And a similar error happens with string.h and math.h, depending on which is being included first, but not with stdio.h, float.h or signal.h. There might be other libraries that might or might not build in this scenario, but these are just the libraries I have tried. Why does this error happen? And what do I do if I need to include those libraries in my project? Thanks in advance for your help!!
×
×
  • Create New...