Search found 62 matches

by koderpat
Sat Dec 10, 2005 6:17 pm
Forum: C++ Development
Topic: getting SIGTRAP
Replies: 3
Views: 826

within GDB try: info signals

then:
handle SIGTRAP

You want to change SIGTRAP

handle SIGTRAP ignore nostop noprint

gdb will now, not stop your program, nor print a message.
..


This probably isn't the problem, the problem probably lies in the assert failure. shrug... hope this helps?
by koderpat
Tue Nov 15, 2005 7:59 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling error on Windows with Cygwin
Replies: 3
Views: 1029

"wxCHECK_WATCOM_VERSION" tanimli degi ../include/wx/msw/chkconf.h:40:32: "(" dizgeciginden "onceki iki terimli islec ksik make: ***
???
by koderpat
Tue Nov 15, 2005 7:58 pm
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets 2.6.2 MinGW compile errors on Microsoft Windows
Replies: 2
Views: 967

just a note to others
but if you use cygwin's gcc/g++ version, then your program will be linked against the cygwin .dll; and you will have to distribute it with your executable.

You want to use the MSYS or mingw32 version of gcc/g++ that will link with only standard windows libraries.
by koderpat
Tue Nov 15, 2005 7:51 pm
Forum: Platform Related Issues
Topic: Spy++ "hook" equivalent in Linux
Replies: 5
Views: 1999

Spy++ sounds windows proprietary. If you wanted to something similar in linux, I suggest you take a look at the wxEvtHandler and the ways you can manipulate it's events; to pass them to other windows. with something like the following: nethandler = new netEvtHandler(); nethandler->SetEvtHandlerEnabl...
by koderpat
Wed Nov 09, 2005 3:43 pm
Forum: Platform Related Issues
Topic: Spy++ "hook" equivalent in Linux
Replies: 5
Views: 1999

I'm not really familer with Spy++..

but if you want message passing for IPC,

you could use sockets, or shared memory or pipes or unix sockets
by koderpat
Wed Nov 09, 2005 3:40 pm
Forum: Platform Related Issues
Topic: [UNIX/Linux]: Configuration file on Linux/UNIX
Replies: 4
Views: 1601

perhaps run strace on your executable, and look for the fopen / open call to see what file (and location) your program is trying to open?
by koderpat
Wed Nov 09, 2005 3:37 pm
Forum: Compiler / Linking / IDE Related
Topic: Compile errors for wxmotif-2.6.2 and how to get started ???
Replies: 1
Views: 962

"make: Fatal Error in reader: Makefile, line 23993: Unexpected end of line"
owch

Have you tried downloading a newer make package?
Make (3.80)
http://ftp.gnu.org/gnu/make/

what is on line 23993 anyways?
by koderpat
Wed Nov 09, 2005 3:31 pm
Forum: Compiler / Linking / IDE Related
Topic: Link error when use Eclipse 3.1 + wxWidgets 2.6.2
Replies: 3
Views: 1797

gcc uses a one-pass linker, so you must change the order of your libraries so that You can cheat this. if you have libraries that have a circular dependency, you can force the linker to keep trying to resolve depedencies through multiple passes; like so: ld --start-group -llibrary1 -llibrary2 -llib...
by koderpat
Wed Nov 09, 2005 3:03 pm
Forum: Compiler / Linking / IDE Related
Topic: linking problem
Replies: 1
Views: 871

I'm not familer with your IDE; but I think you can either supply -lstack or libstack.a to the end of the compile command like so g++ -o run.me main.cpp libstack.a if you use the -lstack method, you may also have to supply -bstatic so the linker knows to compile the library statically. Also, you will...
by koderpat
Tue Sep 06, 2005 6:49 pm
Forum: Platform Related Issues
Topic: wxVsscanf portability
Replies: 1
Views: 791

from the sound of it: http://www.flipcode.com/cgi-bin/fcarticles.cgi?show=64176 vsscanf isn't supported under microsofts implementation of the standard libraries. If your target is just windows/linux. and you can get it working with your own vsscanf for windows--why not. a few #ifdef #ifndefs and th...
by koderpat
Mon Aug 29, 2005 6:13 pm
Forum: Compiler / Linking / IDE Related
Topic: Which free graphical debugger under Linux ?
Replies: 5
Views: 1191

gdb. free, fast, powerful.

command line interface.
by koderpat
Fri Aug 26, 2005 9:10 pm
Forum: Compiler / Linking / IDE Related
Topic: Problem with compiling wxIFM
Replies: 15
Views: 3294

I just downloaded it, and compiled it. I even compiled the demo, and ran it.

I just used the Makefiles that were provided.
(I'm using linux)


My guess is that there is something wrong with your visual studio environment.
by koderpat
Fri Aug 26, 2005 8:58 pm
Forum: Compiler / Linking / IDE Related
Topic: Problem with compiling wxIFM
Replies: 15
Views: 3294

But there is no "my" code. I try to build wxIFM itself :D

oh. =p

paste more of the compile error log. Whats #including wx/buffer.h, and so forth.

or

paste

Code: Select all

#include <string.h> 
everywhere.
by koderpat
Fri Aug 26, 2005 8:22 pm
Forum: Compiler / Linking / IDE Related
Topic: Problem with compiling wxIFM
Replies: 15
Views: 3294

Re: Problem with compiling wxIFM

Does the location of wxIFM directory matters? I placed it in \wxWidgets-2.6.0\contrib\build\ directory. Well that depends. Is there an include directory in this wxIFM directory? if so, then include path needs to be able to search there. Also, if there are shared library objects, then you also need ...
by koderpat
Fri Aug 26, 2005 8:14 pm
Forum: Compiler / Linking / IDE Related
Topic: Problem with compiling wxIFM
Replies: 15
Views: 3294

I'm sorry, I don't think I made myself clear. From your original post, it seemed like wx/buffer.h was failing. There is probably other feedback from the compiler that tells you where in your source code wx/buffer is 'parsed in';-- by that I mean the #include chain that leads to wx/buffer.h. all I di...