how can I solve makefile error in omnet++ - c++

I created my own code in veins in traci file and built it. I have makefile error how can I solve in?
2 errors generated.
Makefile:177: recipe for target '../out/gcc-debug/src/veins/modules/application/ieee80211p/BaseWaveApplLayer.o' failed
make[1]: *** [../out/gcc-debug/src/veins/modules/application/ieee80211p/BaseWaveApplLayer.o] Error 1
make[1]: Leaving directory '/c/Users/sepideh/src/omnetpp-5.0/samples/veins/src'
make: *** [all] Error 2
Makefile:16: recipe for target 'all' failed
16:41:24 Build Finished (took 1m:9s.529ms)

I experienced the same problem. The solution for me was to configurate omnet++ without certain packages.
./configure WITH_OSGEARTH=no WITH_OSG=no WITH_QTENV=no
and then make like this:
make -j3

Related

‘tls’ is not a member of ‘asio::ssl::context’ C++ error

I am trying to build this github repository: https://github.com/socketio/socket.io-client-cpp
It is dependant on this repository https://github.com/zaphoyd/websocketpp
I got a few downloads while trying to build both and solved most with downloading libboost-dev and a few other libraries but i got an error that i can't seem to solve:
/home/ktbm/socket.io-client-cpp/src/internal/sio_client_impl.cpp: In member function ‘sio::client_impl::context_ptr sio::client_impl::on_tls_init(websocketpp::connection_hdl)’:
/home/ktbm/socket.io-client-cpp/src/internal/sio_client_impl.cpp:586:83: error: ‘tls’ is not a member of ‘asio::ssl::context’
context_ptr ctx = context_ptr(new asio::ssl::context(asio::ssl::context::tls));
^~~
CMakeFiles/sioclient_tls.dir/build.make:110: recipe for target 'CMakeFiles/sioclient_tls.dir/src/internal/sio_client_impl.cpp.o' failed
make[2]: *** [CMakeFiles/sioclient_tls.dir/src/internal/sio_client_impl.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/sioclient_tls.dir/all' failed
make[1]: *** [CMakeFiles/sioclient_tls.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
I haven't found anyone with a similar problem and i am not sure which library causes this issue, probably an old asio library but could also be a boost error

cross compiling protocol buffers for arm

I am new to Google's protocol buffers and I am having trouble with cross-compiling it for arm. I am not able to find any concrete solutions to my problem using google.
The steps I am following:
./autogen.sh
./configure
make -s && make install
./configure --host=arm-linux-gnueabi CC=arm-linux-gnueabi-gcc --prefix=/opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/ --with-protoc=/usr/local/bin/protoc
make
I get an error when I run make.
google/protobuf/stubs/common.cc:55:2: error: #error "No suitable threading library available."
#error "No suitable threading library available."
^
Makefile:3956: recipe for target 'google/protobuf/stubs/common.lo' failed
make[2]: *** [google/protobuf/stubs/common.lo] Error 1
make[2]: Leaving directory '/home/protobuf/protobuf/src'
Makefile:1544: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/protobuf/protobuf'
Makefile:1451: recipe for target 'all' failed
make: *** [all] Error 2
Any help would be much appreciated.

Telegram compilation process: recipe for target 'CMakeFiles/MetaLang.dir/all' failed

I was following Telegram's compile process at here and in the last step when compiling the app itself it gives me this error, to be brief the error's final lines are:
CMakeFiles/MetaLang.dir/build.make:189: recipe for target 'MetaLang' failed
make[2]: *** [MetaLang] Error 1
CMakeFiles/Makefile2:721: recipe for target 'CMakeFiles/MetaLang.dir/all' failed
make[1]: *** [CMakeFiles/MetaLang.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
P.S. my OS is Ubuntu 16.04 and the folder in which the process is going on is ~/Documents/Telegram/

Telegram compilation process:No rule to make target '/usr/lib/libicutu.a'

I was following Telegram's compile process at here and in the last step when compiling the app itself it gives me this error
Built target codegen_numbers__qt_moc
make[2]: *** No rule to make target '/usr/lib/libicutu.a', needed by 'codegen_numbers'. Stop.
CMakeFiles/Makefile2:456: recipe for target 'CMakeFiles/codegen_numbers.dir/all' failed
make[1]: *** [CMakeFiles/codegen_numbers.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
You need to install ICU library(static build).
ProjectPage
Build documentation

Error when building with codeLite in Windows using cygwin64

C:\Windows\system32\cmd.exe /C "C:/cygwin64/bin/make.exe -j4 -e -f Makefile"
----------Building project:[ clockType - Debug ]----------
make[1]: *** No rule to make target 'Debug/clockType.cpp.o', needed by 'Debug/clockType'. Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: Entering directory '/home/Trevor/CSCI_3232/clockType'
make[1]: Leaving directory '/home/Trevor/CSCI_3232/clockType'
make: *** [All] Error 2
Makefile:4: recipe for target 'All' failed
1 errors, 0 warnings
I have been getting this error whenever I try to build anything with codelite and cygwin64(g++). Even a simple hello world application that runs fine in the cygwin64 terminal. I assume it is something wrong I am doing with codelite. Thanks for your help. This is my first time dealing with c++ outside of class, have no problems with java and eclipse. I downloaded codelite because it was the first link when I googled c++ ide no idea if it is any good or not.