VC98 Enterprise (VC 6.0) and the NETWORK_FORK

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Post Reply
zazen
Trader
Trader
Posts: 25
Joined: Mon Nov 29, 2004 5:24 pm
Location: Brisbane damnit Australia damnit
Contact:

VC98 Enterprise (VC 6.0) and the NETWORK_FORK

Post by zazen »

Hi, recently i checked out the network_fork with a sf dev account. I tried using vega-proj but had soo many troubles with it. I searched the forum and decided that vega-new-proj might work better. Indeed it had a much better workspace to work with (with the other project all i had was makefiles to work with). I noticed that some of the files in the workspace aren't in the same places as they are in the repository, and some have been pruned. Most notably are /src/faction.cpp and /src/vs_path.* I'm ok with vs_path.* as it's been mentioned in the forum as being removed from the repository. There are some /src/networking/lowlevel/ files that have been moved ./..

Anyhow what I had to do was copy the /vegastrike/network_fork/src/*
to /vegastrike/vega-new-proj/src
and the resource files from /vegastrike/network_fork/ to
/vegastrike/vega-new-proj/

now, i havn't bothered moving anything else even though i knew there are missing files in the vega-new-proj project setup.

Here are the results after attempting to do a `Build All` from within VC98 studio.

Code: Select all


Deleting intermediate files and output files for project 'vsDONOTEDIT - Win32 Debug'.
--------------------Configuration: vsDONOTEDIT - Win32 Debug--------------------
Compiling resources...
Compiling...
box.cpp
Compiling...
config_xml.cpp
configxml.cpp
debug_vs.cpp
easydom.cpp
endianness.cpp
faction.cpp
fatal error C1083: Cannot open source file: 'C:\cvsroot\vegastrike\vega-new-proj\src\faction.cpp': No such file or directory
faction_generic.cpp
faction_util.cpp
fastmath.cpp
force_feedback.cpp
galaxy.cpp
galaxy_gen.cpp
galaxy_xml.cpp
gfxlib_struct.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : error C2146: syntax error : missing ';' before identifier 'glBindBufferARB_p'
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : fatal error C1004: unexpected end of file found
hashtable.cpp
in_handler.cpp
in_joystick.cpp
in_kb.cpp
in_main.cpp
in_mouse.cpp
in_sdl.cpp
lin_time.cpp
load_mission.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
macosx_math.cpp
main.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
main_loop.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
mount.cpp
physics.cpp
savegame.cpp
star_system.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
star_system_generic.cpp
C:\cvsroot\vegastrike\vega-new-proj\src\star_system_generic.cpp(49) : fatal error C1083: Cannot open include file: 'boost/python.hpp': No such file or directory
star_system_jump.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
star_system_xml.cpp
universe.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
universe_generic.cpp
universe_util.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
universe_util_generic.cpp
vs_globals.cpp
vs_path.cpp
fatal error C1083: Cannot open source file: 'C:\cvsroot\vegastrike\vega-new-proj\src\vs_path.cpp': No such file or directory
xml_serializer.cpp
xml_support.cpp
aggressive.cpp
comm_ai.cpp
communication.cpp
communication_xml.cpp
event_xml.cpp
fire.cpp
firekeyboard.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
flybywire.cpp
flyjoystick.cpp
flykeyboard.cpp
hard_coded_scripts.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
ikarus.cpp
input_dfa.cpp
c:\program files\microsoft visual studio\vc98\include\limits.h(30) : note C6311: c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\winsys.h(23) : see previous definition of 'UCHAR_MAX'
missionscript.cpp
navigation.cpp
order.cpp
order_comm.cpp
script.cpp
tactics.cpp
turretai.cpp
c_alike.tab.cpp
lex.yy.cpp
director.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
director_generic.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
flightgroup.cpp
mission.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
mission_script.cpp
msgcenter.cpp
pythonmission.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\init.h(10) : fatal error C1083: Cannot open include file: 'boost/python.hpp': No such file or directory
script_call_briefing.cpp
script_call_olist.cpp
script_call_omap.cpp
script_call_order.cpp
script_call_string.cpp
script_call_unit.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
script_callbacks.cpp
script_expression.cpp
script_generic.cpp
script_statement.cpp
script_util.cpp
script_variables.cpp
matrix3.cpp
pbuild.cpp
peigen.cpp
prapid.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\cmd\collide\garray.h(143) : note C6311: c:\cvsroot\vegastrike\vega-new-proj\src\cmd\collide\cs_compat.h(80) : see previous definition of 'CS_DECLARE_GROWING_ARRAY_REF'
vector3.cpp
asteroid.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
asteroid_generic.cpp
atmosphere.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
base_init.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
base_interface.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\init.h(10) : fatal error C1083: Cannot open include file: 'boost/python.hpp': No such file or directory
base_util.cpp
base_write_python.cpp
base_xml.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
beam.cpp
beam_generic.cpp
bolt.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
bolt_generic.cpp
briefing.cpp
building.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
building_generic.cpp
click_list.cpp
collection.cpp
collide.cpp
cont_terrain.cpp
container.cpp
faction_xml.cpp
missile_generic.cpp
music.cpp
nebula.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
nebula_generic.cpp
planet.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
planet_generic.cpp
role_bitmask.cpp
terrain.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
unit_bsp.cpp
unit_collide.cpp
unit_const_cache.cpp
unit_factory.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
unit_factory_generic.cpp
unit_functions.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
unit_functions_generic.cpp
unit_generic.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
unit_interface.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
unit_util.cpp
unit_util_generic.cpp
unit_xml.cpp
weapon_xml.cpp
al_globals.cpp
al_init.cpp
al_listen.cpp
al_sound.cpp
briefing_wrapper.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
init.cpp
C:\cvsroot\vegastrike\vega-new-proj\src\python\init.cpp(14) : fatal error C1083: Cannot open include file: 'boost/python.hpp': No such file or directory
python_compile.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\init.h(10) : fatal error C1083: Cannot open include file: 'boost/python.hpp': No such file or directory
unit_exports.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\init.h(10) : fatal error C1083: Cannot open include file: 'boost/python.hpp': No such file or directory
unit_exports1.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\init.h(10) : fatal error C1083: Cannot open include file: 'boost/python.hpp': No such file or directory
unit_exports2.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\init.h(10) : fatal error C1083: Cannot open include file: 'boost/python.hpp': No such file or directory
unit_exports3.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\init.h(10) : fatal error C1083: Cannot open include file: 'boost/python.hpp': No such file or directory
unit_method_defs.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\init.h(10) : fatal error C1083: Cannot open include file: 'boost/python.hpp': No such file or directory
unit_wrapper.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\init.h(10) : fatal error C1083: Cannot open include file: 'boost/python.hpp': No such file or directory
universe_util_export.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\init.h(10) : fatal error C1083: Cannot open include file: 'boost/python.hpp': No such file or directory
gl_clip.cpp
gl_fog.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : error C2146: syntax error : missing ';' before identifier 'glBindBufferARB_p'
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : fatal error C1004: unexpected end of file found
gl_globals.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : error C2146: syntax error : missing ';' before identifier 'glBindBufferARB_p'
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : fatal error C1004: unexpected end of file found
gl_init.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : error C2146: syntax error : missing ';' before identifier 'glBindBufferARB_p'
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : fatal error C1004: unexpected end of file found
gl_light.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : error C2146: syntax error : missing ';' before identifier 'glBindBufferARB_p'
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : fatal error C1004: unexpected end of file found
gl_light_pick.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : error C2146: syntax error : missing ';' before identifier 'glBindBufferARB_p'
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : fatal error C1004: unexpected end of file found
gl_light_state.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : error C2146: syntax error : missing ';' before identifier 'glBindBufferARB_p'
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : fatal error C1004: unexpected end of file found
gl_material.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : error C2146: syntax error : missing ';' before identifier 'glBindBufferARB_p'
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : fatal error C1004: unexpected end of file found
gl_matrix.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : error C2146: syntax error : missing ';' before identifier 'glBindBufferARB_p'
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : fatal error C1004: unexpected end of file found
gl_misc.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : error C2146: syntax error : missing ';' before identifier 'glBindBufferARB_p'
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : fatal error C1004: unexpected end of file found
gl_pick.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : error C2146: syntax error : missing ';' before identifier 'glBindBufferARB_p'
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : fatal error C1004: unexpected end of file found
gl_quad_list.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : error C2146: syntax error : missing ';' before identifier 'glBindBufferARB_p'
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : fatal error C1004: unexpected end of file found
gl_state.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : error C2146: syntax error : missing ';' before identifier 'glBindBufferARB_p'
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : fatal error C1004: unexpected end of file found
gl_texture.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : error C2146: syntax error : missing ';' before identifier 'glBindBufferARB_p'
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : fatal error C1004: unexpected end of file found
gl_vertex_list.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : error C2146: syntax error : missing ';' before identifier 'glBindBufferARB_p'
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : fatal error C1004: unexpected end of file found
winsys.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : error C2146: syntax error : missing ';' before identifier 'glBindBufferARB_p'
c:\cvsroot\vegastrike\vega-new-proj\src\gldrv\gl_globals.h(132) : fatal error C1004: unexpected end of file found
ani_texture.cpp
animation.cpp
aux_logo.cpp
aux_palette.cpp
aux_texture.cpp
background.cpp
bounding_box.cpp
bsp.cpp
camera.cpp
cockpit.cpp
cockpit_generic.cpp
cockpit_xml.cpp
coord_select.cpp
env_map_gent.cpp
gauge.cpp
halo.cpp
halo_system.cpp
hud.cpp
lerp.cpp
loc_select.cpp
matrix.cpp
mesh.cpp
mesh_bin.cpp
mesh_fx.cpp
mesh_gfx.cpp
mesh_poly.cpp
mesh_xml.cpp
particle.cpp
pipelined_texture.cpp
png_texture.cpp
fatal error C1083: Cannot open source file: 'C:\cvsroot\vegastrike\vega-new-proj\src\gfx\png_texture.cpp': No such file or directory
png_write.cpp
fatal error C1083: Cannot open source file: 'C:\cvsroot\vegastrike\vega-new-proj\src\gfx\png_write.cpp': No such file or directory
quadsquare.cpp
quadsquare_cull.cpp
quadsquare_render.cpp
quadsquare_update.cpp
quadtree.cpp
quadtree_xml.cpp
quaternion.cpp
ring.cpp
sphere.cpp
sphere_generic.cpp
sprite.cpp
star.cpp
vdu.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
vec.cpp
c:\cvsroot\vegastrike\vega-new-proj\src\boost\boost\python\args.hpp(9) : fatal error C1083: Cannot open include file: 'boost/mpl/type_list.hpp': No such file or directory
vsbox.cpp
button.cpp
general.cpp
glut_support.cpp
text_area.cpp
accountsxml.cpp
clientstructs.cpp
fatal error C1083: Cannot open source file: 'C:\cvsroot\vegastrike\vega-new-proj\src\networking\clientstructs.cpp': No such file or directory
cubicsplines.cpp
inet.cpp
mangle.cpp
netclient.cpp
netui.cpp
fatal error C1083: Cannot open source file: 'C:\cvsroot\vegastrike\vega-new-proj\src\networking\netui.cpp': No such file or directory
packet.cpp
fatal error C1083: Cannot open source file: 'C:\cvsroot\vegastrike\vega-new-proj\src\networking\packet.cpp': No such file or directory
packetmem.cpp
fatal error C1083: Cannot open source file: 'C:\cvsroot\vegastrike\vega-new-proj\src\networking\packetmem.cpp': No such file or directory
vsnet_address.cpp
fatal error C1083: Cannot open source file: 'C:\cvsroot\vegastrike\vega-new-proj\src\networking\vsnet_address.cpp': No such file or directory
vsnet_cmd.cpp
fatal error C1083: Cannot open source file: 'C:\cvsroot\vegastrike\vega-new-proj\src\networking\vsnet_cmd.cpp': No such file or directory
vsnet_serversocket.cpp
fatal error C1083: Cannot open source file: 'C:\cvsroot\vegastrike\vega-new-proj\src\networking\vsnet_serversocket.cpp': No such file or directory
vsnet_socket.cpp
fatal error C1083: Cannot open source file: 'C:\cvsroot\vegastrike\vega-new-proj\src\networking\vsnet_socket.cpp': No such file or directory
vsnet_socketset.cpp
fatal error C1083: Cannot open source file: 'C:\cvsroot\vegastrike\vega-new-proj\src\networking\vsnet_socketset.cpp': No such file or directory
function.cpp
life_support.cpp
classes.cpp
conversions.cpp
cross_module.cpp
errors.cpp
extension_class.cpp
functions.cpp
init_function.cpp
module.cpp
module_builder.cpp
objects.cpp
types.cpp
common.cpp
Error executing cl.exe.

vegastrike.exe - 86 error(s), 0 warning(s)
NOTES

cannot find faction.cpp in the network_fork

I'm not sure about the errors in gldrv, though they seem to be typos
edit: ok, this was fixed by following instructions from this link

It seems that all the python code wants to use boost129 but the vega-new-project settings use boost128

with the project settings including boost128, there seems to be code in \boost\boost\ that wants to use boost129

this is totally wierd, i don't understand what's going on.. it seems that the visual studio project settings aren't
being updated as fast as the code.. maybe i'm wrong. Does anybody knows what's causing these errors?
Black tea, with a bit of milk.. and don't steal the sugar please!!
zazen
Trader
Trader
Posts: 25
Joined: Mon Nov 29, 2004 5:24 pm
Location: Brisbane damnit Australia damnit
Contact:

Please help

Post by zazen »

I've narrowed the problems down to the following issues :-


missing files - is it ok to remove these from the project - not the cvs?

\src\faction.cpp': No such file or directory
\src\vs_path.cpp': No such file or directory
\src\gfx\png_texture.cpp': No such file or directory
\src\gfx\png_write.cpp': No such file or directory
\src\networking\clientstructs.cpp': No such file or directory


the following files have been moved from /src/networking/lowlevel to /src/networking

\src\networking\netui.cpp': No such file or directory
\src\networking\packet.cpp': No such file or directory
\src\networking\packetmem.cpp': No such file or directory
\src\networking\vsnet_address.cpp': No such file or directory
\src\networking\vsnet_cmd.cpp': No such file or directory
\src\networking\vsnet_serversocket.cpp': No such file or directory
\src\networking\vsnet_socket.cpp': No such file or directory
\src\networking\vsnet_socketset.cpp': No such file or directory

is it ok to move them from lowlevel to networking in the repository? or should i update the project settings?

it seems to me to be much safer to update the project settings rather than move them around in the cvs repository


here are the issues with boost i'm having

c:\cvsroot\vegastrike\vega-new-proj\src\boost\boost\python\args.hpp(9) : fatal error C1083: Cannot open include file: 'boost/mpl/type_list.hpp': No such file or directory

where src\boost\boost\python\args.hpp comes from boost128 but boost/mpl/type_list.hpp is in the 129/130/131 directory

Now for the python stuff..

c:\cvsroot\vegastrike\vega-new-proj\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory

where src\python\python_class.h is trying to use the boost directory (which is setup as boost128) but boost/python/object.hpp is a boost129 file... there are lots of errors like this

Please help.

I'm not sure whether to update the project settings in the case of the missing files.

I'm not sure if i should add all the boost129 files to the boost directory or edit the include path.

Please help.
Black tea, with a bit of milk.. and don't steal the sugar please!!
zazen
Trader
Trader
Posts: 25
Joined: Mon Nov 29, 2004 5:24 pm
Location: Brisbane damnit Australia damnit
Contact:

Post by zazen »

oops!! my mistake.

using vega-proj now.. checked it out with no -kb binary download

vegastrike compiles

doesn't look like the network stuff will though
Black tea, with a bit of milk.. and don't steal the sugar please!!
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

Yes... network doesn't compile under windows. This is my next priority after trying to get the server done in linux. Right now it doesn't work well in linux either so i will focus more on getting completely working under one platform than getting it kind of working on two.

Also, vega-proj is the only project that works in windows (vega-new-proj is actually a bit older).
zazen
Trader
Trader
Posts: 25
Joined: Mon Nov 29, 2004 5:24 pm
Location: Brisbane damnit Australia damnit
Contact:

Post by zazen »

I'd like to get the network compiled. I only have a windows dev box now as my linux ups got fried.

My question is, which are the best files to read to get a list of the files to add to the windows project.. just looking at the linux make files now..
Black tea, with a bit of milk.. and don't steal the sugar please!!
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

I think looking at the error messages and grepping for the functions in question can lead you to the appropriate files
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
zazen
Trader
Trader
Posts: 25
Joined: Mon Nov 29, 2004 5:24 pm
Location: Brisbane damnit Australia damnit
Contact:

Post by zazen »

In the project I had to copy over the boost129, python and boost directories from the vegastrike project to the acctserver. The python include files successfully get the boost129 files in the vegastrike project but it doesn't in the vsacctserver project. Does anybody know why? I think if this can get worked out, i'm almost done with getting the server to compile on windows. Need help.

Code: Select all

--------------------Configuration: vsacctserver - Win32 Debug--------------------
Compiling...
firekeyboard.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
hard_coded_scripts.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
director.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
director_generic.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
mission.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
pythonmission.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\init.h(10) : fatal error C1083: Cannot open include file: 'boost/python.hpp': No such file or directory
script_call_unit.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
asteroid.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
atmosphere.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
base_init.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
base_interface.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\init.h(10) : fatal error C1083: Cannot open include file: 'boost/python.hpp': No such file or directory
base_xml.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
bolt.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
building.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
nebula.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
planet.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
terrain.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
unit.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
unit_factory.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
unit_functions.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
unit_generic.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
unit_interface.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
briefing_wrapper.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\python_class.h(16) : fatal error C1083: Cannot open include file: 'boost/python/object.hpp': No such file or directory
init.cpp
C:\cvsroot\vegastrike\vegastrike\src\python\init.cpp(14) : fatal error C1083: Cannot open include file: 'boost/python.hpp': No such file or directory
python_compile.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\init.h(10) : fatal error C1083: Cannot open include file: 'boost/python.hpp': No such file or directory
unit_exports.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\init.h(10) : fatal error C1083: Cannot open include file: 'boost/python.hpp': No such file or directory
unit_exports1.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\init.h(10) : fatal error C1083: Cannot open include file: 'boost/python.hpp': No such file or directory
unit_exports2.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\init.h(10) : fatal error C1083: Cannot open include file: 'boost/python.hpp': No such file or directory
unit_exports3.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\init.h(10) : fatal error C1083: Cannot open include file: 'boost/python.hpp': No such file or directory
unit_method_defs.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\init.h(10) : fatal error C1083: Cannot open include file: 'boost/python.hpp': No such file or directory
unit_wrapper.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\init.h(10) : fatal error C1083: Cannot open include file: 'boost/python.hpp': No such file or directory
universe_util_export.cpp
c:\cvsroot\vegastrike\vegastrike\src\python\init.h(10) : fatal error C1083: Cannot open include file: 'boost/python.hpp': No such file or directory
Error executing cl.exe.
Creating browse info file...
BSCMAKE: error BK1506 : cannot open file '.\Debug\firekeyboard.sbr': No such file or directory
Error executing bscmake.exe.

accountserver.exe - 33 error(s), 0 warning(s)
Black tea, with a bit of milk.. and don't steal the sugar please!!
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

you probably have to include the correct directory in the include paths in project properties
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
zazen
Trader
Trader
Posts: 25
Joined: Mon Nov 29, 2004 5:24 pm
Location: Brisbane damnit Australia damnit
Contact:

Post by zazen »

I've tried copying the settings from the vegastrike build but no luck so far. The only place to change this is in project settings am i right? The is no file /boost/python.hpp included in the vegastrike project either.. I'm at a loss for the moment :roll:
Black tea, with a bit of milk.. and don't steal the sugar please!!
zazen
Trader
Trader
Posts: 25
Joined: Mon Nov 29, 2004 5:24 pm
Location: Brisbane damnit Australia damnit
Contact:

Post by zazen »

Now that i've added the ./boost129/boost/mpl/ directory to the project includes.. i'm getting this error

Code: Select all

--------------------Configuration: vsacctserver - Win32 Debug--------------------
Compiling...
firekeyboard.cpp
c:\cvsroot\vegastrike\vegastrike\src\boost\boost\python\detail\indirect_traits.hpp(11) : fatal error C1083: Cannot open include file: 'boost/mpl/select_type.hpp': No such file or directory
hard_coded_scripts.cpp
cl.exe terminated at user request.
Tool execution canceled by user.
Seems there's a missing file in boost129

Damn, i wish i knew why this compiles with the vegastrike project and not the vsacctserver project :)
Black tea, with a bit of milk.. and don't steal the sugar please!!
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

are you using boost 1.2.8 (src/boost/boost/ directory ) or boost 1.3.1 (src/boost129/boost/ directory )?

The project should have configurations for both, but if not then select only one to prevent errors.

It looks like some errors are from mixing both together (the error says boost but you talk about adding boost129 to the include path) Also make sure that you have the correct defines

If you want 1.3.1 then make sure that src/boost is not anywhere in the include settings (so that only boost129 is in there) *and* set the preprocessor define USE_BOOST_131=1
If you want 1.2.8 then make sure that src/boost129 is not anywhere in the include settings (use boost instead) and set the preprocessor define USE_BOOST_128=1
zazen
Trader
Trader
Posts: 25
Joined: Mon Nov 29, 2004 5:24 pm
Location: Brisbane damnit Australia damnit
Contact:

Post by zazen »

yes, i was mixing both together.. I think i'd overlooked the fact that i didn't have any use_boost_131 directive.. so now i don't have the boost problem, i've left all the directories alone... and have just been adding files to the project as i go..

here are the latest problems

Code: Select all

--------------------Configuration: vsacctserver - Win32 Debug--------------------
Compiling...
star_system_generic.cpp
unit.cpp
c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_jump.cpp(40) : error C2143: syntax error : missing ';' before '<'
c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_jump.cpp(40) : error C2182: 'GameUnit' : illegal use of type 'void'
c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_jump.cpp(40) : error C2059: syntax error : ';'
c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_jump.cpp(40) : error C2143: syntax error : missing ';' before '<'
c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_jump.cpp(40) : error C2039: 'TransferUnitToSystem' : is not a member of '`global namespace''
c:\cvsroot\vegastrike\vegastrike\src\star_system.h(10) : error C2989: 'ClickList' : template class has already been defined as a non-template class
        c:\cvsroot\vegastrike\vegastrike\src\star_system_generic.h(14) : see declaration of 'ClickList'
c:\cvsroot\vegastrike\vegastrike\src\star_system.h(11) : error C2989: 'TextPlane' : template class has already been defined as a non-template class
        c:\cvsroot\vegastrike\vegastrike\src\gfx\hud.h(30) : see declaration of 'TextPlane'
c:\cvsroot\vegastrike\vegastrike\src\star_system.h(16) : error C2989: 'Texture' : template class has already been defined as a non-template class
        c:\cvsroot\vegastrike\vegastrike\src\faction_generic.h(11) : see declaration of 'Texture'
c:\cvsroot\vegastrike\vegastrike\src\star_system.h(17) : error C2989: 'Background' : template class has already been defined as a non-template class
        c:\cvsroot\vegastrike\vegastrike\src\star_system_generic.h(16) : see declaration of 'Background'
c:\cvsroot\vegastrike\vegastrike\src\star_system.h(18) : error C2989: 'Terrain' : template class has already been defined as a non-template class
        c:\cvsroot\vegastrike\vegastrike\src\star_system_generic.h(17) : see declaration of 'Terrain'
c:\cvsroot\vegastrike\vegastrike\src\star_system.h(19) : error C2989: 'ContinuousTerrain' : template class has already been defined as a non-template class
        c:\cvsroot\vegastrike\vegastrike\src\star_system_generic.h(18) : see declaration of 'ContinuousTerrain'
c:\cvsroot\vegastrike\vegastrike\src\star_system.h(20) : error C2989: 'Atmosphere' : template class has already been defined as a non-template class
        c:\cvsroot\vegastrike\vegastrike\src\cmd\planet_generic.h(11) : see declaration of 'Atmosphere'
c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_const_cache.h(19) : error C2954: template definitions cannot nest
c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_const_cache.h(23) : error C2059: syntax error : 'return'
        c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_const_cache.h(45) : see reference to class template instantiation 'ClassCache<Typ,Key>' being compiled
c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_const_cache.h(23) : error C2238: unexpected token(s) preceding ';'
        c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_const_cache.h(45) : see reference to class template instantiation 'ClassCache<Typ,Key>' being compiled
c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_const_cache.h(25) : error C2143: syntax error : missing ';' before 'static'
        c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_const_cache.h(45) : see reference to class template instantiation 'ClassCache<Typ,Key>' being compiled
c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_customize.cpp(24) : error C2143: syntax error : missing ';' before '<'
c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_customize.cpp(24) : error C2371: 'GameUnit' : redefinition; different basic types
        c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_jump.cpp(40) : see declaration of 'GameUnit'
c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_customize.cpp(24) : error C2059: syntax error : ';'
c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_customize.cpp(24) : error C2143: syntax error : missing ';' before '<'
c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_customize.cpp(24) : error C2039: 'UpgradeSubUnits' : is not a member of '`global namespace''
c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_customize.cpp(30) : error C2954: template definitions cannot nest
c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_customize.cpp(31) : error C2143: syntax error : missing ';' before '<'
c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_customize.cpp(31) : error C2371: 'GameUnit' : redefinition; different basic types
        c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_jump.cpp(40) : see declaration of 'GameUnit'
c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_customize.cpp(31) : error C2059: syntax error : ';'
c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_customize.cpp(31) : error C2143: syntax error : missing ';' before '<'
c:\cvsroot\vegastrike\vegastrike\src\cmd\unit_customize.cpp(31) : error C2039: 'Upgrade' : is not a member of '`global namespace''
c:\cvsroot\vegastrike\vegastrike\src\gfx\vsimage.h(58) : error C2146: syntax error : missing ';' before identifier 'heightmapTransform'
c:\cvsroot\vegastrike\vegastrike\src\gfx\vsimage.h(58) : fatal error C1004: unexpected end of file found
unit_factory.cpp
cl.exe terminated at user request.
Tool execution canceled by user.
anyone know what's causing this to occur? it's strange but i can't find unit_jump.cpp in the project either for vegastrike or vsacctserver.
Black tea, with a bit of milk.. and don't steal the sugar please!!
zazen
Trader
Trader
Posts: 25
Joined: Mon Nov 29, 2004 5:24 pm
Location: Brisbane damnit Australia damnit
Contact:

Post by zazen »

ok.. still having the same problem.. unit_jump.cpp is an include from src/cmd/unit.cpp

anybody got any ideas why this won't compile?
Black tea, with a bit of milk.. and don't steal the sugar please!!
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

Ya these are some nasty errors -- and this is the accountserver, which is a very small program.
So there is still a lot to work to do to the net code on windows. And it's not likely that you will see it compile soon. Actually a more likely problem is that unit.cpp is included as a source file
If I'm not mistaken, unit.cpp, unit_jump.cpp, unit_damage,cpp, unit_physics.cpp and unit_customize.cpp are all either now nonexistant or are headers and either way can't be in the project. The fact that it still includes those old files means that it will be a struggle to compile it.

I would copy the settings off of the main vegastrike project if you want to have a *chance* of compiling...
Post Reply