Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error #1

Open
02350316 opened this issue Oct 29, 2021 · 0 comments
Open

build error #1

02350316 opened this issue Oct 29, 2021 · 0 comments

Comments

@02350316
Copy link

02350316 commented Oct 29, 2021

1,change;
lantianyu@jf-pc:~/work/github/stm32h743-atk-apollo-lwip$ git diff .
diff --git a/rtconfig.py b/rtconfig.py
index ef6708f..3f6f823 100644
--- a/rtconfig.py
+++ b/rtconfig.py
@@ -17,7 +17,8 @@ if os.getenv('RTT_ROOT'):

EXEC_PATH is the compiler execute path, for example, CodeSourcery, Keil MDK, IAR

if CROSS_TOOL == 'gcc':
PLATFORM = 'gcc'

  • EXEC_PATH = r'C:\Users\XXYYZZ'
  • #EXEC_PATH = r'C:\Users\XXYYZZ'
  • EXEC_PATH = r'/opt/gcc-arm-none-eabi-5_4-2016q3/bin/'
    elif CROSS_TOOL == 'keil':
    PLATFORM = 'armcc'
    EXEC_PATH = r'C:/Keil_v5'

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2,error;
lantianyu@jf-pc:/work/github/stm32h743-atk-apollo-lwip$ scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build
CC build/applications/main.o
applications/main.c:14:24: fatal error: lwip/netif.h: No such file or directory
compilation terminated.
scons: *** [build/applications/main.o] Error 1
scons: building terminated because of errors.
lantianyu@jf-pc:
/work/github/stm32h743-atk-apollo-lwip$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant