I built omniORB-4.2.1 by VS2013+Cygwin(0.9.1-1) on Windows7 32bit.
I placed omniORB under C drive.
Then I tried to build SALOME-KERNEL by MinGW and got following error message related to omniORB.
[5%] Building CXX object idl/CMakeFiles/SalomeIDLKernel.dir/SALOME_ExceptionSK
.cc.obj
In file included from C:/omniORB-4.2.1/include/omniORB4/CORBA.h:221:0,
from c:/src/salome7/buildKernel/idl/SALOME_Exception.hh:6,
from c:/src/salome7/buildKernel/idl/SALOME_ExceptionSK.cc:3:
C:/omniORB-4.2.1/include/omniORB4/dynAny.h:151:47: error: 'CORBA::LongDoubleSeq'
has not been declared
virtual void insert_longdouble_seq(CORBA::LongDoubleSeq& value) = 0;
^
C:/omniORB-4.2.1/include/omniORB4/dynAny.h:171:20: error: 'LongDoubleSeq' in nam
espace 'CORBA' does not name a type
virtual CORBA::LongDoubleSeq* get_longdouble_seq() = 0;
^
idl/CMakeFiles/SalomeIDLKernel.dir/build.make:333: recipe for target `idl/CMakeF
iles/SalomeIDLKernel.dir/SALOME_ExceptionSK.cc.obj' failed
make[2]: *** [idl/CMakeFiles/SalomeIDLKernel.dir/SALOME_ExceptionSK.cc.obj] Erro
r 1
CMakeFiles/Makefile2:86: recipe for target `idl/CMakeFiles/SalomeIDLKernel.dir/a
ll' failed
make[1]: *** [idl/CMakeFiles/SalomeIDLKernel.dir/all] Error 2
Makefile:127: recipe for target `all' failed
make: *** [all] Error 2
Does anyone know how to this problem?
SALOME? omniORB? Which is the matter?
Related
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
I installed PCL 1.8.0 on Ubuntu 18.04 but I encountered an error while installing a repo.
[ 88%] Building CXX object CMakeFiles/tviewer.dir/tviewer/tviewer_widget/tviewer_widget.cpp.o
In file included from /home/gpu-1/Téléchargements/ForestMetrics/build/third-party/tviewer/tviewer-prefix/src/tviewer/tviewer/tviewer_widget/tviewer_widget.cpp:6:0:
/home/gpu-1/Téléchargements/ForestMetrics/build/third-party/tviewer/tviewer-prefix/src/tviewer/tviewer/tviewer_widget/tviewer_widget.h:12:10: fatal error: QVTKWidget.h: Aucun fichier ou dossier de ce type
#include <QVTKWidget.h>
^~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/tviewer.dir/build.make:354: recipe for target 'CMakeFiles/tviewer.dir/tviewer/tviewer_widget/tviewer_widget.cpp.o' failed
make[5]: *** [CMakeFiles/tviewer.dir/tviewer/tviewer_widget/tviewer_widget.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/tviewer.dir/all' failed
make[4]: *** [CMakeFiles/tviewer.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make[3]: *** [all] Error 2
third-party/tviewer/CMakeFiles/tviewer.dir/build.make:110: recipe for target 'third-party/tviewer/tviewer-prefix/src/tviewer-stamp/tviewer-build' failed
make[2]: *** [third-party/tviewer/tviewer-prefix/src/tviewer-stamp/tviewer-build] Error 2
CMakeFiles/Makefile2:385: recipe for target 'third-party/tviewer/CMakeFiles/tviewer.dir/all' failed
make[1]: *** [third-party/tviewer/CMakeFiles/tviewer.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
However I installed sudo apt-get install libvtk6-qt-dev without any error.
Any idea ? Many Thanks !
I am following this guide to install gRPC using CMake. First, it is actually not usable from a CMake project without tweaking the CMake command according to this other post. So I did, the configuration part works. When I run make though, it fails like this
In file included from /mnt/c/Program Files/grpc/include/ares.h:22:0,
from /mnt/c/Users/j*****/sources/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.cc:23:
/mnt/c/Program Files/grpc/include/ares_build.h:26:12: fatal error: winsock2.h: No such file or directory
# include <winsock2.h>
^~~~~~~~~~~~
compilation terminated.
CMakeFiles/grpc.dir/build.make:4768: recipe for target 'CMakeFiles/grpc.dir/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.cc.o' failed
make[2]: *** [CMakeFiles/grpc.dir/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.cc.o] Error 1
[ 85%] Building CXX object CMakeFiles/grpc.dir/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc.o
make[2]: *** Waiting for unfinished jobs....
In file included from /mnt/c/Program Files/grpc/include/ares.h:22:0,
from /mnt/c/Users/j*****/sources/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc:23:
/mnt/c/Program Files/grpc/include/ares_build.h:26:12: fatal error: winsock2.h: No such file or directory
# include <winsock2.h>
^~~~~~~~~~~~
compilation terminated.
CMakeFiles/grpc.dir/build.make:4794: recipe for target 'CMakeFiles/grpc.dir/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc.o' failed
make[2]: *** [CMakeFiles/grpc.dir/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc.o] Error 1
In file included from /mnt/c/Program Files/grpc/include/ares.h:22:0,
from /mnt/c/Users/j*****/sources/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc:29:
/mnt/c/Program Files/grpc/include/ares_build.h:26:12: fatal error: winsock2.h: No such file or directory
# include <winsock2.h>
^~~~~~~~~~~~
compilation terminated.
CMakeFiles/grpc.dir/build.make:4820: recipe for target 'CMakeFiles/grpc.dir/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc.o' failed
make[2]: *** [CMakeFiles/grpc.dir/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc.o] Error 1
CMakeFiles/Makefile2:702: recipe for target 'CMakeFiles/grpc.dir/all' failed
make[1]: *** [CMakeFiles/grpc.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
Am I supposed to install something that is not documented ?
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/
i'm trying to compile ncmpcpp on cygwin. i got it to configure after wrestling with dependencies, but when i try to make this error pops up:
In file included from utility/comparators.h:26:0,
from utility/comparators.cpp:22:
./mpdpp.h: In constructor ‘MPD::Directory::Directory(const mpd_directory*)’:
./mpdpp.h:134:62: error: ‘mpd_directory_get_last_modified’ was not declared in this scope
m_last_modified = mpd_directory_get_last_modified(directory);
^
In file included from ./menu.h:26:0,
from ./format.h:26,
from ./settings.h:32,
from utility/comparators.h:27,
from utility/comparators.cpp:22:
/usr/include/boost/range/detail/any_iterator.hpp: At global scope:
/usr/include/boost/range/detail/any_iterator.hpp:131:15: error: ‘postfix_increment_proxy’ is not a class template
class postfix_increment_proxy<
^
/usr/include/boost/range/detail/any_iterator.hpp:176:15: error: ‘writable_postfix_increment_proxy’ is not a class template
class writable_postfix_increment_proxy<
^
Makefile:603: recipe for target 'comparators.o' failed
make[2]: *** [comparators.o] Error 1
make[2]: Leaving directory '/home/aritsune/ncmpcpp/src'
Makefile:455: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/aritsune/ncmpcpp'
Makefile:365: recipe for target 'all' failed
make: *** [all] Error 2
i'm new to compiling from source and this error seems pretty unique. what could be causing it?
It looks like you don't have all the prerequisites required. Always address the errors in the order they occur. The first error occurs in mpdpp.h, on line 134, mpd_directory_get_last_modified. If I Google mpd_directory_get_last_modified the first result is a link to documentation for libmpdclient. Make sure you have this library and your compiler can find it.
As for the Boost error, if you are using version 1.57, it sounds like this bug:
https://svn.boost.org/trac/boost/ticket/10754
which is discussed in this thread:
Can't compile boost/any_iterator.hpp in boost 1.57