[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Porting 2.1.2 to Atmel Studio 7... dirent.h?
From: |
goldsimon |
Subject: |
Re: [lwip-users] Porting 2.1.2 to Atmel Studio 7... dirent.h? |
Date: |
Fri, 08 Feb 2019 21:22:01 +0100 |
User-agent: |
K-9 Mail for Android |
Am 8. Februar 2019 20:18:23 MEZ schrieb Stephen Cowell <address@hidden>:
>
>On 2/7/2019 11:39 PM, goldsimon wrote:
>> Am 8. Februar 2019 00:27:58 MEZ schrieb Stephen Cowell
>> <address@hidden>:
>> ...
>
>> > Does everyone have to go through and edit
>> >the
>> >header file includes to reflect the new structure? I can't see why
>> >this
>> >is not fixed in the release.
>>
>> That should not be required. Can you give an example?
>>
>
>In my example, I have replaced the lwIP folder lwip-1.4.1 with
>lwip-2.1.2 as I received it.
>
>OK... I'm compiling along, and I get this error:
>
>"Error lwip/apps/lwiperf.h: No such file or directory "
>
>This request lies in lwiperf.c, which resides in
>
>lwip/lwip-2.1.2/src/apps/lwiperf
>
>. The file it wants resides in
>
>lwip/lwip-2.1.2/src/include/lwip/apps
>
>. Every instance of this (there are dozens) requires me to change the
>header include from
>
>#include "lwip/apps/lwiperf.h"
>
>to
>
>#include "../../include/lwip/apps/lwiperf.h"
>
>Am I doing something wrong?
Yes, obviously. You need to add 'include' to your include path.
Regards,
Simon