Forum Discussion

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

NIOS II 5.0 and new format of .cdtbuild ?

Hi everybody,

I try to recompile LWIP Standalone v0.7.1 with the new NIOS II v5.0 IDE and

when I try to open the template (file -> new project -> new C++ application),

the assitant send to me an error message that the new IDE doesn't know

the format of the .cdtbuild file in the LWIP template.

Do you have any suggestion about this problem ?

Thanks,

Etienne

1 Reply

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

    Hi,

    I had too had this problem and found this in a lwip readme.txt:

    .cdtbuild: Eclipse plugin default build file. Normally generated, but

    included here to provide the default compiler include PATHs. If the

    example will not build with this file, remove it, and add the following

    "Include Paths" to the nios-elf-gcc general configuration options (available

    in the "Properties" of the sample project):

    ../lwip-0.7.1/src/include

    ../lwip-0.7.1/src/include/ipv4

    ../lwip4hal/include

    ../apps

    Deleting .cdtbuild from altera\kits\nios2\examples\software\lwip_web_server\ seems to do the trick.

    Regards,

    Aidan