VC98 Enterprise (VC 6.0) and the NETWORK_FORK
Posted: Mon Jan 03, 2005 7:08 pm
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.
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?
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)
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?