|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
ACTIVEMQ-cppI'm trying to compile project include activeMQ command with the following packages:
activemq-cpp-2.2.5 activemq-5.2.0-bin apr-1.3.3 apr-util-1.3.4-win32 I'm getting the following error: "Cannot open include file: 'decaf/land/Thread.h'; No such file or directory". This message occures only when trying to compile the project in release mode, at debug mode the cmpilation accomplished successfully. Can someone help me with that? Thanks |
|
|
Re: ACTIVEMQ-cppOn Thu, 2009-10-29 at 14:02 -0700, EfratK wrote:
> I'm trying to compile project include activeMQ command with the following > packages: > activemq-cpp-2.2.5 > activemq-5.2.0-bin > apr-1.3.3 > apr-util-1.3.4-win32 > I'm getting the following error: > "Cannot open include file: 'decaf/land/Thread.h'; No such file or > directory". > > This message occures only when trying to compile the project in release > mode, at debug mode the cmpilation accomplished successfully. > > Can someone help me with that? > Thanks If you are on Windows then you most likely didn't configure the include directories for the Release build configuration of your project, only the Debug version is setup right now. You need to set the includes directives for the Release build as well, or set them so they are applied to all configurations. Regards Tim -- Tim Bish http://fusesource.com http://timbish.blogspot.com/ |
|
|
Re: ACTIVEMQ-cppIndeed the Release build configuration were missing.
The above error message disappear BUT a lot of new ones came up :(. some of them are: libactivemq-cpp.lib(Thread.obj) : error LNK2001: unresolved external symbol _apr_thread_join@8 libactivemq-cpp.lib(Thread.obj) : error LNK2001: unresolved external symbol _apr_thread_create@20 libactivemq-cpp.lib(Thread.obj) : error LNK2001: unresolved external symbol _apr_os_thread_current@0 libactivemq-cpp.lib(Thread.obj) : error LNK2001: unresolved external symbol _apr_thread_yield@0 libactivemq-cpp.lib(Thread.obj) : error LNK2001: unresolved external symbol _apr_sleep@8 libactivemq-cpp.lib(AtomicInteger.obj) : error LNK2001: unresolved external symbol _apr_atomic_cas32@12 libactivemq-cpp.lib(AtomicInteger.obj) : error LNK2001: unresolved external symbol _apr_atomic_dec32@4 libactivemq-cpp.lib(AtomicInteger.obj) : error LNK2001: unresolved external symbol _apr_atomic_inc32@4 libactivemq-cpp.lib(AtomicInteger.obj) : error LNK2001: unresolved external symbol _apr_atomic_add32@8 libactivemq-cpp.lib(TcpSocket.obj) : error LNK2001: unresolved external symbol _apr_socket_connect@8 libactivemq-cpp.lib(TcpSocket.obj) : error LNK2001: unresolved external symbol _apr_socket_timeout_get@8 libactivemq-cpp.lib(TcpSocket.obj) : error LNK2001: unresolved external symbol _apr_socket_create@20 libactivemq-cpp.lib(TcpSocket.obj) : error LNK2001: unresolved external symbol _apr_sockaddr_info_get@24 libactivemq-cpp.lib(TcpSocket.obj) : error LNK2001: unresolved external symbol _apr_socket_opt_get@12 libactivemq-cpp.lib(TcpSocket.obj) : error LNK2001: unresolved external symbol _apr_socket_shutdown@8 libactivemq-cpp.lib(TcpSocket.obj) : error LNK2001: unresolved external symbol _apr_socket_timeout_set@12 libactivemq-cpp.lib(TcpSocket.obj) : error LNK2001: unresolved external symbol _apr_socket_close@4 libactivemq-cpp.lib(TcpSocket.obj) : error LNK2001: unresolved external symbol _apr_socket_opt_set@12 libactivemq-cpp.lib(SocketInputStream.obj) : error LNK2001: unresolved external symbol _apr_socket_recv@12 libactivemq-cpp.lib(SocketInputStream.obj) : error LNK2001: unresolved external symbol __imp__ioctlsocket@12 libactivemq-cpp.lib(SocketInputStream.obj) : error LNK2001: unresolved external symbol _apr_os_sock_get@8 libactivemq-cpp.lib(SocketError.obj) : error LNK2001: unresolved external symbol __imp__WSAGetLastError@0 libactivemq-cpp.lib(SocketOutputStream.obj) : error LNK2001: unresolved external symbol _apr_socket_send@12 Any idea?
|
|
|
Re: ACTIVEMQ-cppOn Thu, 2009-10-29 at 15:13 -0700, EfratK wrote:
> Indeed the Release build configuration were missing. > The above error message disappear BUT a lot of new ones came up :(. some of > them are: > I would suggest looking at the configuration settings for the ActiveMQ-CPP example, you are missing some linker settings or are pointing to incorrect versions (debug vs release) etc. Regards Tim. > libactivemq-cpp.lib(Thread.obj) : error LNK2001: unresolved external symbol > _apr_thread_join@8 > libactivemq-cpp.lib(Thread.obj) : error LNK2001: unresolved external symbol > _apr_thread_create@20 > libactivemq-cpp.lib(Thread.obj) : error LNK2001: unresolved external symbol > _apr_os_thread_current@0 > libactivemq-cpp.lib(Thread.obj) : error LNK2001: unresolved external symbol > _apr_thread_yield@0 > libactivemq-cpp.lib(Thread.obj) : error LNK2001: unresolved external symbol > _apr_sleep@8 > libactivemq-cpp.lib(AtomicInteger.obj) : error LNK2001: unresolved external > symbol _apr_atomic_cas32@12 > libactivemq-cpp.lib(AtomicInteger.obj) : error LNK2001: unresolved external > symbol _apr_atomic_dec32@4 > libactivemq-cpp.lib(AtomicInteger.obj) : error LNK2001: unresolved external > symbol _apr_atomic_inc32@4 > libactivemq-cpp.lib(AtomicInteger.obj) : error LNK2001: unresolved external > symbol _apr_atomic_add32@8 > libactivemq-cpp.lib(TcpSocket.obj) : error LNK2001: unresolved external > symbol _apr_socket_connect@8 > libactivemq-cpp.lib(TcpSocket.obj) : error LNK2001: unresolved external > symbol _apr_socket_timeout_get@8 > libactivemq-cpp.lib(TcpSocket.obj) : error LNK2001: unresolved external > symbol _apr_socket_create@20 > libactivemq-cpp.lib(TcpSocket.obj) : error LNK2001: unresolved external > symbol _apr_sockaddr_info_get@24 > libactivemq-cpp.lib(TcpSocket.obj) : error LNK2001: unresolved external > symbol _apr_socket_opt_get@12 > libactivemq-cpp.lib(TcpSocket.obj) : error LNK2001: unresolved external > symbol _apr_socket_shutdown@8 > libactivemq-cpp.lib(TcpSocket.obj) : error LNK2001: unresolved external > symbol _apr_socket_timeout_set@12 > libactivemq-cpp.lib(TcpSocket.obj) : error LNK2001: unresolved external > symbol _apr_socket_close@4 > libactivemq-cpp.lib(TcpSocket.obj) : error LNK2001: unresolved external > symbol _apr_socket_opt_set@12 > libactivemq-cpp.lib(SocketInputStream.obj) : error LNK2001: unresolved > external symbol _apr_socket_recv@12 > libactivemq-cpp.lib(SocketInputStream.obj) : error LNK2001: unresolved > external symbol __imp__ioctlsocket@12 > libactivemq-cpp.lib(SocketInputStream.obj) : error LNK2001: unresolved > external symbol _apr_os_sock_get@8 > libactivemq-cpp.lib(SocketError.obj) : error LNK2001: unresolved external > symbol __imp__WSAGetLastError@0 > libactivemq-cpp.lib(SocketOutputStream.obj) : error LNK2001: unresolved > external symbol _apr_socket_send@12 > > Any idea? > > > > > Timothy Bish wrote: > > > > On Thu, 2009-10-29 at 14:02 -0700, EfratK wrote: > >> I'm trying to compile project include activeMQ command with the following > >> packages: > >> activemq-cpp-2.2.5 > >> activemq-5.2.0-bin > >> apr-1.3.3 > >> apr-util-1.3.4-win32 > >> I'm getting the following error: > >> "Cannot open include file: 'decaf/land/Thread.h'; No such file or > >> directory". > >> > >> This message occures only when trying to compile the project in release > >> mode, at debug mode the cmpilation accomplished successfully. > >> > >> Can someone help me with that? > >> Thanks > > > > If you are on Windows then you most likely didn't configure the include > > directories for the Release build configuration of your project, only > > the Debug version is setup right now. You need to set the includes > > directives for the Release build as well, or set them so they are > > applied to all configurations. > > > > Regards > > Tim > > > > -- > > Tim Bish > > http://fusesource.com > > http://timbish.blogspot.com/ > > > > > > > > > > > Tim Bish http://fusesource.com http://timbish.blogspot.com/ |
|
|
Re: ACTIVEMQ-cppWorks grate now, 10x!
|
| Free embeddable forum powered by Nabble | Forum Help |