lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] How to build LWIP test on linux


From: Sachin Gole
Subject: Re: [lwip-users] How to build LWIP test on linux
Date: Sun, 15 Mar 2020 21:56:51 +0530


Using lwip-2.1.2 version, below steps doesn't get compiled with these steps.

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 -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
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.


On Sat, Mar 14, 2020 at 11:17 PM Sachin Gole <address@hidden> wrote:
In 2.1.2 version, There is no dev folder to run lwip_unittest


~/Downloads/lwip-2.1.2$ ls
build      CMakeCache.txt  cmake_install.cmake  COPYING            CPackSourceConfig.cmake  FEATURES  Makefile  src   UPGRADING
CHANGELOG  CMakeFiles      CMakeLists.txt       CPackConfig.cmake  doc                      FILES     README    test


Great help if you can suggest.

On Thu, Mar 12, 2020 at 12:05 PM Sachin Gole <address@hidden> wrote:
Package : lwip_2.1.2.orig source folder
Building test on Linux with following commands

cmake CMakeLists.txt -DCMAKE_C_COMPILER="/usr/bin/gcc" -DCMAKE_CXX_COMPILER="/usr/bin/g++"

How to compile further to get unit test ?

I’m protected online with Avast Free Antivirus. Get it here — it’s free forever.


--
Best regards,
Sachin
9970501145


--
Best regards,
Sachin
9970501145

reply via email to

[Prev in Thread] Current Thread [Next in Thread]