none
how to include a header file from %_WINCEROOT%\Platform\Common\Src\Arm\Common RRS feed

  • Question

  • Hi,

    I want to include the following header file: %_WINCEROOT%\Platform\Common\Src\Arm\Common\Vfp\vfpsupport.h to one of my source fles in oallib.

    When I try to use #include <vfpsupport.h> it complains that there is no such file (I don't know where to specify the path to this file). If I try to include the whole path it complains that it cannot find VfpOemInit, which is in this header file. Any ideas how to resolve this issue?

    Thanks

    Tuesday, September 6, 2011 2:19 PM

Answers

  • I think your syntax is wrong. Try $(...) instead of %%.
    • Marked as answer by Jker Wednesday, September 7, 2011 9:19 AM
    Wednesday, September 7, 2011 9:07 AM

All replies

  • Hi,

    add the include path to the sources file of oallib.

    INCLUDES= \
        $(INCLUDES); \
        $(_WINCEROOT)\Platform\Common\Src\Arm\Common\Vfp\;

    Best regards,

    Andreas

    Tuesday, September 6, 2011 2:30 PM
  • It helped to include vfpsupport.h. But it still complains about unresolved external symbol VfpOemInit. I have included the following sections in the sources file:


    TARGETLIBS= \
        $(SG_OUTPUT_ROOT)\sdk\lib\$(_CPUINDPATH)\coredll.lib \
        $(SG_OUTPUT_ROOT)\sdk\lib\$(_CPUINDPATH)\CEDDK.lib \
        %_OSDESIGNROOT%\%_TGTPLAT%_%TGTCPU%\platcomm\%_TGTPLAT%\lib\%_TGTCPU%\oal_vfp_arm.lib \


    # Add public include paths

    INCLUDES = \

    $(INCLUDES);\

    $(_WINCEROOT)\public\common\oak\inc;\

    $(_WINCEROOT)\public\common\sdk\inc;\

    $(_WINCEROOT)\platform\common\src\ARM\COMMON\vfp\;

     

    Any ideas what is wrong here?

    Thanks

    Wednesday, September 7, 2011 8:59 AM
  • I think your syntax is wrong. Try $(...) instead of %%.
    • Marked as answer by Jker Wednesday, September 7, 2011 9:19 AM
    Wednesday, September 7, 2011 9:07 AM