View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000952aMuleExternal Connpublic2006-08-24 18:172006-08-27 18:14
Reporterpablo 
Assigned ToKry 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionopen 
PlatformOSOS Version
Product Version2.1.3 
Target VersionFixed in Version 
Summary0000952: Error in compiling process
DescriptionI'm getting error in amule compiling process (logs below)

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/lib/wx/include/base-unicode-release-2.6 -I/usr/local/include/wx-2.6 -DwxUSE_GUI=0 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -I./libs -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -O2 -DUSE_WX_EXTENSIONS -MT libmuleappgui_a-BarShader.o -MD -MP -MF ".deps/libmuleappgui_a-BarShader.Tpo" -c -o libmuleappgui_a-BarShader.o `test -f 'BarShader.cpp' || echo './'`BarShader.cpp; \
then mv -f ".deps/libmuleappgui_a-BarShader.Tpo" ".deps/libmuleappgui_a-BarShader.Po"; else rm -f ".deps/libmuleappgui_a-BarShader.Tpo"; exit 1; fi
BarShader.cpp:26:19: error: wx/dc.h: Nie ma takiego pliku ani katalogu
BarShader.cpp: In member function 'void CBarShader::BuildModifiers()':
BarShader.cpp:118: error: 'sin' was not declared in this scope
BarShader.cpp: In member function 'void CBarShader::Draw(wxDC*, int, int, bool)':
BarShader.cpp:161: error: aggregate 'wxRect rectSpan' has incomplete type and cannot be defined
BarShader.cpp:167: error: invalid use of undefined type 'struct wxDC'
BarShader.h:34: error: forward declaration of 'struct wxDC'
BarShader.cpp:167: error: 'wxTRANSPARENT_PEN' was not declared in this scope
BarShader.cpp: In member function 'void CBarShader::FillRect(wxDC*, const wxRect&, uint32, bool)':
BarShader.cpp:255: error: 'wxBrush' was not declared in this scope
BarShader.cpp:255: error: expected `;' before 'brush'
BarShader.cpp:256: error: invalid use of undefined type 'struct wxDC'
BarShader.h:34: error: forward declaration of 'struct wxDC'
BarShader.cpp:256: error: 'brush' was not declared in this scope
BarShader.cpp:257: error: invalid use of undefined type 'struct wxDC'
BarShader.h:34: error: forward declaration of 'struct wxDC'
BarShader.cpp:259: error: invalid use of undefined type 'const struct wxRect'
BarShader.h:33: error: forward declaration of 'const struct wxRect'
BarShader.cpp:260: error: invalid use of undefined type 'const struct wxRect'
BarShader.h:33: error: forward declaration of 'const struct wxRect'
BarShader.cpp:260: error: invalid use of undefined type 'const struct wxRect'
BarShader.h:33: error: forward declaration of 'const struct wxRect'
BarShader.cpp:261: error: invalid use of undefined type 'const struct wxRect'
BarShader.h:33: error: forward declaration of 'const struct wxRect'
BarShader.cpp:262: error: invalid use of undefined type 'const struct wxRect'
BarShader.h:33: error: forward declaration of 'const struct wxRect'
BarShader.cpp:270: error: 'wxPen' was not declared in this scope
BarShader.cpp:270: error: expected `;' before 'pen'
BarShader.cpp:271: error: invalid use of undefined type 'struct wxDC'
BarShader.h:34: error: forward declaration of 'struct wxDC'
BarShader.cpp:271: error: 'pen' was not declared in this scope
BarShader.cpp:274: error: invalid use of undefined type 'struct wxDC'
BarShader.h:34: error: forward declaration of 'struct wxDC'
BarShader.cpp:277: error: invalid use of undefined type 'struct wxDC'
BarShader.h:34: error: forward declaration of 'struct wxDC'
BarShader.cpp:266: warning: unused variable 'cRed'
BarShader.cpp:267: warning: unused variable 'cGreen'
BarShader.cpp:268: warning: unused variable 'cBlue'
BarShader.cpp:281: error: invalid use of undefined type 'struct wxDC'
BarShader.h:34: error: forward declaration of 'struct wxDC'
BarShader.cpp:281: error: 'wxNullBrush' was not declared in this scope
make[3]: *** [libmuleappgui_a-BarShader.o] Błąd 1
make[3]: Leaving directory `/usr/src/amule/amule-cvs/src'
make[2]: *** [all-recursive] Błąd 1
make[2]: Leaving directory `/usr/src/amule/amule-cvs/src'
make[1]: *** [all-recursive] Błąd 1

Configure options for amule:
./configure --disable-debug --enable-amule-gui --enable-optimize --disable-monolithic

Configure options for wxBase:
./configure --prefix=/usr --enable-gtk2 --enable-unicode
Additional InformationI always get this error if --enable-amule-gui option is set
TagsNo tags attached.
Fixed in Revision
Operating SystemGNU Debian Linux 3.1 Sarge
Attached Files

- Relationships

-  Notes
(0002098)
Kry (manager)
2006-08-26 14:09

You can't compile amule with wxBase. You can, however, compile amuled, but you ahve to disable all gui apps. Check configure --help for more info on the flags.

- Issue History
Date Modified Username Field Change
2006-08-24 18:17 pablo New Issue
2006-08-24 18:17 pablo Operating System => GNU Debian Linux 3.1 Sarge
2006-08-26 14:09 Kry Note Added: 0002098
2006-08-27 18:14 Kry Status new => assigned
2006-08-27 18:14 Kry Assigned To => Kry
2006-08-27 18:14 Kry Status assigned => closed


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker