Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

__ucosii__ not defined

Hello Guru's,

I need to create a library project using the NIOS2 IDE. I started by creating a new project and selected the Altera NIOS II -> Managed Library Project. Added a dependency to the syslib. However when I build the library, it seems that __ucosii__ is not defined (the same code was previously part of an application but must be separated into a lib now). Is this define not set by default for library projects or am I missing something else?

Regards,

/M.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by bokkie@Jan 10 2007, 05:09 AM

    hello guru's,

    i need to create a library project using the nios2 ide. i started by creating a new project and selected the altera nios ii -> managed library project. added a dependency to the syslib. however when i build the library, it seems that __ucosii__ is not defined (the same code was previously part of an application but must be separated into a lib now). is this define not set by default for library projects or am i missing something else?

    regards,

    /m.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=20467)

    --- quote end ---

    --- Quote End ---

    M.

    When you create the New System Library you have a choice at that time select MicroCOSII.

    BTW - Use File->New->Project then select Altera NiosII->NiosII System Library

    Mike