Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old July 25, 2010, 03:25   #131
hernaldo
Rookie
 
Join Date: Jul 2010
Posts: 14
hernaldo is on a distinguished road
hi, I get an error very similar:

Code:
**** Rebuild of configuration Debug for project Angband ****

**** Internal Builder is used for build               ****
gcc -O0 -g3 -Wall -c -fmessage-length=0 -osrc\score.o ..\src\score.c
gcc -O0 -g3 -Wall -c -fmessage-length=0 -osrc\ui.o ..\src\ui.c
gcc -O0 -g3 -Wall -c -fmessage-length=0 -osrc\monster\melee1.o ..\src\monster\melee1.c
..\src\monster\melee1.c:18:21: angband.h: No such file or directory
..\src\monster\melee1.c:19:29: object/tvalsval.h: No such file or directory
..\src\monster\melee1.c: In function `monster_critical':
..\src\monster\melee1.c:36: warning: implicit declaration of function `randint0'
..\src\monster\melee1.c: At top level:
..\src\monster\melee1.c:63: error: syntax error before "check_hit"
..\src\monster\melee1.c:64: warning: return type defaults to `int'
..\src\monster\melee1.c: In function `check_hit':
..\src\monster\melee1.c:71: error: `p_ptr' undeclared (first use in this function)
..\src\monster\melee1.c:71: error: (Each undeclared identifier is reported only once
..\src\monster\melee1.c:71: error: for each function it appears in.)
..\src\monster\melee1.c:74: warning: implicit declaration of function `test_hit'
What other options I can to check in Eclipse?
hernaldo is offline   Reply With Quote
Old July 25, 2010, 04:57   #132
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,274
Donated: $40
Pete Mack is on a distinguished road
You are running the build from the wrong directory (src/monster rather than src).
If you add .. to the include path, you will solve this problem. But there will be a lot more...
Pete Mack is online now   Reply With Quote
Old July 25, 2010, 05:48   #133
hernaldo
Rookie
 
Join Date: Jul 2010
Posts: 14
hernaldo is on a distinguished road
Quote:
You are running the build from the wrong directory (src/monster rather than src).
If you add .. to the include path, you will solve this problem. But there will be a lot more...
sorry for my question, but do you say in the My Computer->Environment Variables-> Path ? -> I have ";C:\mingw\bin" as says the guide.

Or in the Eclipse -> Make Target -> Build Command? -> here I have:

Target name: default
Make target:checked "same as the targe name"
Build Command: unchecked "use builder settings"
build command: mingw32-make -f makefile.win MINGW=yes
Build settings: checked "Run all proyects buildres."

thanks!
hernaldo is offline   Reply With Quote
Old April 7, 2011, 14:28   #134
jens
Swordsman
 
Join Date: Apr 2011
Location: Göteborg, Sweden
Posts: 348
jens is on a distinguished road
Hi!

I'm new to this forum (but not to Angband :-) and am trying to follow the instructions at the start of this thread to get the source and compile in Eclipse. I have installed the Eclipse plugin for SVN, but when trying 'svn://rephial.org/angband/trunk' I get an error indicating that the folder does not exist remotely...

Looking around for a bit I find that the repository has changed, and Git is now used instead of SVN, is this correct? Should I get EGit (the Eclipse addon for Git)? I don't want to clutter my installation of Eclipse with too many unnecessary plugins... Or is there another best practice for getting the source into Eclipse?

/Jens
jens is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:45.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.