Compile Error in Dev-Cpp
Moderator: Forum Moderators
Compile Error in Dev-Cpp
I'm trying to compile Wesnoth with Dev-Cpp and get a compile error here, which I'm unable to fix, since I don't really know much about C/C++...
Referencing to
Referencing to
in file_menu.cpp:while (font::line_width(*it, menu_font_size) > width() - 30 - 25)
C:\Wesnoth\wesnoth source\src\widgets\file_menu.cpp In member function `void gui::file_menu::display_current_files()':
80 C:\Wesnoth\wesnoth source\src\widgets\file_menu.cpp [Warning] comparison between signed and unsigned integer expressions
80 C:\Wesnoth\wesnoth source\src\widgets\file_menu.cpp cannot find -lSDL_net
80 C:\Wesnoth\wesnoth source\src\widgets\file_menu.cpp ld returned 1 exit status
80 C:\Wesnoth\wesnoth source\src\widgets\file_menu.cpp *** [wesnoth.exe] Error 1
- Attachments
-
- file_menu.cpp
- The complete file...
- (6.73 KiB) Downloaded 224 times
AFAIK nobody managed to get a fully working compile on DevCpp yet. You'll have more luck with a cross compile.
WesCamp-i18n - Translations for User Campaigns:
http://www.wesnoth.org/wiki/WesCamp
Translators for all languages required: contact me. No geek skills required!
http://www.wesnoth.org/wiki/WesCamp
Translators for all languages required: contact me. No geek skills required!
-
- Retired Developer
- Posts: 2633
- Joined: March 22nd, 2004, 11:22 pm
- Location: An Earl's Roadstead
I use DevCpp all the time. Problem is that you do not have the SDL_net package. Go to Tools/Package-manager and you will not see it listed there. You will need to update via Tools/check-for-updates.
"you can already do that with WML"
Fight Creeeping Biggerism!
http://www.wesnoth.org/forum/viewtopic. ... 760#131760
http://www.wesnoth.org/forum/viewtopic. ... 1358#11358
-l"NAME" adds a library so in this case it's Python 2.4 which is missing.
WesCamp-i18n - Translations for User Campaigns:
http://www.wesnoth.org/wiki/WesCamp
Translators for all languages required: contact me. No geek skills required!
http://www.wesnoth.org/wiki/WesCamp
Translators for all languages required: contact me. No geek skills required!