Search found 82 matches
- Sat May 04, 2013 3:08 am
- Forum: Compiler / Linking / IDE Related
- Topic: why two output is thrown at the linking stage ?
- Replies: 0
- Views: 2001
why two output is thrown at the linking stage ?
Hi, I have installed openssl at this path - /usr /usr/lib contains :--- libcrypto.so libssl.so libcrypto.a libssl.a Makefile :---- CXX = g++ CC = gcc CFLAGS_TEMP = $(shell wx-config --cxxflags) CFLAGS_TEMP += -Wall -g LIBRARY_TO_LINK = $(shell wx-config --libs) all: vscpd vscpd: $(OBJS) $(HDRS) $(CA...
- Wed May 01, 2013 10:26 am
- Forum: C++ Development
- Topic: wxwidget class -- to print debug information -- linux host
- Replies: 1
- Views: 1408
wxwidget class -- to print debug information -- linux host
Hi, In QT we have qdebug() function to print on standard output. int a =10; qDebug() << "hello"<< " how" << "are you "; qDebug() << a; Is there class to print debugging information on standard output using wxwidget base class :?: Example :---- int main(int argc, char *a...
- Mon Apr 29, 2013 4:13 pm
- Forum: Compiler / Linking / IDE Related
- Topic: error while loading shared libraries: libwx_baseu_xml-2.8.so
- Replies: 10
- Views: 8125
Re: error while loading shared libraries: libwx_baseu_xml-2.
Are you cross-compiling? If so, something went wrong. Yes. I will try to find out. Compiler final o/p :---- #g++ -o vscpd vscpd.o ../../common/daemonvscp.o ../../common/clientlist.o ../../common/controlobject.o ../../common/devicelist.o ../../common/vscphelper.o ../../common/tcpipclientthread.o ../...
- Mon Apr 29, 2013 3:02 pm
- Forum: Compiler / Linking / IDE Related
- Topic: error while loading shared libraries: libwx_baseu_xml-2.8.so
- Replies: 10
- Views: 8125
Re: error while loading shared libraries: libwx_baseu_xml-2.
ldconfig & .baschrc worked but getting this error :-- I have also attached my modified makefile. Please suggest what is wrong here :?: pi@raspberrypi ~ $ gdb vscpd gdb: /usr/local/lib/libcrypto.so.1.0.0: no version information available (required by /usr/lib/libpython2.7.so.1.0) gdb: /usr/local/...
- Mon Apr 29, 2013 8:35 am
- Forum: Compiler / Linking / IDE Related
- Topic: error while loading shared libraries: libwx_baseu_xml-2.8.so
- Replies: 10
- Views: 8125
Re: error while loading shared libraries: libwx_baseu_xml-2.
Thanks, David i will try to put LD_LIBRARY_PATH in permanent position in .profile as below. Then i will update here the result.try setting LD_LIBRARY_PATH
Code: Select all
export LD_LIBRARY_PATH = /usr/local/lib:$(LD_LIBRARY_PATH)
- Mon Apr 29, 2013 4:14 am
- Forum: Compiler / Linking / IDE Related
- Topic: error while loading shared libraries: libwx_baseu_xml-2.8.so
- Replies: 10
- Views: 8125
Re: error while loading shared libraries: libwx_baseu_xml-2.
Thanks, i will post soon about David question where library is installed (at present do not have access to my setup PC). $(shell wx-config --libs) What will wx-config do, will it not tell automatically which shared libraries to be linked :?: Where is libwx_baseu_xml-2.8.so.0? Is it in one of the sta...
- Sun Apr 28, 2013 4:03 pm
- Forum: Compiler / Linking / IDE Related
- Topic: error while loading shared libraries: libwx_baseu_xml-2.8.so
- Replies: 10
- Views: 8125
error while loading shared libraries: libwx_baseu_xml-2.8.so
Hi, I am able to build my project files in linux enviroment using wxgtk, but error comes when i run it. Please suggets how to resolve it :?: Error :---- ./vscpd: error while loading shared libraries: libwx_baseu_xml-2.8.so.0: cannot open shared object file: No such file or directory I have configure...
- Tue Apr 23, 2013 3:54 am
- Forum: Compiler / Linking / IDE Related
- Topic: run time error -- linux enviroment
- Replies: 5
- Views: 4116
Re: run time error -- linux enviroment
If you create a global variable, its contructor will be called before wxWidgets itself is initialized. ( = bad) hmm.. means to say that i have not called the -- wxSocketBase::Initialize() -- as per below code. As main have not been executed but constructor of an object is envoked before which is ma...
- Mon Apr 22, 2013 2:38 pm
- Forum: Compiler / Linking / IDE Related
- Topic: run time error -- linux enviroment
- Replies: 5
- Views: 4116
Re: run time error -- linux enviroment
Hi , This code is working fine in windows but problem is on Linux platform build & run. As what suggested by David, following is the backtrace from GDB. Here i am not getting what is causing this SIGSEGV which terminates the program. In file vscpd.cpp at 65 line i am creating following object :-...
- Sun Apr 21, 2013 6:54 am
- Forum: Compiler / Linking / IDE Related
- Topic: run time error -- linux enviroment
- Replies: 5
- Views: 4116
run time error -- linux enviroment
Hi, I am only using wx-widgets base class in my project in linux environment. Compilation takes place successfully. But when i run it i get error. I am getting following error while i run a executable file compiled using -g option under linux. I have put the gdb output. Before executable is run i ge...
- Sun Apr 07, 2013 7:30 am
- Forum: Compiler / Linking / IDE Related
- Topic: .text segment error ---- undefined reference to
- Replies: 2
- Views: 3393
- Sun Apr 07, 2013 1:25 am
- Forum: Compiler / Linking / IDE Related
- Topic: .text segment error ---- undefined reference to
- Replies: 2
- Views: 3393
Re: .text segment error ---- undefined reference to
is it linker error :--- Should i do something like in this link :?: http://www.cplusplus.com/forum/general/80904/ $(wx-config --cppflags) $(wx-config --libs) I have build Widget using option, --disable-shared :--- ./configure --disable-gui --disable-shared --with-base --enable-unicode Please suggest...
- Sat Apr 06, 2013 4:43 pm
- Forum: Compiler / Linking / IDE Related
- Topic: .text segment error ---- undefined reference to
- Replies: 2
- Views: 3393
.text segment error ---- undefined reference to
Hi, all of my files are compiling successfully. But after compiling i am getting error related to undefined reference to wx-gtk symbols in the text segment of each file. This is some part of error i have pasted, rest file also have almost same error :--- devicethread.cpp:(.text+0x222c): undefined re...
- Wed Mar 27, 2013 1:17 pm
- Forum: Compiler / Linking / IDE Related
- Topic: building project for wxgtk -- makefile issue
- Replies: 6
- Views: 2710
Re: building project for wxgtk -- makefile issue
Getting a error :--- vscpd.cpp:47:19: fatal error: wx/wx.h: No such file or directory compilation terminated. make: *** [vscpd.o] Error 1 I have installed wxgtk at following location :--- /opt/wxgtk .profile is modified :-- PATH = $PATH:/opt/wxgtk export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/...
- Tue Mar 26, 2013 1:49 pm
- Forum: Compiler / Linking / IDE Related
- Topic: building project for wxgtk -- makefile issue
- Replies: 6
- Views: 2710
Re: building project for wxgtk -- makefile issue
Thanks. You have set the dir for wx libs: 'opt/wxgtk/lib'. How does your makefile.orig knows about this dir? # topdir for wxWidgets base top_builddir = /opt/wxgtk LDLIBS = ${APPEXTRALIBS} ${top_builddir}/lib/libwx_based-2.6.a ${EXTRALIBS} I will use this way :---- ../configure --disable-gui --disabl...