Hi,

I am working on ns3 library (https://www.nsnam.org/ns-3-25) and wanted to
create cmake based project for it. Here is the setup for the project :
https://github.com/kneelb4darth/qosManet .

The library is correctly installed.

.so files : /usr/lib

exec : /usr/local/bin

lib : /usr/local/lib

headers : /usr/include/ns3.25/ns3/

But when I run the code using cmake, I get this error :

```
-- Looking for ns3/core-module.h - found
-- Looking for lib ns3-core
-- Looking for lib ns3-core - not found
-- Warning: To use NS-3 Please install ns3 at least version 3.10 (
http://www.nsnam.org/releases/)
ERROR NS3 not found
CMake Error: The following variables are used in this project, but they are
set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake
files:
NS3_LIBRARIES (ADVANCED)
    linked by target "tutifruti" in directory /home/cortana/Desktop/qosManet

-- Configuring incomplete, errors occurred!
See also "/home/cortana/Desktop/qosManet/build/CMakeFiles/CMakeOutput.log".

```

What can I do to remove this error and make the cmake work ?
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to