LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 04-04-2005, 04:24 PM   #1
gaddargarson
LQ Newbie
 
Registered: Sep 2004
Location: izmir
Distribution: mandrake,GBL,fedora core,slackware
Posts: 26

Rep: Reputation: 15
libgdiplus make error /want to install for mono


I 've wanted to install libgdiplus-1.0.6 for mono on Fedora Core 3..The configure step was successful .But at make I have this error. I didn't understand this.

[root@localhost libgdiplus-1.0.6]# make
make all-recursive
make[1]: Entering directory `/root/mono/libgdiplus-1.0.6'
Making all in src
make[2]: Entering directory `/root/mono/libgdiplus-1.0.6/src'
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2 -I/usr/local/include/cairo -I/usr/local/include -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -Wall -Werror -Wno-unused -Wno-format -g -O2 -pthread -MT adjustablearrowcap.lo -MD -MP -MF ".deps/adjustablearrowcap.Tpo" -c -o adjustablearrowcap.lo adjustablearrowcap.c; \
then mv -f ".deps/adjustablearrowcap.Tpo" ".deps/adjustablearrowcap.Plo"; else rm -f ".deps/adjustablearrowcap.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2 -I/usr/local/include/cairo -I/usr/local/include -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -Wall -Werror -Wno-unused -Wno-format -g -O2 -pthread -MT adjustablearrowcap.lo -MD -MP -MF .deps/adjustablearrowcap.Tpo -c adjustablearrowcap.c -fPIC -DPIC -o .libs/adjustablearrowcap.o
In file included from adjustablearrowcap.c:27:
gdip.h:727: error: syntax error before "FcFontSet"
gdip.h:727: warning: no semicolon at end of struct or union
gdip.h:729: warning: type defaults to `int' in declaration of `config'
gdip.h:729: warning: data definition has no type or storage class
gdip.h:730: error: syntax error before '}' token
gdip.h:730: warning: type defaults to `int' in declaration of `GpFontCollection'
gdip.h:730: warning: data definition has no type or storage class
gdip.h:734: error: syntax error before "FcPattern"
gdip.h:734: warning: no semicolon at end of struct or union
gdip.h:736: error: syntax error before '}' token
gdip.h:736: warning: type defaults to `int' in declaration of `GpFontFamily'
gdip.h:736: warning: data definition has no type or storage class
gdip.h:744: error: syntax error before "FT_Library"
gdip.h:744: warning: no semicolon at end of struct or union
gdip.h:745: warning: type defaults to `int' in declaration of `GpFont'
gdip.h:745: warning: data definition has no type or storage class
gdip.h:838: error: syntax error before '*' token
gdip.h:838: warning: type defaults to `int' in declaration of `GDIP_display'
gdip.h:838: warning: data definition has no type or storage class
gdip.h:1015: warning: type defaults to `int' in declaration of `GpFont'
gdip.h:1015: error: syntax error before '*' token
gdip.h:1016: warning: type defaults to `int' in declaration of `GpFont'
gdip.h:1016: error: syntax error before '*' token
gdip.h:1044: error: syntax error before '*' token
gdip.h:1045: error: syntax error before '*' token
gdip.h:1046: error: syntax error before '*' token
gdip.h:1047: warning: type defaults to `int' in declaration of `GpFontFamily'
gdip.h:1047: error: syntax error before '*' token
gdip.h:1048: error: syntax error before '*' token
gdip.h:1049: error: syntax error before '*' token
gdip.h:1050: error: syntax error before '*' token
gdip.h:1051: error: syntax error before '*' token
gdip.h:1052: warning: type defaults to `int' in declaration of `GpFontFamily'
gdip.h:1052: error: syntax error before '*' token
gdip.h:1053: warning: type defaults to `int' in declaration of `GpFontFamily'
gdip.h:1053: error: syntax error before '*' token
gdip.h:1054: warning: type defaults to `int' in declaration of `GpFontFamily'
gdip.h:1054: error: syntax error before '*' token
gdip.h:1055: warning: type defaults to `int' in declaration of `GpFontFamily'
gdip.h:1055: error: syntax error before '*' token
gdip.h:1056: warning: type defaults to `int' in declaration of `GpFontFamily'
gdip.h:1056: error: syntax error before '*' token
gdip.h:1057: error: syntax error before '*' token
gdip.h:1058: error: syntax error before '*' token
gdip.h:1059: error: syntax error before '*' token
gdip.h:1063: warning: type defaults to `int' in declaration of `GpFontFamily'
gdip.h:1063: error: syntax error before '*' token
gdip.h:1064: error: syntax error before "GpFontCollection"
gdip.h:1065: error: syntax error before '*' token
In file included from adjustablearrowcap.c:27:
gdip.h:1166: warning: parameter has incomplete type
adjustablearrowcap.c: In function `gdip_adjust_arrowcap_clone_cap':
adjustablearrowcap.c:75: warning: implicit declaration of function `memcpy'
make[2]: *** [adjustablearrowcap.lo] Hata 1
make[2]: Leaving directory `/root/mono/libgdiplus-1.0.6/src'
make[1]: *** [all-recursive] Hata 1
make[1]: Leaving directory `/root/mono/libgdiplus-1.0.6'
make: *** [all] Hata 2
 
Old 04-10-2005, 01:15 PM   #2
bendahmon
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Rep: Reputation: 0
I get this error too. For all I know, could be some includes that are missing. I added

#include <cairo/cairo-ft.h>

in gdip.h

It seemed to come through the errors you describe above, but it still doesn't work. (Maybe this isn't a good solution either, for all I know)

Have you found a solution to this?
 
Old 04-10-2005, 04:38 PM   #3
gaddargarson
LQ Newbie
 
Registered: Sep 2004
Location: izmir
Distribution: mandrake,GBL,fedora core,slackware
Posts: 26

Original Poster
Rep: Reputation: 15
No not yet
But I'm sure there are some people who succeeded this. I want to make Windows Forms with Mono.(Now I'm developing C# applications for my school projects. But now only console applications on Linux. For Windows Forms I'm using Windows and .NET) My development environment is Linux and I will see Windows Forms on Linux. I'm now working on this. ( As far as I can remember libgdiplus is needed for Mono to compile and run Windows Forms. So it is important)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Install a thing becuse of a error I get when doing make install jkt Linux - Software 6 01-19-2010 09:16 PM
libgdiplus make error /about mono gaddargarson Fedora 1 04-05-2005 11:29 AM
Error "make: *** No rule to make target `install'. Stop." help Ohmn Mandriva 8 07-02-2004 08:02 PM
Problem when I install mono ICO Linux - Software 1 08-11-2003 07:18 AM
mysql installation error (make install error) jolly_good2000 Linux - Software 1 11-14-2002 05:00 PM


All times are GMT -5. The time now is 07:01 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration