Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Missing files in ASSS.DEV Plus Compile Error
Goto page Previous  1, 2
 
Post new topic   Reply to topic Printable version
 View previous topic  Antiwarp checking? Post :: Post My Best Continuum Idea Yet!  View next topic  
Author Message
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Tue Oct 30, 2007 11:52 pm    Post subject: Reply to topic Reply with quote

tcsoccerman wrote:
i think i found a spot where in system.mk where there is trouble,

Code: Show/Hide
# locations of useful programs
INSTALL := install
LN := ln
PYTHON := $C:/Documents and Settings/tcsoccerman/My Documents/asss-1.4.4/windeps/python.exe
REALPATH := readlink -f


the only one i've changed is PYTHON, i'm notto sure what the other one's are. can someone clarify?

The others should be fine, but your PYTHON variable is not how it should be, or at least it's not how I did mine. Install python and then set the PYTHON variable to your Python path. (For me it was C:\Coding\Python24 or something like that.)
_________________
This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Thu Nov 01, 2007 5:13 pm    Post subject: Reply to topic Reply with quote

I just tried to build asss 1.4.4 using devcpp 4.9.9.2 on win xp. I have cygwin installed. I have Python 2.5 installed.

First I commented out have_bdb and have_mysql in system.mk, since I don't have those. Then I opened os.mk and pasted this line after the first if statement:
Code: Show/Hide
SYS_NAME := MINGW-dev-c++
I had to do this because I have cygwin installed, otherwise devcpp tries to compile with cygwin makefile settings.

Next I commented this line:
Code: Show/Hide
PYTHON := $(WINDEPS)/python.exe
Mainly because that file doesn't exist in asss-1.4.4.zip, but also because I have C:\Python25 on my system path anyway. That's line 48 of the original os.mk.

After this line:
Code: Show/Hide
include $(WINDEPS)/system-windeps.mk
I added these 2 lines:
Code: Show/Hide
PYTHON_HOME = C:/Python25
PYTHON_INC = $(PYTHON_HOME)/include
This is because system-windeps.mk changes/overrides all the python settings in system.mk (so don't bother editing those), one of them to windeps/pythoninc which is empty.

Finally I copied python24.dll from bin to windeps.

Then I opened asss.dev, ignored the missing file messages and just clicked compile, this generates a few warning messages but asss.exe, turf.dll, funky.dll and pymod.dll do get compiled.

Edit:
I could probably enable have_bdb and have_mysql since the makefile uses the stuff in windeps, no need to separately install win32 dev versions of those.
_________________
ss news


Last edited by Smong on Thu Nov 01, 2007 6:29 pm, edited 3 times in total
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Thu Nov 01, 2007 6:04 pm    Post subject: Reply to topic Reply with quote

I found the resolution to DevC++ 'cc1' not found error on Vista(?).

Installed python 2.4
You need to grab MingW separate and install.
Download and install DevC++ without MingW.
Setup DevC++ to use the MingW

Quote:

(You may end up allowing Bloodshed Dev C to use MinGW Make instead of
GNU Make)

Select the Tools -> Compiler Options menu item

Under the Directories -> Binaries tab add two new paths (for MinGW and
GCC libexec components):-

C:\MinGW\bin
C:\MinGW\libexec\gcc\mingw32\3.4.5


Then I began compiling thing's by hand and added the make path to the PATH environmental variable.
Quote:

PATH=....;C:\MinGW\libexec\gcc\mingw32\3.4.5


Then...
Copied Python24.dll into the /windeps/ folder since it didn't exist in the C:\Python24 folder.

system-windeps.mk
Code: Show/Hide

PYTHON_HOME = C:\Python24
PYTHON_INC = $(PYTHON_HOME)\include
PYTHON_LIB = $(PYTHON_HOME)\lib
PYTHON_CFLAGS = -I$(PYTHON_INC)
PYTHON_LDFLAGS = -L$(PYTHON_LIB) -lpython24


os.mk
Code: Show/Hide

ifeq ($(findstring MINGW,$(SYS_NAME)),MINGW)

# set up paths to point to windeps
WINDEPS := ../windeps

INSTALL := $(WINDEPS)/install.exe
PYTHON := C:/Python24/python.exe
symlink_bins := no

include $(WINDEPS)/system-windeps.mk

run_dlltool = yes
PTHREAD_LIB = -L$(WINDEPS) -lpthreadGC2 -lwsock32
ZLIB_LIB = -L$(WINDEPS) -lzdll
SO_LDFLAGS = $(call tobuild,import.imp) $(PTHREAD_LIB)
EXPORT_SYMBOLS = $(call tobuild,export.exp)
EXE = .exe
SO = dll
W32COMPAT = win32compat
EXTRA_INCLUDE_DIRS = -I$(WINDEPS)
EXTRA_INSTALL_FILES = $(WINDEPS)/zlib1.dll $(WINDEPS)/pthreadGC2.dll \
    $(WINDEPS)/libdb4.dll $(WINDEPS)/python24.dll

SYS_NAME := ok
endif

_________________
Performance is often the art of cheating carefully. - James Gosling


Last edited by CypherJF on Sat Nov 03, 2007 1:22 pm, edited 1 time in total
Back to top
View users profile Send private message Add User to Ignore List
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Sat Nov 03, 2007 2:38 am    Post subject: Reply to topic Reply with quote

Ahh thanks cyph, I was trying to figure that out myself.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Sat Nov 03, 2007 1:27 pm    Post subject: Reply to topic Reply with quote

No problem, this issue was driving me crazy. icon_confused.gif
Back to top
View users profile Send private message Add User to Ignore List
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Tue Mar 18, 2008 9:06 pm    Post subject: Reply to topic Reply with quote

is it reading my value for asss home wrong?

Code: Show/Hide

Compiler: Default compiler
Executing  make...
make.exe -f "Makefile" all
process_begin: CreateProcess((null), uname -s, ...) failed.
core/core.mk:24: warning: overriding commands for target `C:/Documents'
core/core.mk:20: warning: ignoring old commands for target `C:/Documents'
core/core.mk:24: warning: overriding commands for target `and'
core/core.mk:20: warning: ignoring old commands for target `and'
core/core.mk:24: warning: overriding commands for target `Settings/Scott/My'
core/core.mk:20: warning: ignoring old commands for target `Settings/Scott/My'
core/core.mk:24: warning: overriding commands for target `Documents/Death'
core/core.mk:20: warning: ignoring old commands for target `Documents/Death'
core/core.mk:24: warning: overriding commands for target `Match'
core/core.mk:20: warning: ignoring old commands for target `Match'
database/database.mk:5: warning: overriding commands for target `C:/Documents'
core/core.mk:24: warning: ignoring old commands for target `C:/Documents'
database/database.mk:5: warning: overriding commands for target `and'
core/core.mk:24: warning: ignoring old commands for target `and'
database/database.mk:5: warning: overriding commands for target `Settings/Scott/My'
core/core.mk:24: warning: ignoring old commands for target `Settings/Scott/My'
database/database.mk:5: warning: overriding commands for target `Documents/Death'
core/core.mk:24: warning: ignoring old commands for target `Documents/Death'
database/database.mk:5: warning: overriding commands for target `Match'
core/core.mk:24: warning: ignoring old commands for target `Match'
funky/funky.mk:5: warning: overriding commands for target `C:/Documents'
database/database.mk:5: warning: ignoring old commands for target `C:/Documents'
funky/funky.mk:5: warning: overriding commands for target `and'
database/database.mk:5: warning: ignoring old commands for target `and'
funky/funky.mk:5: warning: overriding commands for target `Settings/Scott/My'
database/database.mk:5: warning: ignoring old commands for target `Settings/Scott/My'
funky/funky.mk:5: warning: overriding commands for target `Documents/Death'
database/database.mk:5: warning: ignoring old commands for target `Documents/Death'
funky/funky.mk:5: warning: overriding commands for target `Match'
database/database.mk:5: warning: ignoring old commands for target `Match'
make.exe: *** virtual memory exhausted.  Stop.

Execution terminated


the path is supposed to be...

C:\Documents and Settings\Scott\My Documents\Death Match Zone

for asss home

whenever there's a space it splits off...
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Thu Mar 20, 2008 9:09 am    Post subject: Reply to topic Reply with quote

You could try putting the path in double quotes "like this".
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Thu Mar 20, 2008 6:12 pm    Post subject: Reply to topic Reply with quote

ahhh that helped.

new error:

Compiler: Default compiler
Executing make...
make.exe -f "Makefile" all
process_begin: CreateProcess((null), uname -s, ...) failed.
core/core.mk:19: *** multiple target patterns. Stop.

Execution terminated


when making a file for mapdata in core.mk.

you probably need more information?
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Wed Apr 02, 2008 10:25 am    Post subject: Reply to topic Reply with quote

Ignoring the issue where there are spaces in the path, why did you change ASSSHOME? Try putting it back to "..".
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Sun Apr 06, 2008 6:17 pm    Post subject: Reply to topic Reply with quote

i changed it back to ".." and i have this:


Code: Show/Hide
Compiler: Default compiler
Executing  make...
make.exe -f "Makefile" all
process_begin: CreateProcess((null), uname -s, ...) failed.
make.exe: *** virtual memory exhausted.  Stop.

Execution terminated


edit:

wow i just changed python version from 2.4 to 24 and ASSSHOME = .. with no "" and it compiled partially. the things that didn't compile were

database.dll
dbtool
scoring
security
asss.batch

i understand the database stuff not compiling but shouldn't scoring and security and especially the batch compile?

compile log:
Code: Show/Hide
Compiler: Default compiler
Executing  make...
make.exe -f "Makefile" all
gcc -std=gnu99 -pipe    -shared -o ../build/pymod.dll ../build/pymod.o ../build/import.imp -L../windeps -lpthreadGC2 -lwsock32 -LC:/python/lib/python24/config -lpython24  -lm

process_begin: CreateProcess((null), uname -s, ...) failed.

gcc -std=gnu99 -pipe -I. -Iinclude -I../build -I../windeps -D_REENTRANT -D_GNU_SOURCE  -g -Wall   -c -o ../build/turf_reward.o turf\turf_reward.c

gcc -std=gnu99 -pipe -I. -Iinclude -I../build -I../windeps -D_REENTRANT -D_GNU_SOURCE  -g -Wall   -c -o ../build/points_turf_reward.o turf\points_turf_reward.c

gcc -std=gnu99 -pipe -I. -Iinclude -I../build -I../windeps -D_REENTRANT -D_GNU_SOURCE  -g -Wall   -c -o ../build/turf_stats.o turf\turf_stats.c

gcc -std=gnu99 -pipe    -shared -o ../build/turf.dll ../build/turf_reward.o ../build/points_turf_reward.o ../build/turf_stats.o ../build/import.imp -L../windeps -lpthreadGC2 -lwsock32

../windeps/install.exe core/backtrace ../build/asss.exe ../build/funky.dll ../build/pymod.dll ../build/turf.dll py/exec.py py/fg_turf.py py/fg_wz.py py/fm_password.py py/watchgreen.py ../windeps/zlib1.dll ../windeps/pthreadGC2.dll ../windeps/python24.dll ../windeps/libdb4.dll ../bin

Execution terminated
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Tue Apr 08, 2008 7:32 am    Post subject: Reply to topic Reply with quote

Looking in a previous post you commented out:
have_bdb := yes
have_mysql := yes

So database, scoring and dbtool won't compile. You can't compile security or asss.bat, instead they come with the archive (asss.zip or whatever).
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Tue Apr 08, 2008 5:59 pm    Post subject: Reply to topic Reply with quote

hmmm, i thought scoring would score. what comment discludes scoring?
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Thu Apr 10, 2008 3:12 pm    Post subject: Reply to topic Reply with quote

Scores (and others stats) are saved using "bdb", which is a database library. dbtool is a program to edit that database.

The database.dll file actually provides a mysql client and an alias module. So database.dll is a separate thing from scoring.

You should be able to enable both have_bdb and have_mysql when compiling with Dev-C++ (all the necessary files are in the windeps directory).
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Questions All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 218 page(s) served in previous 5 minutes.

phpBB Created this page in 0.446716 seconds : 37 queries executed (89.1%): GZIP compression disabled