Jump to content
OMRON Forums

macs

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by macs

  1. Hi all,

     

    I know that I can access global variables that I defined in 'global definitions.pmh' by pshm->P[variableName] in C, but this doesn't work for global array by pshm->P[arrayName(index)]. I know there must be a way to access them, please is there are somebody can tell me?

     

    Thank you!

  2. Hi,

     

    When I was trying to build and download a project that contains only codes files that are generated by Simulink-Power PMAC Interface, the error messages appeared:

     

    C:\Users\admin\AppData\Local\Temp\alvvhkv0.u5w\Temp\PowerPmac7.ppproj(0,0): Error : make: *** /opt/powerpc-465-rootfs/usr/src/linux-3.2.21-serengeti-smp: No such file or directory. Stop.

     

    Actually I can build the same project without error messages at another computer which is not connected to a PPMAC. And I also tired to reinstall the PPMAC IDE, when I first ran it in 'No Device' Mode, I could successfully build it. But after I connected to the PPMAC, I can't build it again anymore, even in offline mode.

     

    Here are the error messages appeared when I build the same project in offline (No device) Mode:

    C:\Users\admin\AppData\Local\Temp\alvvhkv0.u5w\Temp\PowerPmac7.ppproj(0,0): Error : /usr/local/dtlibs/libppmac/libppmac.so: undefined reference to `__wrap_printf'

    C:\Users\admin\AppData\Local\Temp\alvvhkv0.u5w\Temp\PowerPmac7.ppproj(0,0): Error : /usr/local/dtlibs/libppmac/libppmac.so: undefined reference to `__wrap_fwrite'

    C:\Users\admin\AppData\Local\Temp\alvvhkv0.u5w\Temp\PowerPmac7.ppproj(0,0): Error : /usr/local/dtlibs/libppmac/libppmac.so: undefined reference to `__wrap_fprintf'

    C:\Users\admin\AppData\Local\Temp\alvvhkv0.u5w\Temp\PowerPmac7.ppproj(0,0): Error : /usr/local/dtlibs/libppmac/libppmac.so: undefined reference to `__wrap_puts'

    C:\Users\admin\AppData\Local\Temp\alvvhkv0.u5w\Temp\PowerPmac7.ppproj(0,0): Error : /usr/local/dtlibs/libppmac/libppmac.so: undefined reference to `__wrap_free'

    C:\Users\admin\AppData\Local\Temp\alvvhkv0.u5w\Temp\PowerPmac7.ppproj(0,0): Error : /usr/local/dtlibs/libppmac/libppmac.so: undefined reference to `__wrap_fputs'

    C:\Users\admin\AppData\Local\Temp\alvvhkv0.u5w\Temp\PowerPmac7.ppproj(0,0): Error : collect2: ld returned 1 exit status

     

    Could somebody help me, please?

×
×
  • Create New...