[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] How to build LWIP test on linux
From: |
address@hidden |
Subject: |
Re: [lwip-users] How to build LWIP test on linux |
Date: |
Sun, 15 Mar 2020 22:05:57 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
Am 15.03.2020 um 17:26 schrieb Sachin Gole:
>
> Using lwip-2.1.2 version, below steps doesn't get compiled with these steps.
OK, so it seems I'm in a good mood today, so...
What in my mail from 2 days ago have you missed?
You complained about not finding a 'dev' directory in lwIP but haven't
tried to remove the first parts of the path to find a match? Thats funny.
Anyway, let me repeat what I wrote back then, but remove the
'dev/lwip/lwip' part at the start...
My bash history:
cd contrib/ports/unix/check/
ls
mkdir build
cd build/
cmake ..
cmake --build .
./lwip_unittests
Does that work for you?
>
> rajgad:~/Downloads/lwip-2.1.2$ ls
> CHANGELOG CMakeLists.txt COPYING doc FEATURES FILES README src
> test UPGRADING
> rajgad:~/Downloads/lwip-2.1.2$ mkdir build
> rajgad:~/Downloads/lwip-2.1.2$ cd build/
> rajgad:~/Downloads/lwip-2.1.2/build$ cmake ../CMakeLists.txt
make that 'cmake ..', not 'cmake ../CMakeLists.txt'
> -DCMAKE_C_COMPILER="/usr/bin/gcc" -DCMAKE_CXX_COMPILER="/usr/bin/g++"
> -- The C compiler identification is GNU 5.4.0
> -- The CXX compiler identification is GNU 5.4.0
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc - works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler: /usr/bin/g++
> -- Check for working CXX compiler: /usr/bin/g++ - works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Found Doxygen: /usr/bin/doxygen (found version "1.8.11") found
> components: doxygen missing components: dot
> Doxygen build started
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /home/sachin/Downloads/lwip-2.1.2
> rajgad:~/Downloads/lwip-2.1.2/build$
> rajgad:~/Downloads/lwip-2.1.2/build$ ls
Nothing here. You've missed the '--build' phase. Cmake without '--build'
creates the build infrastructure but does not compile anything.
> rajgad:~/Downloads/lwip-2.1.2/build$ cd ..
> rajgad:~/Downloads/lwip-2.1.2$ ls
> build CMakeCache.txt CMakeDoxygenDefaults.cmake
> cmake_install.cmake COPYING CPackSourceConfig.cmake
> FEATURES Makefile src UPGRADING
> CHANGELOG CMakeDoxyfile.in CMakeFiles CMakeLists.txt
> CPackConfig.cmake doc FILES README test
> rajgad:~/Downloads/lwip-2.1.2$ cmake --build .
> rajgad:~/Downloads/lwip-2.1.2$
>
> New to lwip unix version, not getting unit test executable.
Keeping that aside, the unit tests are build from a different path (see
above).
Regards,
Simon
- [lwip-users] How to build LWIP test on linux, Sachin Gole, 2020/03/12
- Re: [lwip-users] How to build LWIP test on linux, address@hidden, 2020/03/13
- Re: [lwip-users] How to build LWIP test on linux, Sachin Gole, 2020/03/14
- Re: [lwip-users] How to build LWIP test on linux, goldsimon, 2020/03/14
- Re: [lwip-users] How to build LWIP test on linux, Sachin Gole, 2020/03/15
- Re: [lwip-users] How to build LWIP test on linux,
address@hidden <=
- Re: [lwip-users] How to build LWIP test on linux, Sachin Gole, 2020/03/17
- Re: [lwip-users] How to build LWIP test on linux, address@hidden, 2020/03/17
- Re: [lwip-users] How to build LWIP test on linux, Sachin Gole, 2020/03/17
- Re: [lwip-users] How to build LWIP test on linux, David Lockyer, 2020/03/18
- Re: [lwip-users] How to build LWIP test on linux, address@hidden, 2020/03/18
- Re: [lwip-users] How to build LWIP test on linux, Sachin Gole, 2020/03/18
- Re: [lwip-users] How to build LWIP test on linux, address@hidden, 2020/03/18
- Re: [lwip-users] How to build LWIP test on linux, Sachin Gole, 2020/03/18
- Re: [lwip-users] How to build LWIP test on linux, address@hidden, 2020/03/19