Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » Allegro gui -problem

This thread is locked; no one can reply to it. rss feed Print
 1   2 
Allegro gui -problem
CGamesPlay
Member #2,559
July 2002
avatar

Copy the output from the command window to show us what you typed and what the results were. You can copy output by clicking on the command icon (top left icon) and saying Edit->Mark. Select and press enter to copy.

Run make and also run dir :)

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

pawel559 pawel559
Member #8,319
February 2007
avatar

Microsoft Windows XP [Wersja 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

D:\Documents and Settings\PMUZYKA>cd D:\Documents and Settings\PMUZYKA\Pulpit\MA
SkinG-v0.80\MASkinG

D:\Documents and Settings\PMUZYKA\Pulpit\MASkinG-v0.80\MASkinG>fixmingw.bat
Makefiles configured. Now go to the src directory
and run 'make' and 'make install'

D:\Documents and Settings\PMUZYKA\Pulpit\MASkinG-v0.80\MASkinG>C:\COdeBlocks\bin
\make
C:\COdeBlocks\bin\make: *** No targets. Stop.

D:\Documents and Settings\PMUZYKA\Pulpit\MASkinG-v0.80\MASkinG>

Kauhiz
Member #4,798
July 2004

Instead of "C:\COdeBlocks\bin\make" just type "make"?

---
It's Ridge Racer! RIIIIIDGE RAAAAACER!

CGamesPlay
Member #2,559
July 2002
avatar

It says to "go to the src" directory. cd src, then make.

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

pawel559 pawel559
Member #8,319
February 2007
avatar

I do that but I see "*** no targets. Stop.".
My log:
Microsoft Windows XP [Wersja 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

D:\Documents and Settings\PMUZYKA>cd D:\Documents and Settings\PMUZYKA\Pulpit\MA
SkinG065\MASkinG

D:\Documents and Settings\PMUZYKA\Pulpit\MASkinG065\MASkinG>fixmingw.bat
Makefiles configured. Now go to the src directory
and run 'make' and 'make install'

D:\Documents and Settings\PMUZYKA\Pulpit\MASkinG065\MASkinG>C:

C:\>cd C:\COdeBlocks\bin

C:\COdeBlocks\bin>make
make: *** No targets. Stop.

C:\COdeBlocks\bin>

miran
Member #2,407
June 2002

GO TO THE FSCKING SRC DIRECTORY!

That means you should type cd src before running make and not cd C:\COdeBlocks\bin.

--
sig used to be here

pawel559 pawel559
Member #8,319
February 2007
avatar

I do that and libary was create ,but it's empty .
My log:
Microsoft Windows XP [Wersja 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

D:\Documents and Settings\PMUZYKA>cd D:\Documents and Settings\PMUZYKA\Pulpit\MA
SkinG

D:\Documents and Settings\PMUZYKA\Pulpit\MASkinG>fixmingw.bat
Makefiles configured. Now go to the src directory
and run 'make' and 'make install'

D:\Documents and Settings\PMUZYKA\Pulpit\MASkinG>cd src

D:\Documents and Settings\PMUZYKA\Pulpit\MASkinG\src>C:\COdeBlocks\bin\make
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/DialogDo.o -c DialogDo.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/DialogDo.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Icon.o -c Icon.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/Icon.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/CheckBox.o -c CheckBox.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/CheckBox.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/ClearScreen.o -c ClearScreen.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/ClearScreen.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/DialogObj.o -c DialogObj.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/DialogObj.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Dialog.o -c Dialog.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/Dialog.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/DRS.o -c DRS.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/DRS.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/EditText.o -c EditText.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/EditText.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Button.o -c Button.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/Button.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/HyperText.o -c HyperText.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/HyperText.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Bitmap.o -c Bitmap.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/Bitmap.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Panel.o -c Panel.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/Panel.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/PanelRaised.o -c PanelRaised.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/PanelRaised.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/PanelSunken.o -c PanelSunken.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/PanelSunken.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/PanelRidge.o -c PanelRidge.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/PanelRidge.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/PanelGroove.o -c PanelGroove.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/PanelGroove.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/BoxShadow.o -c BoxShadow.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/BoxShadow.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/RadioButton.o -c RadioButton.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/RadioButton.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Box.o -c Box.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/Box.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Slider.o -c Slider.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/Slider.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/HiddenList.o -c HiddenList.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/HiddenList.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Text.o -c Text.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/Text.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/WinButton.o -c WinButton.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/WinButton.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Skin.o -c Skin.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/Skin.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/List.o -c List.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/List.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Scroller.o -c Scroller.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/Scroller.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/MASkinG.o -c MASkinG.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/MASkinG.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Window.o -c Window.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/Window.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/WinBox.o -c WinBox.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/WinBox.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Keyboard.o -c Keyboard.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/Keyboard.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Progress.o -c Progress.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/Progress.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Log.o -c Log.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/Log.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Console.o -c Console.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/Console.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Alert.o -c Alert.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/Alert.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Alert3.o -c Alert3.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/Alert3.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/FileSelect.o -c FileSelect.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/FileSelect.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Settings.o -c Settings.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/Settings.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Rect.o -c Rect.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/Rect.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Timer.o -c Timer.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/Timer.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Tab.o -c Tab.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/Tab.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Font.o -c Font.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/Font.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/MusicPlayer.o -c MusicPlayer.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/MusicPlayer.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/MidiPlayer.o -c MidiPlayer.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/MidiPlayer.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/WinIcon.o -c WinIcon.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/WinIcon.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/MessageBox.o -c MessageBox.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/MessageBox.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/ColorSel.o -c ColorSel.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/ColorSel.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Separator.o -c Separator.cpp
g++: installation problem, cannot exec `cc1plus': No such file or directory
C:\COdeBlocks\bin\make: [../obj/mingw/Separator.o] Error 1 (ignored)
ar src ../lib/mingw/libmasking.a ../obj/mingw/DialogDo.o ../obj/mingw/Icon.o ../
obj/mingw/CheckBox.o ../obj/mingw/ClearScreen.o ../obj/mingw/DialogObj.o ../obj/
mingw/Dialog.o ../obj/mingw/DRS.o ../obj/mingw/EditText.o ../obj/mingw/Button.o
../obj/mingw/HyperText.o ../obj/mingw/Bitmap.o ../obj/mingw/Panel.o ../obj/mingw
/PanelRaised.o ../obj/mingw/PanelSunken.o ../obj/mingw/PanelRidge.o ../obj/mingw
PanelGroove.o ../obj/mingw/BoxShadow.o ../obj/mingw/RadioButton.o ../obj/mingw
Box.o ../obj/mingw/Slider.o ../obj/mingw/HiddenList.o ../obj/mingw/Text.o ../obj
/mingw/WinButton.o ../obj/mingw/Skin.o ../obj/mingw/List.o ../obj/mingw/Scroller
.o ../obj/mingw/MASkinG.o ../obj/mingw/Window.o ../obj/mingw/WinBox.o ../obj/min
gw/Keyboard.o ../obj/mingw/Progress.o ../obj/mingw/Log.o ../obj/mingw/Console.o
../obj/mingw/Alert.o ../obj/mingw/Alert3.o ../obj/mingw/FileSelect.o ../obj/ming
w/Settings.o ../obj/mingw/Rect.o ../obj/mingw/Timer.o ../obj/mingw/Tab.o ../obj/
mingw/Font.o ../obj/mingw/MusicPlayer.o ../obj/mingw/MidiPlayer.o ../obj/mingw/W
inIcon.o ../obj/mingw/MessageBox.o ../obj/mingw/ColorSel.o ../obj/mingw/Separato
r.o
ar: ../obj/mingw/DialogDo.o: No such file or directory
C:\COdeBlocks\bin\make: [../lib/mingw/libmasking.a] Error 1 (ignored)

D:\Documents and Settings\PMUZYKA\Pulpit\MASkinG\src>

miran
Member #2,407
June 2002

Put C:\CodeBlocks\bin in your PATH. Like this:

set PATH=%PATH%;C:\CodeBlocks\bin

Then repeat make.

--
sig used to be here

pawel559 pawel559
Member #8,319
February 2007
avatar

Nothing change the libary is empty:
My log:
Font.cpp: At global scope:
Font.cpp:404: error: expected init-declarator before '*' token
Font.cpp:404: error: expected `,' or `;' before '*' token
Font.cpp:470: error: expected init-declarator before '*' token
Font.cpp:470: error: expected `,' or `;' before '*' token
Font.cpp:509: error: expected init-declarator before '*' token
Font.cpp:509: error: expected `,' or `;' before '*' token
Font.cpp: In function `void datedit_find_character(BITMAP*, int*, int*, int*, in
t*)':
Font.cpp:561: error: `bitmap_color_depth' undeclared (first use this function)
Font.cpp:566: error: `makecol_depth' undeclared (first use this function)
Font.cpp:571: error: `getpixel' undeclared (first use this function)
Font.cpp:577: error: invalid use of undefined type `struct BITMAP'
C:/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/allegro/internal/
aintern.h:766: error: forward declaration of `struct BITMAP'
Font.cpp:580: error: invalid use of undefined type `struct BITMAP'
C:/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/allegro/internal/
aintern.h:766: error: forward declaration of `struct BITMAP'
Font.cpp:592: error: invalid use of undefined type `struct BITMAP'
C:/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/allegro/internal/
aintern.h:766: error: forward declaration of `struct BITMAP'
Font.cpp:599: error: invalid use of undefined type `struct BITMAP'
C:/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/allegro/internal/
aintern.h:766: error: forward declaration of `struct BITMAP'
Font.cpp: At global scope:
Font.cpp:608: error: `FONT_GLYPH' was not declared in this scope
Font.cpp:608: error: `gl' was not declared in this scope
Font.cpp:608: error: expected primary-expression before "int"
Font.cpp:609: error: initializer expression list treated as compound expression
Font.cpp:609: error: expected `,' or `;' before '{' token
Font.cpp: In function `int import_bitmap_font_color(BITMAP**, int)':
Font.cpp:656: error: `create_bitmap_ex' undeclared (first use this function)
Font.cpp:658: error: `clear_to_color' undeclared (first use this function)
Font.cpp:662: error: `blit' undeclared (first use this function)
Font.cpp: In function `int bitmap_font_ismono(BITMAP*)':
Font.cpp:679: error: invalid use of undefined type `struct BITMAP'
C:/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/allegro/internal/
aintern.h:766: error: forward declaration of `struct BITMAP'
Font.cpp:680: error: invalid use of undefined type `struct BITMAP'
C:/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/allegro/internal/
aintern.h:766: error: forward declaration of `struct BITMAP'
Font.cpp:681: error: `getpixel' undeclared (first use this function)
Font.cpp: In function `FONT_COLOR_DATA* upgrade_to_color_data(FONT_MONO_DATA*)':

Font.cpp:698: error: `_al_malloc' undeclared (first use this function)
Font.cpp:704: error: 'struct FONT_COLOR_DATA' has no member named 'bitmaps'
Font.cpp:707: error: `text_mode' undeclared (first use this function)
Font.cpp:710: error: `FONT_GLYPH' undeclared (first use this function)
Font.cpp:710: error: `g' undeclared (first use this function)
Font.cpp:710: error: 'struct FONT_MONO_DATA' has no member named 'glyphs'
Font.cpp:711: error: `create_bitmap_ex' undeclared (first use this function)
Font.cpp:712: error: `clear_to_color' undeclared (first use this function)
Font.cpp:714: error: invalid use of undefined type `struct BITMAP'
C:/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/allegro/internal/
aintern.h:766: error: forward declaration of `struct BITMAP'
Font.cpp:720: error: `free' undeclared (first use this function)
Font.cpp:723: error: 'struct FONT_MONO_DATA' has no member named 'glyphs'
Font.cpp: At global scope:
Font.cpp:731: error: variable or field `upgrade_to_color' declared void
Font.cpp:731: error: `FONT' was not declared in this scope
Font.cpp:731: error: `f' was not declared in this scope
Font.cpp:732: error: expected `,' or `;' before '{' token
Font.cpp:774: error: expected init-declarator before '*' token
Font.cpp:774: error: expected `,' or `;' before '*' token
Font.cpp:862: error: expected init-declarator before '*' token
Font.cpp:862: error: expected `,' or `;' before '*' token
Font.cpp: In member function `MASFont* MASFont::Load(const char*)':
Font.cpp:952: error: `get_extension' undeclared (first use this function)
Font.cpp:952: error: `uconvert_ascii' undeclared (first use this function)
Font.cpp:952: error: `ustricmp' undeclared (first use this function)
Font.cpp:958: error: `af' undeclared (first use this function)
Font.cpp:958: error: `TRUE' undeclared (first use this function)
Font.cpp:958: error: `import_bitmap_font' undeclared (first use this function)
Font.cpp:963: error: `import_scripted_font' undeclared (first use this function)

Font.cpp:968: error: `import_it_font' undeclared (first use this function)
Font.cpp:973: error: `PACKFILE' undeclared (first use this function)
Font.cpp:973: error: `f' undeclared (first use this function)
Font.cpp:973: error: `F_READ' undeclared (first use this function)
Font.cpp:973: error: `pack_fopen' undeclared (first use this function)
Font.cpp:975: error: `pack_igetl' undeclared (first use this function)
Font.cpp:976: error: `pack_fclose' undeclared (first use this function)
Font.cpp:978: error: `import_grx_font' undeclared (first use this function)
Font.cpp:982: error: `import_bios_font' undeclared (first use this function)
Font.cpp:992: error: `ff' undeclared (first use this function)
Font.cpp:992: error: `uconvert_toascii' undeclared (first use this function)
Font.cpp:992: error: `alfont_load_font' undeclared (first use this function)
Font.cpp:999: error: `font' undeclared (first use this function)
C:\COdeBlocks\bin\make: [../obj/mingw/Font.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/MusicPlayer.o -c MusicPlayer.cpp
In file included from ../include/MASkinG/Skin.h:19,
from ../include/MASkinG/DialogObj.h:18,
from ../include/MASkinG/Dialog.h:18,
from ../include/MASkinG/MusicPlayer.h:18,
from MusicPlayer.cpp:15:
../include/MASkinG/global.h:18:20: alfont.h: No such file or directory
In file included from ../include/MASkinG/global.h:20,
from ../include/MASkinG/Skin.h:19,
from ../include/MASkinG/DialogObj.h:18,
from ../include/MASkinG/Dialog.h:18,
from ../include/MASkinG/MusicPlayer.h:18,
from MusicPlayer.cpp:15:
../include/MASkinG/Font.h:27: error: ISO C++ forbids declaration of `ALFONT_FONT
' with no type
../include/MASkinG/Font.h:27: error: expected `;' before '*' token
../include/MASkinG/Font.h:36: error: expected `)' before '*' token
../include/MASkinG/Font.h:65: error: `ALFONT_FONT' has not been declared
../include/MASkinG/Font.h:65: error: ISO C++ forbids declaration of `f' with no
type
In file included from ../include/MASkinG/DialogObj.h:18,
from ../include/MASkinG/Dialog.h:18,
from ../include/MASkinG/MusicPlayer.h:18,
from MusicPlayer.cpp:15:
../include/MASkinG/Skin.h:184: error: `ALFONT_FONT' has not been declared
../include/MASkinG/Skin.h:184: error: ISO C++ forbids declaration of `f' with no
type
C:\COdeBlocks\bin\make: [../obj/mingw/MusicPlayer.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/MidiPlayer.o -c MidiPlayer.cpp
In file included from ../include/MASkinG/Skin.h:19,
from ../include/MASkinG/DialogObj.h:18,
from ../include/MASkinG/Dialog.h:18,
from ../include/MASkinG/MusicPlayer.h:18,
from ../include/MASkinG/MidiPlayer.h:19,
from MidiPlayer.cpp:15:
../include/MASkinG/global.h:18:20: alfont.h: No such file or directory
In file included from ../include/MASkinG/global.h:20,
from ../include/MASkinG/Skin.h:19,
from ../include/MASkinG/DialogObj.h:18,
from ../include/MASkinG/Dialog.h:18,
from ../include/MASkinG/MusicPlayer.h:18,
from ../include/MASkinG/MidiPlayer.h:19,
from MidiPlayer.cpp:15:
../include/MASkinG/Font.h:27: error: ISO C++ forbids declaration of `ALFONT_FONT
' with no type
../include/MASkinG/Font.h:27: error: expected `;' before '*' token
../include/MASkinG/Font.h:36: error: expected `)' before '*' token
../include/MASkinG/Font.h:65: error: `ALFONT_FONT' has not been declared
../include/MASkinG/Font.h:65: error: ISO C++ forbids declaration of `f' with no
type
In file included from ../include/MASkinG/DialogObj.h:18,
from ../include/MASkinG/Dialog.h:18,
from ../include/MASkinG/MusicPlayer.h:18,
from ../include/MASkinG/MidiPlayer.h:19,
from MidiPlayer.cpp:15:
../include/MASkinG/Skin.h:184: error: `ALFONT_FONT' has not been declared
../include/MASkinG/Skin.h:184: error: ISO C++ forbids declaration of `f' with no
type
C:\COdeBlocks\bin\make: [../obj/mingw/MidiPlayer.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/WinIcon.o -c WinIcon.cpp
In file included from ../include/MASkinG/Skin.h:19,
from ../include/MASkinG/DialogObj.h:18,
from ../include/MASkinG/Dialog.h:18,
from ../include/MASkinG/Text.h:18,
from ../include/MASkinG/Button.h:18,
from ../include/MASkinG/WinButton.h:18,
from ../include/MASkinG/WinIcon.h:18,
from WinIcon.cpp:15:
../include/MASkinG/global.h:18:20: alfont.h: No such file or directory
In file included from ../include/MASkinG/global.h:20,
from ../include/MASkinG/Skin.h:19,
from ../include/MASkinG/DialogObj.h:18,
from ../include/MASkinG/Dialog.h:18,
from ../include/MASkinG/Text.h:18,
from ../include/MASkinG/Button.h:18,
from ../include/MASkinG/WinButton.h:18,
from ../include/MASkinG/WinIcon.h:18,
from WinIcon.cpp:15:
../include/MASkinG/Font.h:27: error: ISO C++ forbids declaration of `ALFONT_FONT
' with no type
../include/MASkinG/Font.h:27: error: expected `;' before '*' token
../include/MASkinG/Font.h:36: error: expected `)' before '*' token
../include/MASkinG/Font.h:65: error: `ALFONT_FONT' has not been declared
../include/MASkinG/Font.h:65: error: ISO C++ forbids declaration of `f' with no
type
In file included from ../include/MASkinG/DialogObj.h:18,
from ../include/MASkinG/Dialog.h:18,
from ../include/MASkinG/Text.h:18,
from ../include/MASkinG/Button.h:18,
from ../include/MASkinG/WinButton.h:18,
from ../include/MASkinG/WinIcon.h:18,
from WinIcon.cpp:15:
../include/MASkinG/Skin.h:184: error: `ALFONT_FONT' has not been declared
../include/MASkinG/Skin.h:184: error: ISO C++ forbids declaration of `f' with no
type
C:\COdeBlocks\bin\make: [../obj/mingw/WinIcon.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/MessageBox.o -c MessageBox.cpp
In file included from ../include/MASkinG/Skin.h:19,
from ../include/MASkinG/DialogObj.h:18,
from ../include/MASkinG/Dialog.h:18,
from ../include/MASkinG/Window.h:18,
from ../include/MASkinG/MessageBox.h:18,
from MessageBox.cpp:15:
../include/MASkinG/global.h:18:20: alfont.h: No such file or directory
In file included from ../include/MASkinG/global.h:20,
from ../include/MASkinG/Skin.h:19,
from ../include/MASkinG/DialogObj.h:18,
from ../include/MASkinG/Dialog.h:18,
from ../include/MASkinG/Window.h:18,
from ../include/MASkinG/MessageBox.h:18,
from MessageBox.cpp:15:
../include/MASkinG/Font.h:27: error: ISO C++ forbids declaration of `ALFONT_FONT
' with no type
../include/MASkinG/Font.h:27: error: expected `;' before '*' token
../include/MASkinG/Font.h:36: error: expected `)' before '*' token
../include/MASkinG/Font.h:65: error: `ALFONT_FONT' has not been declared
../include/MASkinG/Font.h:65: error: ISO C++ forbids declaration of `f' with no
type
In file included from ../include/MASkinG/DialogObj.h:18,
from ../include/MASkinG/Dialog.h:18,
from ../include/MASkinG/Window.h:18,
from ../include/MASkinG/MessageBox.h:18,
from MessageBox.cpp:15:
../include/MASkinG/Skin.h:184: error: `ALFONT_FONT' has not been declared
../include/MASkinG/Skin.h:184: error: ISO C++ forbids declaration of `f' with no
type
C:\COdeBlocks\bin\make: [../obj/mingw/MessageBox.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/ColorSel.o -c ColorSel.cpp
In file included from ../include/MASkinG/Skin.h:19,
from ../include/MASkinG/DialogObj.h:18,
from ../include/MASkinG/Dialog.h:18,
from ../include/MASkinG/Window.h:18,
from ../include/MASkinG/ColorSel.h:18,
from ColorSel.cpp:17:
../include/MASkinG/global.h:18:20: alfont.h: No such file or directory
In file included from ../include/MASkinG/global.h:20,
from ../include/MASkinG/Skin.h:19,
from ../include/MASkinG/DialogObj.h:18,
from ../include/MASkinG/Dialog.h:18,
from ../include/MASkinG/Window.h:18,
from ../include/MASkinG/ColorSel.h:18,
from ColorSel.cpp:17:
../include/MASkinG/Font.h:27: error: ISO C++ forbids declaration of `ALFONT_FONT
' with no type
../include/MASkinG/Font.h:27: error: expected `;' before '*' token
../include/MASkinG/Font.h:36: error: expected `)' before '*' token
../include/MASkinG/Font.h:65: error: `ALFONT_FONT' has not been declared
../include/MASkinG/Font.h:65: error: ISO C++ forbids declaration of `f' with no
type
In file included from ../include/MASkinG/DialogObj.h:18,
from ../include/MASkinG/Dialog.h:18,
from ../include/MASkinG/Window.h:18,
from ../include/MASkinG/ColorSel.h:18,
from ColorSel.cpp:17:
../include/MASkinG/Skin.h:184: error: `ALFONT_FONT' has not been declared
../include/MASkinG/Skin.h:184: error: ISO C++ forbids declaration of `f' with no
type
C:\COdeBlocks\bin\make: [../obj/mingw/ColorSel.o] Error 1 (ignored)
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Separator.o -c Separator.cpp
In file included from ../include/MASkinG/Skin.h:19,
from ../include/MASkinG/DialogObj.h:18,
from ../include/MASkinG/Dialog.h:18,
from ../include/MASkinG/Separator.h:18,
from Separator.cpp:15:
../include/MASkinG/global.h:18:20: alfont.h: No such file or directory
In file included from ../include/MASkinG/global.h:20,
from ../include/MASkinG/Skin.h:19,
from ../include/MASkinG/DialogObj.h:18,
from ../include/MASkinG/Dialog.h:18,
from ../include/MASkinG/Separator.h:18,
from Separator.cpp:15:
../include/MASkinG/Font.h:27: error: ISO C++ forbids declaration of `ALFONT_FONT
' with no type
../include/MASkinG/Font.h:27: error: expected `;' before '*' token
../include/MASkinG/Font.h:36: error: expected `)' before '*' token
../include/MASkinG/Font.h:65: error: `ALFONT_FONT' has not been declared
../include/MASkinG/Font.h:65: error: ISO C++ forbids declaration of `f' with no
type
In file included from ../include/MASkinG/DialogObj.h:18,
from ../include/MASkinG/Dialog.h:18,
from ../include/MASkinG/Separator.h:18,
from Separator.cpp:15:
../include/MASkinG/Skin.h:184: error: `ALFONT_FONT' has not been declared
../include/MASkinG/Skin.h:184: error: ISO C++ forbids declaration of `f' with no
type
C:\COdeBlocks\bin\make: [../obj/mingw/Separator.o] Error 1 (ignored)
ar src ../lib/mingw/libmasking.a ../obj/mingw/DialogDo.o ../obj/mingw/Icon.o ../
obj/mingw/CheckBox.o ../obj/mingw/ClearScreen.o ../obj/mingw/DialogObj.o ../obj/
mingw/Dialog.o ../obj/mingw/DRS.o ../obj/mingw/EditText.o ../obj/mingw/Button.o
../obj/mingw/HyperText.o ../obj/mingw/Bitmap.o ../obj/mingw/Panel.o ../obj/mingw
/PanelRaised.o ../obj/mingw/PanelSunken.o ../obj/mingw/PanelRidge.o ../obj/mingw
PanelGroove.o ../obj/mingw/BoxShadow.o ../obj/mingw/RadioButton.o ../obj/mingw
Box.o ../obj/mingw/Slider.o ../obj/mingw/HiddenList.o ../obj/mingw/Text.o ../obj
/mingw/WinButton.o ../obj/mingw/Skin.o ../obj/mingw/List.o ../obj/mingw/Scroller
.o ../obj/mingw/MASkinG.o ../obj/mingw/Window.o ../obj/mingw/WinBox.o ../obj/min
gw/Keyboard.o ../obj/mingw/Progress.o ../obj/mingw/Log.o ../obj/mingw/Console.o
../obj/mingw/Alert.o ../obj/mingw/Alert3.o ../obj/mingw/FileSelect.o ../obj/ming
w/Settings.o ../obj/mingw/Rect.o ../obj/mingw/Timer.o ../obj/mingw/Tab.o ../obj/
mingw/Font.o ../obj/mingw/MusicPlayer.o ../obj/mingw/MidiPlayer.o ../obj/mingw/W
inIcon.o ../obj/mingw/MessageBox.o ../obj/mingw/ColorSel.o ../obj/mingw/Separato
r.o
ar: ../obj/mingw/DialogDo.o: No such file or directory
C:\COdeBlocks\bin\make: [../lib/mingw/libmasking.a] Error 1 (ignored)

D:\Documents and Settings\PMUZYKA\Pulpit\MASkinG\src>

miran
Member #2,407
June 2002

You must first install AllegroFont. Just like the instructions said. ::)

--
sig used to be here

pawel559 pawel559
Member #8,319
February 2007
avatar

Now I have other problem
My log:
Microsoft Windows XP [Wersja 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

D:\Documents and Settings\PMUZYKA>cd D:\Documents and Settings\PMUZYKA\Pulpit\Al
Font

D:\Documents and Settings\PMUZYKA\Pulpit\AlFont>fixdos.bat
Converting files to DOS format...
Nazwa 'utod' nie jest rozpoznawana jako polecenie wewnętrzne lub zewnętrzne,
program wykonywalny lub plik wsadowy.
D:\Documents and Settings\PMUZYKA\Pulpit\AlFont>cd src

D:\Documents and Settings\PMUZYKA\Pulpit\AlFont\src>cd D:\Documents and Settings
\PMUZYKA\Pulpit\AlFont

D:\Documents and Settings\PMUZYKA\Pulpit\AlFont>set PATH=%PATH%;C:\CodeBlocks\bi
n

D:\Documents and Settings\PMUZYKA\Pulpit\AlFont>C:\COdeBlocks\bin\make
gcc -c -Wall -O2 -march=pentium -fomit-frame-pointer -finline-functions -ffast-m
ath -Ifreetype/include -Iinclude src/alfont.c -o obj/djgpp/static/alfont.o
In file included from src/alfont.c:17:
include/alfont.h:464:3: warning: no newline at end of file
src/alfont.c: In function `alfont_textout_aa_ex':
src/alfont.c:876: error: invalid lvalue in unary `&'
src/alfont.c:876: error: invalid lvalue in unary `&'
src/alfont.c: In function `alfont_textout_ex':
src/alfont.c:1962: error: invalid lvalue in unary `&'
src/alfont.c:1962: error: invalid lvalue in unary `&'
src/alfont.c: In function `alfont_text_length':
src/alfont.c:2740: error: invalid lvalue in unary `&'
src/alfont.c:2740: error: invalid lvalue in unary `&'
src/alfont.c: In function `alfont_ugetc':
src/alfont.c:3052: warning: unused variable `lpszW_pointer'
C:\COdeBlocks\bin\make: *** [alfont.o] Error 1

D:\Documents and Settings\PMUZYKA\Pulpit\AlFont>

CGamesPlay
Member #2,559
July 2002
avatar

Miran... why on Earth does your makefile ignore every error it gets?

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

pawel559 pawel559
Member #8,319
February 2007
avatar

My game need gui .Is CGUI easy for install ?

nonnus29
Member #2,606
August 2002
avatar

You guys rock. I'm bookmarking this thread to reference in the next 'no one helps newbs' thread.

8-)

miran
Member #2,407
June 2002

Quote:

Miran... why on Earth does your makefile ignore every error it gets?

I don't know. I wrote it (actually copy-pasted it from somewhere else) around about a long time ago when I knew nothing about makefiles. Now I'm older and wiser so I could probably fix it, but the problem now is that I'm lazy.

Quote:

My game need gui .Is CGUI easy for install ?

Probably as easy as most other libs and easier than some.

About AllegroFont, you need v1.92, not 2.xx.

--
sig used to be here

pawel559 pawel559
Member #8,319
February 2007
avatar

Microsoft Windows XP [Wersja 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

D:\Documents and Settings\PMUZYKA>cd D:\Documents and Settings\PMUZYKA\Pulpit\MA
SkinG065\MASkinG

D:\Documents and Settings\PMUZYKA\Pulpit\MASkinG065\MASkinG>fixmingw.bat
Makefiles configured. Now go to the src directory
and run 'make' and 'make install'

D:\Documents and Settings\PMUZYKA\Pulpit\MASkinG065\MASkinG>cd src

D:\Documents and Settings\PMUZYKA\Pulpit\MASkinG065\MASkinG\src>set PATH=%PATH%;
C:\CodeBlocks\bin

D:\Documents and Settings\PMUZYKA\Pulpit\MASkinG065\MASkinG\src>C:\COdeBlocks\bi
n\make
g++ -O2 -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fpeephole -s
-o ../obj/mingw/Font.o -c Font.cpp
Font.cpp: In member function `void MASFont::Textout(BITMAP*, const char*, int, i
nt, int, int)':
Font.cpp:96: warning: `text_mode' is deprecated (declared at C:/CodeBlocks/bin/.
./lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:155)
Font.cpp:96: warning: `text_mode' is deprecated (declared at C:/CodeBlocks/bin/.
./lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:155)
Font.cpp:97: warning: `textout' is deprecated (declared at C:/CodeBlocks/bin/../
lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:157)
Font.cpp:97: warning: `textout' is deprecated (declared at C:/CodeBlocks/bin/../
lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:157)
Font.cpp: In member function `void MASFont::AATextout(BITMAP*, const char*, int,
int, int, int)':
Font.cpp:107: warning: `text_mode' is deprecated (declared at C:/CodeBlocks/bin/
../lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:155)
Font.cpp:107: warning: `text_mode' is deprecated (declared at C:/CodeBlocks/bin/
../lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:155)
Font.cpp:108: warning: `textout' is deprecated (declared at C:/CodeBlocks/bin/..
/lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:157)
Font.cpp:108: warning: `textout' is deprecated (declared at C:/CodeBlocks/bin/..
/lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:157)
Font.cpp: In member function `void MASFont::TextoutCentre(BITMAP*, const char*,
int, int, int, int)':
Font.cpp:123: warning: `text_mode' is deprecated (declared at C:/CodeBlocks/bin/
../lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:155)
Font.cpp:123: warning: `text_mode' is deprecated (declared at C:/CodeBlocks/bin/
../lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:155)
Font.cpp:124: warning: `textout_centre' is deprecated (declared at C:/CodeBlocks
/bin/../lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:162)
Font.cpp:124: warning: `textout_centre' is deprecated (declared at C:/CodeBlocks
/bin/../lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:162)
Font.cpp: In member function `void MASFont::AATextoutCentre(BITMAP*, const char*
, int, int, int, int)':
Font.cpp:134: warning: `text_mode' is deprecated (declared at C:/CodeBlocks/bin/
../lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:155)
Font.cpp:134: warning: `text_mode' is deprecated (declared at C:/CodeBlocks/bin/
../lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:155)
Font.cpp:135: warning: `textout_centre' is deprecated (declared at C:/CodeBlocks
/bin/../lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:162)
Font.cpp:135: warning: `textout_centre' is deprecated (declared at C:/CodeBlocks
/bin/../lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:162)
Font.cpp: In member function `void MASFont::TextoutRight(BITMAP*, const char*, i
nt, int, int, int)':
Font.cpp:150: warning: `text_mode' is deprecated (declared at C:/CodeBlocks/bin/
../lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:155)
Font.cpp:150: warning: `text_mode' is deprecated (declared at C:/CodeBlocks/bin/
../lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:155)
Font.cpp:151: warning: `textout_right' is deprecated (declared at C:/CodeBlocks/
bin/../lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:167)
Font.cpp:151: warning: `textout_right' is deprecated (declared at C:/CodeBlocks/
bin/../lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:167)
Font.cpp: In member function `void MASFont::AATextoutRight(BITMAP*, const char*,
int, int, int, int)':
Font.cpp:161: warning: `text_mode' is deprecated (declared at C:/CodeBlocks/bin/
../lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:155)
Font.cpp:161: warning: `text_mode' is deprecated (declared at C:/CodeBlocks/bin/
../lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:155)
Font.cpp:162: warning: `textout_right' is deprecated (declared at C:/CodeBlocks/
bin/../lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:167)
Font.cpp:162: warning: `textout_right' is deprecated (declared at C:/CodeBlocks/
bin/../lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:167)
Font.cpp: In function `FONT* import_bios_font(const char*)':
Font.cpp:485: error: 'struct PACKFILE' has no member named 'todo'
Font.cpp: In function `FONT_COLOR_DATA* upgrade_to_color_data(FONT_MONO_DATA*)':

Font.cpp:707: warning: `text_mode' is deprecated (declared at C:/CodeBlocks/bin/
../lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:155)
Font.cpp:707: warning: `text_mode' is deprecated (declared at C:/CodeBlocks/bin/
../lib/gcc/mingw32/3.4.4/../../../../include/allegro/alcompat.h:155)
C:\COdeBlocks\bin\make: [../obj/mingw/Font.o] Error 1 (ignored)
ar src ../lib/mingw/libmasking.a ../obj/mingw/DialogDo.o ../obj/mingw/Icon.o ../
obj/mingw/CheckBox.o ../obj/mingw/ClearScreen.o ../obj/mingw/DialogObj.o ../obj/
mingw/Dialog.o ../obj/mingw/DRS.o ../obj/mingw/EditText.o ../obj/mingw/Button.o
../obj/mingw/HyperText.o ../obj/mingw/Bitmap.o ../obj/mingw/Panel.o ../obj/mingw
/PanelRaised.o ../obj/mingw/PanelSunken.o ../obj/mingw/PanelRidge.o ../obj/mingw
PanelGroove.o ../obj/mingw/BoxShadow.o ../obj/mingw/RadioButton.o ../obj/mingw
Box.o ../obj/mingw/Slider.o ../obj/mingw/HiddenList.o ../obj/mingw/Text.o ../obj
/mingw/WinButton.o ../obj/mingw/Skin.o ../obj/mingw/List.o ../obj/mingw/Scroller
.o ../obj/mingw/MASkinG.o ../obj/mingw/Window.o ../obj/mingw/WinBox.o ../obj/min
gw/Keyboard.o ../obj/mingw/Progress.o ../obj/mingw/Log.o ../obj/mingw/Console.o
../obj/mingw/Alert.o ../obj/mingw/Alert3.o ../obj/mingw/FileSelect.o ../obj/ming
w/Settings.o ../obj/mingw/Rect.o ../obj/mingw/Timer.o ../obj/mingw/Tab.o ../obj/
mingw/Font.o ../obj/mingw/MusicPlayer.o ../obj/mingw/MidiPlayer.o ../obj/mingw/W
inIcon.o ../obj/mingw/MessageBox.o ../obj/mingw/ColorSel.o ../obj/mingw/Separato
r.o
ar: ../obj/mingw/Font.o: No such file or directory
C:\COdeBlocks\bin\make: [../lib/mingw/libmasking.a] Error 1 (ignored)

D:\Documents and Settings\PMUZYKA\Pulpit\MASkinG065\MASkinG\src>

miran
Member #2,407
June 2002

edit: nevermind

--
sig used to be here

CGamesPlay
Member #2,559
July 2002
avatar

Please start using code tags to paste long segments. Click the Help link in the Reply box if you don't know how.

Quote:

Font.cpp:485: error: 'struct PACKFILE' has no member named 'todo'

That's the only error you've gotten. Very strange. Miran? :)

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

miran
Member #2,407
June 2002

Quote:

That's the only error you've gotten. Very strange. Miran?

That particular piece of code was copied&pasted from the Grabber font loader plugin. I didn't write it. I didn't even read it.

As for the warnings, there are preprocessor checks in there to make sure appropriate code is used on different versions of Allegro. It looks like the 4.0 code is being compiled for 4.2. Which means there's something wrong with the OP's copy of Allegro. Or something...

--
sig used to be here

 1   2 


Go to: