GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

custom cairo/container widget

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
dreblen
Never Seen the Sunlight


Joined: 14 Jun 2007
Posts: 426
Location: Falun, WI USA

PostPosted: Fri Sep 21, 2007 5:20 pm    Post subject: custom cairo/container widget Reply with quote

Hi, I would like to know how to write a cairo widget that will draw tournament style brackets (the drawing code isn't my problem) and then allow the use of puting labels on top of it (like a GtkContainer), that's my problem, how do I write a widget that allows me to do drawing code, and still allow packing on top of it? I am using C. Thank you...
Back to top
caracal
GTK+ Geek


Joined: 21 Jun 2007
Posts: 90
Location: Wilkes Barre Pa

PostPosted: Sat Sep 22, 2007 2:45 pm    Post subject: Reply with quote

What you want to do is embedded gtk+ widgets in a cairo canvas. now i am not exactly sure how to do this but there is a gtk+ canvas library that will allow you to do this.

Goocanvas

GooCanvas is a new canvas widget for GTK+ that uses the cairo 2D library for drawing. It has a model/view split, and uses interfaces for canvas items and views, so you can easily turn any application object into canvas items.

Features

* Optional model/view split.
* Uses interfaces for items and views.
* Basic items - rect/ellipse/polyline/text/image/group.
* Path item, using SVG path specification strings.
* Table item for layout of other items (similar to the GtkTable widget). (This also supports items whose requested height changes according to their allocated width, such as text items.)

* Embedded GTK+ widgets.
* Layers/stacking order with raise/lower functions.
* Cascading styles - line width/style/dashes, colors, fill patterns.
* Affine transformations for all items - rotations/scales/skews.
* Event handling - button/motion events, "pointer-events" property like SVG.
* Grabs - support for pointer and keyboard grabs.
* Keyboard focus traversal.
* Accessibility (item title and description properties and hierarchy stuff).
* Printing (output to a given cairo_t).
* Scrolling.
* Zooming.
* Item visibility setting - on/off/above zoom threshold.
* Simple animation.
* Scalable - support for thousands of items over a large canvas area.
* Support for different units - pixels/points/inches/millimeters.

http://sourceforge.net/projects/goocanvas

Hope that helps.
Back to top
dreblen
Never Seen the Sunlight


Joined: 14 Jun 2007
Posts: 426
Location: Falun, WI USA

PostPosted: Mon Sep 24, 2007 2:02 am    Post subject: Reply with quote

okay, I've downloaded it and ran ./configure using cygwin, it configured and created a Makefile, so I type make, it compiles for awhile, but when it gets to linking (I think that it's near or at the end of the compilation) it gives an error saying that grep can't find '/usr/lib/libiconv.la', does anyone know where I can find this file? thanks...
Back to top
caracal
GTK+ Geek


Joined: 21 Jun 2007
Posts: 90
Location: Wilkes Barre Pa

PostPosted: Mon Sep 24, 2007 2:57 am    Post subject: Reply with quote

http://www.gnu.org/software/libiconv/
Back to top
dreblen
Never Seen the Sunlight


Joined: 14 Jun 2007
Posts: 426
Location: Falun, WI USA

PostPosted: Mon Sep 24, 2007 9:31 pm    Post subject: Reply with quote

okay, I downloaded and compiled iconv, now I have a new problem.
my initial command to cygwin is:

./configure --host=i686-pc-mingw32 --build=i686-pc-cygwin CC='gcc -mno-cygwin' host_alias=i686-pc-mingw32

after it generates a Makefile, I type make, after while of compiling and after linking to libiconv.la it starts to compile the demo stuff...

gcc -mno-cygwin -g -O2 -o demo.exe demo.o demo-fifteen.o demo-scalability.o demo
-grabs.o demo-arrowhead.o demo-features.o demo-events.o demo-paths.o demo-focus.
o demo-item.o demo-animation.o demo-clipping.o demo-table.o demo-large-line.o de
mo-large-items.o demo-large-rect.o -user32 -Wl,-luuid "" ../src/.libs/libgoocan
vas.a -LC:/gtk-devel/GTK/lib -L/usr/lib -lgtk-win32-2.0 -lgdk-win32-2.0 -lgdi32
-limm32 -lshell32 -lole32 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lpangocai
ro-1.0 -lcairo -lpangoft2-1.0 /usr/lib/libfontconfig.dll.a /usr/lib/libexpat.dll
.a -lfreetype -lz -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 /usr/lib/li
bintl.dll.a /usr/local/lib/libiconv.dll.a -L/usr/local/lib -L/usr/local/lib
gcc: : No such file or directory
make[2]: *** [demo.exe] Error 1
make[2]: Leaving directory `/cygdrive/c/source/goocanvas/goocanvas-0.9/demo'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/source/goocanvas/goocanvas-0.9'
make: *** [all] Error 2

dreblen@Present /cygdrive/c/source/goocanvas/goocanvas-0.9
$

it says 'No such file or directory', but it doesn't say what file, can anyone help? thanks...
Back to top
caracal
GTK+ Geek


Joined: 21 Jun 2007
Posts: 90
Location: Wilkes Barre Pa

PostPosted: Mon Sep 24, 2007 11:10 pm    Post subject: Reply with quote

Hmm can you post the error log?
Back to top
dreblen
Never Seen the Sunlight


Joined: 14 Jun 2007
Posts: 426
Location: Falun, WI USA

PostPosted: Tue Sep 25, 2007 3:12 pm    Post subject: Reply with quote

do you know what the file name of the error log would be?
Back to top
dreblen
Never Seen the Sunlight


Joined: 14 Jun 2007
Posts: 426
Location: Falun, WI USA

PostPosted: Thu Sep 27, 2007 8:09 pm    Post subject: Reply with quote

Okay, this is 'config.log':

Code: (Plaintext)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by goocanvas configure 0.9, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --host=i686-pc-mingw32 --build=i686-pc-cygwin CC=gcc -mno-cygwin host_alias=i686-pc-mingw32

## --------- ##
## Platform. ##
## --------- ##

hostname = Present
uname -m = i686
uname -r = 1.5.24(0.156/4/2)
uname -s = CYGWIN_NT-5.1
uname -v = 2007-01-31 10:57

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /cygdrive/c/GTK-DE~1/GTK/bin
PATH: /cygdrive/c/WINDOWS/system32
PATH: /cygdrive/c/WINDOWS
PATH: /cygdrive/c/WINDOWS/System32/Wbem
PATH: /cygdrive/c/Program Files/Common Files/Adaptec Shared/System
PATH: /cygdrive/c/Program Files/Microsoft SQL Server/80/Tools/Binn/
PATH: /cygdrive/c/Program Files/Common Files/GTK/2.0/bin
PATH: /cygdrive/c/3dsmax5/backburner2/
PATH: /cygdrive/c/Program Files/Common Files/Autodesk Shared/
PATH: /cygdrive/c/Program Files/TortoiseCVS
PATH: /cygdrive/c/mingw3.1/bin
PATH: /cygdrive/c/Dev-Cpp/include
PATH: /cygdrive/c/Program Files/GnuWin32/bin
PATH: /cygdrive/c/Dev-Cpp
PATH: /cygdrive/c/gtk/bin
PATH: /cygdrive/c/Documents and Settings/Sam Fisher/Desktop/test progs
PATH: /cygdrive/c/Documents and Settings/Sam Fisher/Desktop/test progs/setcon
PATH: /cygdrive/c/Documents and Settings/Sam Fisher/Desktop/test progs/dllify
PATH: /cygdrive/c/Python25
PATH: /cygdrive/c/Program Files/Microsoft SQL Server/90/Tools/binn/


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1574: checking for a BSD-compatible install
configure:1629: result: /usr/bin/install -c
configure:1640: checking whether build environment is sane
configure:1683: result: yes
configure:1748: checking for gawk
configure:1764: found /usr/bin/gawk
configure:1774: result: gawk
configure:1784: checking whether make sets $(MAKE)
configure:1804: result: yes
configure:1880: checking for i686-pc-mingw32-strip
configure:1909: result: no
configure:1918: checking for strip
configure:1934: found /usr/bin/strip
configure:1945: result: strip
configure:1984: checking whether to enable maintainer-specific portions of Makefiles
configure:1993: result: no
configure:2021: checking for style of include used by make
configure:2049: result: GNU
configure:2082: checking for i686-pc-mingw32-gcc
configure:2108: result: gcc -mno-cygwin
configure:2390: checking for C compiler version
configure:2393: gcc -mno-cygwin --version </dev/null >&5
gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2396: $? = 0
configure:2398: gcc -mno-cygwin -v </dev/null >&5
Reading specs from /usr/lib/gcc/i686-pc-mingw32/3.4.4/specs
Configured with: /usr/build/package/orig/test.respin/gcc-3.4.4-3/configure --verbose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
configure:2401: $? = 0
configure:2403: gcc -mno-cygwin -V </dev/null >&5
gcc: `-V' must come at the start of the command line
configure:2406: $? = 1
configure:2429: checking for C compiler default output file name
configure:2432: gcc -mno-cygwin    conftest.c  >&5
configure:2435: $? = 0
configure:2481: result: a.exe
configure:2486: checking whether the C compiler works
configure:2512: result: yes
configure:2519: checking whether we are cross compiling
configure:2521: result: yes
configure:2524: checking for suffix of executables
configure:2526: gcc -mno-cygwin -o conftest.exe    conftest.c  >&5
configure:2529: $? = 0
configure:2554: result: .exe
configure:2560: checking for suffix of object files
configure:2581: gcc -mno-cygwin -c   conftest.c >&5
configure:2584: $? = 0
configure:2606: result: o
configure:2610: checking whether we are using the GNU C compiler
configure:2634: gcc -mno-cygwin -c   conftest.c >&5
configure:2640: $? = 0
configure:2644: test -z
             || test ! -s conftest.err
configure:2647: $? = 0
configure:2650: test -s conftest.o
configure:2653: $? = 0
configure:2666: result: yes
configure:2672: checking whether gcc -mno-cygwin accepts -g
configure:2693: gcc -mno-cygwin -c -g  conftest.c >&5
configure:2699: $? = 0
configure:2703: test -z
             || test ! -s conftest.err
configure:2706: $? = 0
configure:2709: test -s conftest.o
configure:2712: $? = 0
configure:2723: result: yes
configure:2740: checking for gcc -mno-cygwin option to accept ANSI C
configure:2810: gcc -mno-cygwin  -c -g -O2  conftest.c >&5
configure:2816: $? = 0
configure:2820: test -z
             || test ! -s conftest.err
configure:2823: $? = 0
configure:2826: test -s conftest.o
configure:2829: $? = 0
configure:2847: result: none needed
configure:2865: gcc -mno-cygwin -c -g -O2  conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:2871: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:3006: checking dependency style of gcc -mno-cygwin
configure:3096: result: gcc3
configure:3115: checking for strerror in -lcposix
configure:3145: gcc -mno-cygwin -o conftest.exe -g -O2   conftest.c -lcposix   >&5
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/bin/ld: cannot find -lcposix
collect2: ld returned 1 exit status
configure:3151: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "goocanvas"
| #define PACKAGE_TARNAME "goocanvas"
| #define PACKAGE_VERSION "0.9"
| #define PACKAGE_STRING "goocanvas 0.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "goocanvas"
| #define VERSION "0.9"
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char strerror ();
| int
| main ()
| {
| strerror ();
|   ;
|   return 0;
| }
configure:3177: result: no
configure:3193: checking for i686-pc-mingw32-gcc
configure:3219: result: gcc -mno-cygwin
configure:3501: checking for C compiler version
configure:3504: gcc -mno-cygwin --version </dev/null >&5
gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3507: $? = 0
configure:3509: gcc -mno-cygwin -v </dev/null >&5
Reading specs from /usr/lib/gcc/i686-pc-mingw32/3.4.4/specs
Configured with: /usr/build/package/orig/test.respin/gcc-3.4.4-3/configure --verbose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
configure:3512: $? = 0
configure:3514: gcc -mno-cygwin -V </dev/null >&5
gcc: `-V' must come at the start of the command line
configure:3517: $? = 1
configure:3520: checking whether we are using the GNU C compiler
configure:3576: result: yes
configure:3582: checking whether gcc -mno-cygwin accepts -g
configure:3633: result: yes
configure:3650: checking for gcc -mno-cygwin option to accept ANSI C
configure:3757: result: none needed
configure:3775: gcc -mno-cygwin -c -g -O2  conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:3781: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:3916: checking dependency style of gcc -mno-cygwin
configure:4006: result: gcc3
configure:4028: checking how to run the C preprocessor
configure:4063: gcc -mno-cygwin -E  conftest.c
configure:4069: $? = 0
configure:4101: gcc -mno-cygwin -E  conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:4107: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "goocanvas"
| #define PACKAGE_TARNAME "goocanvas"
| #define PACKAGE_VERSION "0.9"
| #define PACKAGE_STRING "goocanvas 0.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "goocanvas"
| #define VERSION "0.9"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4146: result: gcc -mno-cygwin -E
configure:4170: gcc -mno-cygwin -E  conftest.c
configure:4176: $? = 0
configure:4208: gcc -mno-cygwin -E  conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:4214: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "goocanvas"
| #define PACKAGE_TARNAME "goocanvas"
| #define PACKAGE_VERSION "0.9"
| #define PACKAGE_STRING "goocanvas 0.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "goocanvas"
| #define VERSION "0.9"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4258: checking for egrep
configure:4268: result: grep -E
configure:4273: checking for ANSI C header files
configure:4298: gcc -mno-cygwin -c -g -O2  conftest.c >&5
configure:4304: $? = 0
configure:4308: test -z
             || test ! -s conftest.err
configure:4311: $? = 0
configure:4314: test -s conftest.o
configure:4317: $? = 0
configure:4429: result: yes
configure:4517: checking build system type
configure:4535: result: i686-pc-cygwin
configure:4543: checking host system type
configure:4557: result: i686-pc-mingw32
configure:4565: checking for a sed that does not truncate output
configure:4621: result: /usr/bin/sed
configure:4635: checking for ld used by gcc -mno-cygwin
configure:4702: result: /usr/i686-pc-mingw32/bin/ld.exe
configure:4711: checking if the linker (/usr/i686-pc-mingw32/bin/ld.exe) is GNU ld
configure:4726: result: yes
configure:4731: checking for /usr/i686-pc-mingw32/bin/ld.exe option to reload object files
configure:4738: result: -r
configure:4756: checking for BSD-compatible nm
configure:4805: result: nm
configure:4809: checking whether ln -s works
configure:4813: result: yes
configure:4820: checking how to recognise dependent libraries
configure:4996: result: file_magic file format pei*-i386(.*architecture: i386)?
configure:5241: checking for sys/types.h
configure:5257: gcc -mno-cygwin -c -g -O2  conftest.c >&5
configure:5263: $? = 0
configure:5267: test -z
             || test ! -s conftest.err
configure:5270: $? = 0
configure:5273: test -s conftest.o
configure:5276: $? = 0
configure:5287: result: yes
configure:5241: checking for sys/stat.h
configure:5257: gcc -mno-cygwin -c -g -O2  conftest.c >&5
configure:5263: $? = 0
configure:5267: test -z
             || test ! -s conftest.err
configure:5270: $? = 0
configure:5273: test -s conftest.o
configure:5276: $? = 0
configure:5287: result: yes
configure:5241: checking for stdlib.h
configure:5257: gcc -mno-cygwin -c -g -O2  conftest.c >&5
configure:5263: $? = 0
configure:5267: test -z
             || test ! -s conftest.err
configure:5270: $? = 0
configure:5273: test -s conftest.o
configure:5276: $? = 0
configure:5287: result: yes
configure:5241: checking for string.h
configure:5257: gcc -mno-cygwin -c -g -O2  conftest.c >&5
configure:5263: $? = 0
configure:5267: test -z
             || test ! -s conftest.err
configure:5270: $? = 0
configure:5273: test -s conftest.o
configure:5276: $? = 0
configure:5287: result: yes
configure:5241: checking for memory.h
configure:5257: gcc -mno-cygwin -c -g -O2  conftest.c >&5
configure:5263: $? = 0
configure:5267: test -z
             || test ! -s conftest.err
configure:5270: $? = 0
configure:5273: test -s conftest.o
configure:5276: $? = 0
configure:5287: result: yes
configure:5241: checking for strings.h
configure:5257: gcc -mno-cygwin -c -g -O2  conftest.c >&5
configure:5263: $? = 0
configure:5267: test -z
             || test ! -s conftest.err
configure:5270: $? = 0
configure:5273: test -s conftest.o
configure:5276: $? = 0
configure:5287: result: yes
configure:5241: checking for inttypes.h
configure:5257: gcc -mno-cygwin -c -g -O2  conftest.c >&5
configure:5263: $? = 0
configure:5267: test -z
             || test ! -s conftest.err
configure:5270: $? = 0
configure:5273: test -s conftest.o
configure:5276: $? = 0
configure:5287: result: yes
configure:5241: checking for stdint.h
configure:5257: gcc -mno-cygwin -c -g -O2  conftest.c >&5
configure:5263: $? = 0
configure:5267: test -z
             || test ! -s conftest.err
configure:5270: $? = 0
configure:5273: test -s conftest.o
configure:5276: $? = 0
configure:5287: result: yes
configure:5241: checking for unistd.h
configure:5257: gcc -mno-cygwin -c -g -O2  conftest.c >&5
configure:5263: $? = 0
configure:5267: test -z
             || test ! -s conftest.err
configure:5270: $? = 0
configure:5273: test -s conftest.o
configure:5276: $? = 0
configure:5287: result: yes
configure:5313: checking dlfcn.h usability
configure:5325: gcc -mno-cygwin -c -g -O2  conftest.c >&5
conftest.c:55:19: dlfcn.h: No such file or directory
configure:5331: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "goocanvas"
| #define PACKAGE_TARNAME "goocanvas"
| #define PACKAGE_VERSION "0.9"
| #define PACKAGE_STRING "goocanvas 0.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "goocanvas"
| #define VERSION "0.9"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| #  include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <dlfcn.h>
configure:5354: result: no
configure:5358: checking dlfcn.h presence
configure:5368: gcc -mno-cygwin -E  conftest.c
conftest.c:21:19: dlfcn.h: No such file or directory
configure:5374: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "goocanvas"
| #define PACKAGE_TARNAME "goocanvas"
| #define PACKAGE_VERSION "0.9"
| #define PACKAGE_STRING "goocanvas 0.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "goocanvas"
| #define VERSION "0.9"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <dlfcn.h>
configure:5394: result: no
configure:5429: checking for dlfcn.h
configure:5436: result: no
configure:5459: checking for i686-pc-mingw32-g++
configure:5488: result: no
configure:5459: checking for i686-pc-mingw32-c++
configure:5488: result: no
configure:5459: checking for i686-pc-mingw32-gpp
configure:5488: result: no
configure:5459: checking for i686-pc-mingw32-aCC
configure:5488: result: no
configure:5459: checking for i686-pc-mingw32-CC
configure:5488: result: no
configure:5459: checking for i686-pc-mingw32-cxx
configure:5488: result: no
configure:5459: checking for i686-pc-mingw32-cc++
configure:5488: result: no
configure:5459: checking for i686-pc-mingw32-cl
configure:5488: result: no
configure:5459: checking for i686-pc-mingw32-FCC
configure:5488: result: no
configure:5459: checking for i686-pc-mingw32-KCC
configure:5488: result: no
configure:5459: checking for i686-pc-mingw32-RCC
configure:5488: result: no
configure:5459: checking for i686-pc-mingw32-xlC_r
configure:5488: result: no
configure:5459: checking for i686-pc-mingw32-xlC
configure:5488: result: no
configure:5501: checking for g++
configure:5517: found /usr/bin/g++
configure:5527: result: g++
configure:5543: checking for C++ compiler version
configure:5546: g++ --version </dev/null >&5
g++ (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:5549: $? = 0
configure:5551: g++ -v </dev/null >&5
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /usr/build/package/orig/test.respin/gcc-3.4.4-3/configure --verbose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
configure:5554: $? = 0
configure:5556: g++ -V </dev/null >&5
g++: `-V' option must have argument
configure:5559: $? = 1
configure:5562: checking whether we are using the GNU C++ compiler
configure:5586: g++ -c   conftest.cc >&5
configure:5592: $? = 0
configure:5596: test -z
             || test ! -s conftest.err
configure:5599: $? = 0
configure:5602: test -s conftest.o
configure:5605: $? = 0
configure:5618: result: yes
configure:5624: checking whether g++ accepts -g
configure:5645: g++ -c -g  conftest.cc >&5
configure:5651: $? = 0
configure:5655: test -z
             || test ! -s conftest.err
configure:5658: $? = 0
configure:5661: test -s conftest.o
configure:5664: $? = 0
configure:5675: result: yes
configure:5717: g++ -c -g -O2  conftest.cc >&5
configure:5723: $? = 0
configure:5727: test -z
             || test ! -s conftest.err
configure:5730: $? = 0
configure:5733: test -s conftest.o
configure:5736: $? = 0
configure:5762: g++ -c -g -O2  conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:25: error: `exit' undeclared (first use this function)
conftest.cc:25: error: (Each undeclared identifier is reported only once for each function it appears in.)
configure:5768: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "goocanvas"
| #define PACKAGE_TARNAME "goocanvas"
| #define PACKAGE_VERSION "0.9"
| #define
[cut at 20 KB]


(Sorry it's so long!)
Back to top
dreblen
Never Seen the Sunlight


Joined: 14 Jun 2007
Posts: 426
Location: Falun, WI USA

PostPosted: Thu Sep 27, 2007 8:11 pm    Post subject: Reply with quote

And this is the 'make' output:

Code: (Plaintext)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288

ABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_D
ISABLE_DEPRECATED -DPACKAGE_DATA_DIR=\"/usr/local/share\" -DPACKAGE_LOCALE_DIR=\
"/usr/local//locale\" -DG_LOG_DOMAIN=\"GooCanvas\" -mms-bitfields -IC:/gtk-devel
/GTK/include/gtk-2.0 -IC:/gtk-devel/GTK/lib/gtk-2.0/include -IC:/gtk-devel/GTK/i
nclude/atk-1.0 -IC:/gtk-devel/GTK/include/cairo -IC:/gtk-devel/GTK/include/pango
-1.0 -IC:/gtk-devel/GTK/include/glib-2.0 -IC:/gtk-devel/GTK/lib/glib-2.0/include
 -IC:/gtk-devel/GTK/include/freetype2 -IC:/gtk-devel/GTK/include -g -O2 -MT gooc
anvaswidget.lo -MD -MP -MF .deps/goocanvaswidget.Tpo -c goocanvaswidget.c -o goo
canvaswidget.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -mno-cygwin -DHAVE_CONFIG_H -I
. -I. -I.. -DG_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRE
CATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPACKAGE_DATA_DI
R=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -DG_LOG_D
OMAIN=\"GooCanvas\" -mms-bitfields -IC:/gtk-devel/GTK/include/gtk-2.0 -IC:/gtk-d
evel/GTK/lib/gtk-2.0/include -IC:/gtk-devel/GTK/include/atk-1.0 -IC:/gtk-devel/G
TK/include/cairo -IC:/gtk-devel/GTK/include/pango-1.0 -IC:/gtk-devel/GTK/include
/glib-2.0 -IC:/gtk-devel/GTK/lib/glib-2.0/include -IC:/gtk-devel/GTK/include/fre
etype2 -IC:/gtk-devel/GTK/include      -g -O2 -MT goocanvas.lo -MD -MP -MF ".dep
s/goocanvas.Tpo" -c -o goocanvas.lo goocanvas.c; \
        then mv -f ".deps/goocanvas.Tpo" ".deps/goocanvas.Plo"; else rm -f ".dep
s/goocanvas.Tpo"; exit 1; fi
 gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED -DPANGO_DIS
ABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_D
ISABLE_DEPRECATED -DPACKAGE_DATA_DIR=\"/usr/local/share\" -DPACKAGE_LOCALE_DIR=\
"/usr/local//locale\" -DG_LOG_DOMAIN=\"GooCanvas\" -mms-bitfields -IC:/gtk-devel
/GTK/include/gtk-2.0 -IC:/gtk-devel/GTK/lib/gtk-2.0/include -IC:/gtk-devel/GTK/i
nclude/atk-1.0 -IC:/gtk-devel/GTK/include/cairo -IC:/gtk-devel/GTK/include/pango
-1.0 -IC:/gtk-devel/GTK/include/glib-2.0 -IC:/gtk-devel/GTK/lib/glib-2.0/include
 -IC:/gtk-devel/GTK/include/freetype2 -IC:/gtk-devel/GTK/include -g -O2 -MT gooc
anvas.lo -MD -MP -MF .deps/goocanvas.Tpo -c goocanvas.c  -DDLL_EXPORT -DPIC -o .
libs/goocanvas.o
 gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED -DPANGO_DIS
ABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_D
ISABLE_DEPRECATED -DPACKAGE_DATA_DIR=\"/usr/local/share\" -DPACKAGE_LOCALE_DIR=\
"/usr/local//locale\" -DG_LOG_DOMAIN=\"GooCanvas\" -mms-bitfields -IC:/gtk-devel
/GTK/include/gtk-2.0 -IC:/gtk-devel/GTK/lib/gtk-2.0/include -IC:/gtk-devel/GTK/i
nclude/atk-1.0 -IC:/gtk-devel/GTK/include/cairo -IC:/gtk-devel/GTK/include/pango
-1.0 -IC:/gtk-devel/GTK/include/glib-2.0 -IC:/gtk-devel/GTK/lib/glib-2.0/include
 -IC:/gtk-devel/GTK/include/freetype2 -IC:/gtk-devel/GTK/include -g -O2 -MT gooc
anvas.lo -MD -MP -MF .deps/goocanvas.Tpo -c goocanvas.c -o goocanvas.o >/dev/nul
l 2>&1
/bin/sh ../libtool --tag=CC --mode=link gcc -mno-cygwin  -g -O2   -o libgoocanva
s.la -rpath /usr/local/lib -version-info 3:0:0 -export-dynamic -no-undefined -rp
ath /usr/local/lib  goocanvasatk.lo goocanvasellipse.lo goocanvasenumtypes.lo go
ocanvasgroup.lo goocanvasimage.lo goocanvasitem.lo goocanvasitemmodel.lo goocanv
asitemsimple.lo goocanvasmarshal.lo goocanvaspolyline.lo goocanvaspath.lo goocan
vasrect.lo goocanvasstyle.lo goocanvastable.lo goocanvastext.lo goocanvasutils.l
o goocanvaswidget.lo goocanvas.lo -user32 -Wl,-luuid -LC:/gtk-devel/GTK/lib -lgt
k-win32-2.0 -lgdk-win32-2.0 -lgdi32 -limm32 -lshell32 -lole32 -latk-1.0 -lgdk_pi
xbuf-2.0 -lpangowin32-1.0 -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lfontconfig -
lfreetype -lz -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lic
  v
libtool: link: warning: `/usr/lib/libiconv.la' seems to be moved

*** Warning: linker path does not have real file for library -lgdi32.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libgdi32 and none of the candidates passed a file format test
*** using a file magic. Last file checked: C:/gtk-devel/GTK/lib/libgdk-win32-2.0
.dll.a

*** Warning: linker path does not have real file for library -limm32.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libimm32 and none of the candidates passed a file format test
*** using a file magic. Last file checked: C:/gtk-devel/GTK/lib/libgdk-win32-2.0
.dll.a

*** Warning: linker path does not have real file for library -lshell32.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libshell32 and none of the candidates passed a file format test
*** using a file magic. Last file checked: C:/gtk-devel/GTK/lib/libgdk-win32-2.0
.dll.a

*** Warning: linker path does not have real file for library -lole32.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libole32 and none of the candidates passed a file format test
*** using a file magic. Last file checked: C:/gtk-devel/GTK/lib/libgdk-win32-2.0
.dll.a
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.
ar cru .libs/libgoocanvas.a  goocanvasatk.o goocanvasellipse.o goocanvasenumtype
s.o goocanvasgroup.o goocanvasimage.o goocanvasitem.o goocanvasitemmodel.o gooca
nvasitemsimple.o goocanvasmarshal.o goocanvaspolyline.o goocanvaspath.o goocanva
srect.o goocanvasstyle.o goocanvastable.o goocanvastext.o goocanvasutils.o gooca
nvaswidget.o goocanvas.o
ranlib .libs/libgoocanvas.a
creating libgoocanvas.la
(cd .libs && rm -f libgoocanvas.la && ln -s ../libgoocanvas.la libgoocanvas.la)
make[3]: Leaving directory `/cygdrive/c/source/goocanvas/goocanvas-0.9/src'
make[2]: Leaving directory `/cygdrive/c/source/goocanvas/goocanvas-0.9/src'
Making all in demo
make[2]: Entering directory `/cygdrive/c/source/goocanvas/goocanvas-0.9/demo'
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED -DPANGO_D
ISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK
_DISABLE_DEPRECATED -I../src -mms-bitfields -IC:/gtk-devel/GTK/include/gtk-2.0 -
IC:/gtk-devel/GTK/lib/gtk-2.0/include -IC:/gtk-devel/GTK/include/atk-1.0 -IC:/gt
k-devel/GTK/include/cairo -IC:/gtk-devel/GTK/include/pango-1.0 -IC:/gtk-devel/GT
K/include/glib-2.0 -IC:/gtk-devel/GTK/lib/glib-2.0/include -IC:/gtk-devel/GTK/in
clude/freetype2 -IC:/gtk-devel/GTK/include      -g -O2 -MT demo.o -MD -MP -MF ".
deps/demo.Tpo" -c -o demo.o demo.c; \
        then mv -f ".deps/demo.Tpo" ".deps/demo.Po"; else rm -f ".deps/demo.Tpo"
; exit 1; fi
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED -DPANGO_D
ISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK
_DISABLE_DEPRECATED -I../src -mms-bitfields -IC:/gtk-devel/GTK/include/gtk-2.0 -
IC:/gtk-devel/GTK/lib/gtk-2.0/include -IC:/gtk-devel/GTK/include/atk-1.0 -IC:/gt
k-devel/GTK/include/cairo -IC:/gtk-devel/GTK/include/pango-1.0 -IC:/gtk-devel/GT
K/include/glib-2.0 -IC:/gtk-devel/GTK/lib/glib-2.0/include -IC:/gtk-devel/GTK/in
clude/freetype2 -IC:/gtk-devel/GTK/include      -g -O2 -MT demo-fifteen.o -MD -M
P -MF ".deps/demo-fifteen.Tpo" -c -o demo-fifteen.o demo-fifteen.c; \
        then mv -f ".deps/demo-fifteen.Tpo" ".deps/demo-fifteen.Po"; else rm -f
".deps/demo-fifteen.Tpo"; exit 1; fi
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED -DPANGO_D
ISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK
_DISABLE_DEPRECATED -I../src -mms-bitfields -IC:/gtk-devel/GTK/include/gtk-2.0 -
IC:/gtk-devel/GTK/lib/gtk-2.0/include -IC:/gtk-devel/GTK/include/atk-1.0 -IC:/gt
k-devel/GTK/include/cairo -IC:/gtk-devel/GTK/include/pango-1.0 -IC:/gtk-devel/GT
K/include/glib-2.0 -IC:/gtk-devel/GTK/lib/glib-2.0/include -IC:/gtk-devel/GTK/in
clude/freetype2 -IC:/gtk-devel/GTK/include      -g -O2 -MT demo-scalability.o -M
D -MP -MF ".deps/demo-scalability.Tpo" -c -o demo-scalability.o demo-scalability
.c; \
        then mv -f ".deps/demo-scalability.Tpo" ".deps/demo-scalability.Po"; els
e rm -f ".deps/demo-scalability.Tpo"; exit 1; fi
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED -DPANGO_D
ISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK
_DISABLE_DEPRECATED -I../src -mms-bitfields -IC:/gtk-devel/GTK/include/gtk-2.0 -
IC:/gtk-devel/GTK/lib/gtk-2.0/include -IC:/gtk-devel/GTK/include/atk-1.0 -IC:/gt
k-devel/GTK/include/cairo -IC:/gtk-devel/GTK/include/pango-1.0 -IC:/gtk-devel/GT
K/include/glib-2.0 -IC:/gtk-devel/GTK/lib/glib-2.0/include -IC:/gtk-devel/GTK/in
clude/freetype2 -IC:/gtk-devel/GTK/include      -g -O2 -MT demo-grabs.o -MD -MP
-MF ".deps/demo-grabs.Tpo" -c -o demo-grabs.o demo-grabs.c; \
        then mv -f ".deps/demo-grabs.Tpo" ".deps/demo-grabs.Po"; else rm -f ".de
ps/demo-grabs.Tpo"; exit 1; fi
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED -DPANGO_D
ISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK
_DISABLE_DEPRECATED -I../src -mms-bitfields -IC:/gtk-devel/GTK/include/gtk-2.0 -
IC:/gtk-devel/GTK/lib/gtk-2.0/include -IC:/gtk-devel/GTK/include/atk-1.0 -IC:/gt
k-devel/GTK/include/cairo -IC:/gtk-devel/GTK/include/pango-1.0 -IC:/gtk-devel/GT
K/include/glib-2.0 -IC:/gtk-devel/GTK/lib/glib-2.0/include -IC:/gtk-devel/GTK/in
clude/freetype2 -IC:/gtk-devel/GTK/include      -g -O2 -MT demo-arrowhead.o -MD
-MP -MF ".deps/demo-arrowhead.Tpo" -c -o demo-arrowhead.o demo-arrowhead.c; \
        then mv -f ".deps/demo-arrowhead.Tpo" ".deps/demo-arrowhead.Po"; else rm
 -f ".deps/demo-arrowhead.Tpo"; exit 1; fi
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED -DPANGO_D
ISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK
_DISABLE_DEPRECATED -I../src -mms-bitfields -IC:/gtk-devel/GTK/include/gtk-2.0 -
IC:/gtk-devel/GTK/lib/gtk-2.0/include -IC:/gtk-devel/GTK/include/atk-1.0 -IC:/gt
k-devel/GTK/include/cairo -IC:/gtk-devel/GTK/include/pango-1.0 -IC:/gtk-devel/GT
K/include/glib-2.0 -IC:/gtk-devel/GTK/lib/glib-2.0/include -IC:/gtk-devel/GTK/in
clude/freetype2 -IC:/gtk-devel/GTK/include      -g -O2 -MT demo-features.o -MD -
MP -MF ".deps/demo-features.Tpo" -c -o demo-features.o demo-features.c; \
        then mv -f ".deps/demo-features.Tpo" ".deps/demo-features.Po"; else rm -
f ".deps/demo-features.Tpo"; exit 1; fi
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED -DPANGO_D
ISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK
_DISABLE_DEPRECATED -I../src -mms-bitfields -IC:/gtk-devel/GTK/include/gtk-2.0 -
IC:/gtk-devel/GTK/lib/gtk-2.0/include -IC:/gtk-devel/GTK/include/atk-1.0 -IC:/gt
k-devel/GTK/include/cairo -IC:/gtk-devel/GTK/include/pango-1.0 -IC:/gtk-devel/GT
K/include/glib-2.0 -IC:/gtk-devel/GTK/lib/glib-2.0/include -IC:/gtk-devel/GTK/in
clude/freetype2 -IC:/gtk-devel/GTK/include      -g -O2 -MT demo-events.o -MD -MP
 -MF ".deps/demo-events.Tpo" -c -o demo-events.o demo-events.c; \
        then mv -f ".deps/demo-events.Tpo" ".deps/demo-events.Po"; else rm -f ".
deps/demo-events.Tpo"; exit 1; fi
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED -DPANGO_D
ISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK
_DISABLE_DEPRECATED -I../src -mms-bitfields -IC:/gtk-devel/GTK/include/gtk-2.0 -
IC:/gtk-devel/GTK/lib/gtk-2.0/include -IC:/gtk-devel/GTK/include/atk-1.0 -IC:/gt
k-devel/GTK/include/cairo -IC:/gtk-devel/GTK/include/pango-1.0 -IC:/gtk-devel/GT
K/include/glib-2.0 -IC:/gtk-devel/GTK/lib/glib-2.0/include -IC:/gtk-devel/GTK/in
clude/freetype2 -IC:/gtk-devel/GTK/include      -g -O2 -MT demo-paths.o -MD -MP
-MF ".deps/demo-paths.Tpo" -c -o demo-paths.o demo-paths.c; \
        then mv -f ".deps/demo-paths.Tpo" ".deps/demo-paths.Po"; else rm -f ".de
ps/demo-paths.Tpo"; exit 1; fi
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED -DPANGO_D
ISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK
_DISABLE_DEPRECATED -I../src -mms-bitfields -IC:/gtk-devel/GTK/include/gtk-2.0 -
IC:/gtk-devel/GTK/lib/gtk-2.0/include -IC:/gtk-devel/GTK/include/atk-1.0 -IC:/gt
k-devel/GTK/include/cairo -IC:/gtk-devel/GTK/include/pango-1.0 -IC:/gtk-devel/GT
K/include/glib-2.0 -IC:/gtk-devel/GTK/lib/glib-2.0/include -IC:/gtk-devel/GTK/in
clude/freetype2 -IC:/gtk-devel/GTK/include      -g -O2 -MT demo-focus.o -MD -MP
-MF ".deps/demo-focus.Tpo" -c -o demo-focus.o demo-focus.c; \
        then mv -f ".deps/demo-focus.Tpo" ".deps/demo-focus.Po"; else rm -f ".de
ps/demo-focus.Tpo"; exit 1; fi
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED -DPANGO_D
ISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK
_DISABLE_DEPRECATED -I../src -mms-bitfields -IC:/gtk-devel/GTK/include/gtk-2.0 -
IC:/gtk-devel/GTK/lib/gtk-2.0/include -IC:/gtk-devel/GTK/include/atk-1.0 -IC:/gt
k-devel/GTK/include/cairo -IC:/gtk-devel/GTK/include/pango-1.0 -IC:/gtk-devel/GT
K/include/glib-2.0 -IC:/gtk-devel/GTK/lib/glib-2.0/include -IC:/gtk-devel/GTK/in
clude/freetype2 -IC:/gtk-devel/GTK/include      -g -O2 -MT demo-item.o -MD -MP -
MF ".deps/demo-item.Tpo" -c -o demo-item.o demo-item.c; \
        then mv -f ".deps/demo-item.Tpo" ".deps/demo-item.Po"; else rm -f ".deps
/demo-item.Tpo"; exit 1; fi
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED -DPANGO_D
ISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK
_DISABLE_DEPRECATED -I../src -mms-bitfields -IC:/gtk-devel/GTK/include/gtk-2.0 -
IC:/gtk-devel/GTK/lib/gtk-2.0/include -IC:/gtk-devel/GTK/include/atk-1.0 -IC:/gt
k-devel/GTK/include/cairo -IC:/gtk-devel/GTK/include/pango-1.0 -IC:/gtk-devel/GT
K/include/glib-2.0 -IC:/gtk-devel/GTK/lib/glib-2.0/include -IC:/gtk-devel/GTK/in
clude/freetype2 -IC:/gtk-devel/GTK/include      -g -O2 -MT demo-animation.o -MD
-MP -MF ".deps/demo-animation.Tpo" -c -o demo-animation.o demo-animation.c; \
        then mv -f ".deps/demo-animation.Tpo" ".deps/demo-animation.Po"; else rm
 -f ".deps/demo-animation.Tpo"; exit 1; fi
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED -DPANGO_D
ISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK
_DISABLE_DEPRECATED -I../src -mms-bitfields -IC:/gtk-devel/GTK/include/gtk-2.0 -
IC:/gtk-devel/GTK/lib/gtk-2.0/include -IC:/gtk-devel/GTK/include/atk-1.0 -IC:/gt
k-devel/GTK/include/cairo -IC:/gtk-devel/GTK/include/pango-1.0 -IC:/gtk-devel/GT
K/include/glib-2.0 -IC:/gtk-devel/GTK/lib/glib-2.0/include -IC:/gtk-devel/GTK/in
clude/freetype2 -IC:/gtk-devel/GTK/include      -g -O2 -MT demo-clipping.o -MD -
MP -MF ".deps/demo-clipping.Tpo" -c -o demo-clipping.o demo-clipping.c; \
        then mv -f ".deps/demo-clipping.Tpo" ".deps/demo-clipping.Po"; else rm -
f ".deps/demo-clipping.Tpo"; exit 1; fi
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED -DPANGO_D
ISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK
_DISABLE_DEPRECATED -I../src -mms-bitfields -IC:/gtk-devel/GTK/include/gtk-2.0 -
IC:/gtk-devel/GTK/lib/gtk-2.0/include -IC:/gtk-devel/GTK/include/atk-1.0 -IC:/gt
k-devel/GTK/include/cairo -IC:/gtk-devel/GTK/include/pango-1.0 -IC:/gtk-devel/GT
K/include/glib-2.0 -IC:/gtk-devel/GTK/lib/glib-2.0/include -IC:/gtk-devel/GTK/in
clude/freetype2 -IC:/gtk-devel/GTK/include      -g -O2 -MT demo-table.o -MD -MP
-MF ".deps/demo-table.Tpo" -c -o demo-table.o demo-table.c; \
        then mv -f ".deps/demo-table.Tpo" ".deps/demo-table.Po"; else rm -f ".de
ps/demo-table.Tpo"; exit 1; fi
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED -DPANGO_D
ISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK
_DISABLE_DEPRECATED -I../src -mms-bitfields -IC:/gtk-devel/GTK/include/gtk-2.0 -
IC:/gtk-devel/GTK/lib/gtk-2.0/include -IC:/gtk-devel/GTK/include/atk-1.0 -IC:/gt
k-devel/GTK/include/cairo -IC:/gtk-devel/GTK/include/pango-1.0 -IC:/gtk-devel/GT
K/include/glib-2.0 -IC:/gtk-devel/GTK/lib/glib-2.0/include -IC:/gtk-devel/GTK/in
clude/freetype2 -IC:/gtk-devel/GTK/include      -g -O2 -MT demo-large-line.o -MD
 -MP -MF ".deps/demo-large-line.Tpo" -c -o demo-large-line.o demo-large-line.c;
\
        then mv -f ".deps/demo-large-line.Tpo" ".deps/demo-large-line.Po"; else
rm -f ".deps/demo-large-line.Tpo"; exit 1; fi
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED -DPANGO_D
ISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK
_DISABLE_DEPRECATED -I../src -mms-bitfields -IC:/gtk-devel/GTK/include/gtk-2.0 -
IC:/gtk-devel/GTK/lib/gtk-2.0/include -IC:/gtk-devel/GTK/include/atk-1.0 -IC:/gt
k-devel/GTK/include/cairo -IC:/gtk-devel/GTK/include/pango-1.0 -IC:/gtk-devel/GT
K/include/glib-2.0 -IC:/gtk-devel/GTK/lib/glib-2.0/include -IC:/gtk-devel/GTK/in
clude/freetype2 -IC:/gtk-devel/GTK/include      -g -O2 -MT demo-large-items.o -M
D -MP -MF ".deps/demo-large-items.Tpo" -c -o demo-large-items.o demo-large-items
.c; \
        then mv -f ".deps/demo-large-items.Tpo" ".deps/demo-large-items.Po"; els
e rm -f ".deps/demo-large-items.Tpo"; exit 1; fi
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -DG_DISABLE_DEPRECATED -DPANGO_D
ISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK
_DISABLE_DEPRECATED -I../src -mms-bitfields -IC:/gtk-devel/GTK/include/gtk-2.0 -
IC:/gtk-devel/GTK/lib/gtk-2.0/include -IC:/gtk-devel/GTK/include/atk-1.0 -IC:/gt
k-devel/GTK/include/cairo -IC:/gtk-devel/GTK/include/pango-1.0 -IC:/gtk-devel/GT
K/include/glib-2.0 -IC:/gtk-devel/GTK/lib/glib-2.0/include -IC:/gtk-devel/GTK/in
clude/freetype2 -IC:/gtk-devel/GTK/include      -g -O2 -MT demo-large-rect.o -MD
 -MP -MF ".deps/demo-large-rect.Tpo" -c -o demo-large-rect.o demo-large-rect.c;
\
        then mv -f ".deps/demo-large-rect.Tpo" ".deps/demo-large-rect.Po"; else
rm -f ".deps/demo-large-rect.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link gcc -mno-cygwin  -g -O2   -o demo.exe  d
emo.o demo-fifteen.o demo-scalability.o demo-grabs.o demo-arrowhead.o demo-featu
res.o demo-events.o demo-paths.o demo-focus.o demo-item.o demo-animation.o demo-
clipping.o demo-table.o demo-large-line.o demo-large-items.o demo-large-rect.o .
./src/libgoocanvas.la -user32 -Wl,-luuid -LC:/gtk-devel/GTK/lib -lgtk-win32-2.0
-lgdk-win32-2.0 -lgdi32 -limm32 -lshell32 -lole32 -latk-1.0 -lgdk_pixbuf-2.0 -lp
angowin32-1.0 -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lfontconfig -lfreetype -l
  -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
mkdir .libs
gcc -mno-cygwin -g -O2 -o demo.exe demo.o demo-fifteen.o demo-scalability.o demo
-grabs.o demo-arrowhead.o demo-features.o demo-events.o demo-paths.o demo-focus.
o demo-item.o demo-animation.o demo-clipping.o demo-table.o demo-large-line.o de
mo-large-items.o demo-large-rect.o -user32 -Wl,-luuid ""  ../src/.libs/libgoocan
vas.a -LC:/gtk-devel/GTK/lib -L/usr/lib -lgtk-win32-2.
[cut at 20 KB]


once again, I'm sorry it's so long! Please note that this isn't the entire output, this is just as far as cygwin would show, if you need more, I can increase the buffer size and post again
Back to top
caracal
GTK+ Geek


Joined: 21 Jun 2007
Posts: 90
Location: Wilkes Barre Pa

PostPosted: Thu Sep 27, 2007 9:48 pm    Post subject: Reply with quote

It looks like cygwin's Standard C Library is messed up but don't quote me on that i don't use windows so i could be wrong.
Back to top
dreblen
Never Seen the Sunlight


Joined: 14 Jun 2007
Posts: 426
Location: Falun, WI USA

PostPosted: Fri Sep 28, 2007 1:25 pm    Post subject: Reply with quote

do you know how I could check to see if this is the problem?
Back to top
caracal
GTK+ Geek


Joined: 21 Jun 2007
Posts: 90
Location: Wilkes Barre Pa

PostPosted: Sat Sep 29, 2007 1:37 am    Post subject: Reply with quote

i do believe the problem lies here.

libtool: link: warning: `/usr/lib/libiconv.la' seems to be moved

*** Warning: linker path does not have real file for library -lgdi32.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libgdi32 and none of the candidates passed a file format test
*** using a file magic. Last file checked: C:/gtk-devel/GTK/lib/libgdk-win32-2.0
.dll.a

*** Warning: linker path does not have real file for library -limm32.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libimm32 and none of the candidates passed a file format test
*** using a file magic. Last file checked: C:/gtk-devel/GTK/lib/libgdk-win32-2.0
.dll.a

*** Warning: linker path does not have real file for library -lshell32.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libshell32 and none of the candidates passed a file format test
*** using a file magic. Last file checked: C:/gtk-devel/GTK/lib/libgdk-win32-2.0
.dll.a

*** Warning: linker path does not have real file for library -lole32.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libole32 and none of the candidates passed a file format test
*** using a file magic. Last file checked: C:/gtk-devel/GTK/lib/libgdk-win32-2.0
.dll.a
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

On a side note your trying to develop applications with library's that were not meant for windows in any situation for the most part your going to have problems if you want to develop with library's meant for gnu/linux then spit your partition and install ubuntu or something or download vmware server and install a linux distro on that its free.
Back to top
dreblen
Never Seen the Sunlight


Joined: 14 Jun 2007
Posts: 426
Location: Falun, WI USA

PostPosted: Sat Sep 29, 2007 3:20 pm    Post subject: Reply with quote

I have a kubuntu partition, but I'm writing this program for my brother who doesn't use linux, so I need to use windows, is there any way I can fix this so that it works for windows, possibly use MSYS instead of cygwin? thank you for your replies...
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP