[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Building and running DDD with Cygwin: one minor problem, and one fatal o
From: |
Karr, David |
Subject: |
Building and running DDD with Cygwin: one minor problem, and one fatal one |
Date: |
Thu, 30 Mar 2006 13:42:42 -0800 |
I'm trying to build and run DDD (3.3.11) under Cygwin (1.5.19). I had
one minor issue that I was able to workaround, and one that I can't get
past.
The first problem was the construction of the "configinfo.C" file. What
was originally generated was the following:
static const char *config_sccs_info =
"@(#)Built 2006-03-30 by David M. Karr <david.karr@wamu.net>.
\n";
This had two embedded ^M characters. When it tried to compile this, it
produces the following diagnostics:
if g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include
-O2 -g -Wall -W -Wwrite-strings -trigraphs -MT configinfo.o -MD -MP -MF
".deps/configinfo.Tpo" -c -o configinfo.o configinfo.C; \
then mv -f ".deps/configinfo.Tpo" ".deps/configinfo.Po"; else rm -f
".deps/configinfo.Tpo"; exit 1; fi
configinfo.C:7: error: missing terminating " character
configinfo.C:9: error: stray '\' in program
configinfo.C:9: error: missing terminating " character
configinfo.C:10: error: `n' was not declared in this scope
configinfo.C:10: error: expected `,' or `;' before "const"
configinfo.C:6: warning: 'config_sccs_info' defined but not used
make[2]: *** [configinfo.o] Error 1
To work around this, I manually edited the generated "configinfo.c"
file, changing the line to:
static const char *config_sccs_info =
"@(#)Built 2006-03-30 by David M. Karr <david.karr@wamu.net>.\n";
This let the build finish.
After I built it and installed it, I ran it, and it immediately brought
up a dialog that said:
"The application failed to initialize properly (0xc0000005)."
I don't find any $HOME/.ddd directory, so there's no log file.
___________________________________________________
David M. Karr, Technical Specialist Senior
Corporate Shared Services
Application Integration Services
Platforms, Architecture & Production Operations (PAPO) Enterprise
Service Bus (ESB)
Washington Mutual
1201 Third Avenue, WMT0914, Seattle, WA 98101
www.wamu.com
206.490.7289 direct | 206.909.0664 mobile
206.490.2262 fax
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Building and running DDD with Cygwin: one minor problem, and one fatal one,
Karr, David <=