Ford Posted August 23, 2008 Share Posted August 23, 2008 I get the following errors trying to compile OJP Basic, straight from the OJP SVN today, in Visual C++ Express 2005: 1>------ Build started: Project: botlib, Configuration: Debug(SH) Win32 ------ 2>------ Build started: Project: JK2game, Configuration: Debug(SH) Win32 ------ 1>Compiling... 1>l_struct.cpp 2>Compiling... 2>WalkerNPC.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\walkernpc.c(63) : warning C4005: 'sqrtf' : macro redefinition 2> c:\program files\microsoft visual studio 8\vc\include\math.h(309) : see previous definition of 'sqrtf' 1>l_script.cpp 2>w_saber.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>l_precomp.cpp 2>w_force.c 1>c:\documents and settings\ford\my documents\ojpsource\basic\source\botlib\l_precomp.cpp(740) : error C2664: 'ctime' : cannot convert parameter 1 from 'const long *' to 'const time_t *' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>c:\documents and settings\ford\my documents\ojpsource\basic\source\botlib\l_precomp.cpp(755) : error C2664: 'ctime' : cannot convert parameter 1 from 'const long *' to 'const time_t *' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>l_memory.cpp 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>l_log.cpp 2>tri_coll_test.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>l_libvar.cpp 2>SpeederNPC.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>l_crc.cpp 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\speedernpc.c(64) : warning C4005: 'sqrtf' : macro redefinition 2> c:\program files\microsoft visual studio 8\vc\include\math.h(309) : see previous definition of 'sqrtf' 2>q_shared.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>q_math.c 1>be_interface.cpp 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_math.c(1483) : error C2059: syntax error : 'type' 2>NPC_Vehicle.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>be_ea.cpp 2>NPC_utils.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>be_ai_weight.cpp 2>NPC_stats.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>be_ai_weap.cpp 2>NPC_spawn.c 1>be_ai_move.cpp 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>be_ai_goal.cpp 2>NPC_sounds.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>NPC_senses.c 1>be_ai_gen.cpp 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>be_ai_chat.cpp 2>NPC_reactions.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>be_ai_char.cpp 2>NPC_move.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>be_aas_sample.cpp 2>NPC_misc.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>be_aas_routealt.cpp 2>NPC_goal.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>be_aas_route.cpp 2>NPC_combat.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>be_aas_reach.cpp 2>NPC_behavior.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>Generating Code... 2>NPC_AI_Wampa.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>Generating Code... 2>Compiling... 2>NPC_AI_Utils.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>NPC_AI_Stormtrooper.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>Compiling... 1>be_aas_optimize.cpp 2>NPC_AI_Sniper.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>be_aas_move.cpp 2>NPC_AI_Sentry.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>be_aas_main.cpp 2>NPC_AI_Seeker.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>be_aas_file.cpp 2>NPC_AI_Sand_creature.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>be_aas_entity.cpp 2>NPC_AI_SaberDroid.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>be_aas_debug.cpp 2>NPC_AI_RocketTrooper.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>be_aas_cluster.cpp 2>NPC_AI_Remote.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>be_aas_bspq3.cpp 2>NPC_AI_Rancor.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>Generating Code... 2>NPC_AI_MineMonster.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 1>Creating browse information file... 2>NPC_AI_Mark2.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>NPC_AI_Mark1.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>NPC_AI_Jedi.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>NPC_AI_Interrogator.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>NPC_AI_ImperialProbe.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>NPC_AI_Howler.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>NPC_AI_Grenadier.c 1>Microsoft Browse Information Maintenance Utility Version 8.00.50727 1>Copyright © Microsoft Corporation. All rights reserved. 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>NPC_AI_GalakMech.c 1>Build log was saved at "file://c:\Documents and Settings\Ford\My Documents\OJPSource\Basic\source\botlib\Debug(SH)\BuildLog.htm" 1>botlib - 2 error(s), 0 warning(s) 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>NPC_AI_Droid.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>Generating Code... 2>Compiling... 2>NPC_AI_Default.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>NPC_AI_Civilian.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>NPC_AI_Atst.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>NPC_AI_AssassinDroid.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>NPC.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>g_weapon.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>g_vehicleTurret.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>g_vehicles.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\g_vehicles.c(34) : warning C4005: 'sqrtf' : macro redefinition 2> c:\program files\microsoft visual studio 8\vc\include\math.h(309) : see previous definition of 'sqrtf' 2>g_utils.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>g_turret_G2.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>------ Build started: Project: JK2cgame, Configuration: Debug(SH) Win32 ------ 3>Compiling... 2>g_turret.c 3>WalkerNPC.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\walkernpc.c(63) : warning C4005: 'sqrtf' : macro redefinition 2>g_trigger.c 3> c:\program files\microsoft visual studio 8\vc\include\math.h(309) : see previous definition of 'sqrtf' 3>ui_shared.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>g_timer.c 3>SpeederNPC.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\speedernpc.c(64) : warning C4005: 'sqrtf' : macro redefinition 3> c:\program files\microsoft visual studio 8\vc\include\math.h(309) : see previous definition of 'sqrtf' 3>q_shared.c 2>g_team.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>q_math.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_math.c(1483) : error C2059: syntax error : 'type' 3>fx_rocketlauncher.c 2>g_target.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>fx_heavyrepeater.c 2>g_syscalls.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>fx_force.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>g_svcmds.c 3>fx_flechette.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>fx_disruptor.c 2>g_strap.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>fx_demp2.c 2>g_spawn.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>fx_bryarpistol.c 2>g_session.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>fx_bowcaster.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>Generating Code... 2>Compiling... 2>g_saga.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>fx_blaster.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>g_roff.c 3>FighterNPC.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\fighternpc.c(63) : warning C4005: 'sqrtf' : macro redefinition 3> c:\program files\microsoft visual studio 8\vc\include\math.h(309) : see previous definition of 'sqrtf' 2>g_object.c 3>cg_weapons.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>g_navnew.c 3>cg_weaponinit.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>cg_view.c 2>g_nav.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\cgame\cg_view.c(421) : error C2059: syntax error : 'type' 3>cg_turret.c 2>g_mover.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>cg_syscalls.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>g_missile.c 3>Generating Code... 3>Compiling... 3>cg_strap.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>g_misc.c 3>cg_snapshot.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>cg_servercmds.c 2>g_mem.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>cg_scoreboard.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>g_main.c 3>cg_saga.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>g_log.c 3>cg_predict.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>cg_playerstate.c 2>g_items.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>cg_players.c 2>g_ICARUScb.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>cg_newDraw.c 2>g_exphysics.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>cg_marks.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>g_dynmusic.c 3>cg_main.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>g_crash.c 3>cg_localents.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\g_crash.c(198) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 2>g_combat.c 3>cg_light.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>cg_info.c 2>g_cmds.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>cg_holster.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>g_client.c 3>cg_event.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>g_camera.c 3>cg_ents.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>Generating Code... 2>Compiling... 2>g_breakable.c 3>cg_effects.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>g_bot.c 3>cg_drawtools.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>g_autosave.c 3>cg_draw.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>g_arenas.c 3>Generating Code... 3>Compiling... 3>cg_consolecmds.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>g_active.c 3>cg_camera.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>bg_weaponsdat.c 2>FighterNPC.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>bg_weapons.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\fighternpc.c(63) : warning C4005: 'sqrtf' : macro redefinition 2> c:\program files\microsoft visual studio 8\vc\include\math.h(309) : see previous definition of 'sqrtf' 2>bg_weaponsdat.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>bg_vehicleLoad.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>bg_weapons.c 3>bg_slidemove.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>bg_vehicleLoad.c 3>bg_saga.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>bg_slidemove.c 3>bg_saberLoad.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>bg_saber.c 2>bg_saga.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>bg_saberLoad.c 3>bg_pmove.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>bg_saber.c 3>bg_panimate.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>bg_pmove.c 3>bg_misc.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>bg_g2_utils.c 2>bg_panimate.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>AnimalNPC.c 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\animalnpc.c(63) : warning C4005: 'sqrtf' : macro redefinition 3> c:\program files\microsoft visual studio 8\vc\include\math.h(309) : see previous definition of 'sqrtf' 3>Generating Code... 2>bg_misc.c 3>Creating browse information file... 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>bg_g2_utils.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>aotctc_holocron.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>AnimalNPC.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\animalnpc.c(63) : warning C4005: 'sqrtf' : macro redefinition 2> c:\program files\microsoft visual studio 8\vc\include\math.h(309) : see previous definition of 'sqrtf' 2>ai_wpnav.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>Generating Code... 2>Compiling... 2>ai_util.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>ai_tab.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>ai_main.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>ai_hybrid.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>ai_aotc.c 2>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 2>Generating Code... 2>Creating browse information file... 2>Microsoft Browse Information Maintenance Utility Version 8.00.50727 2>Copyright © Microsoft Corporation. All rights reserved. 2>BSCMAKE: error BK1506 : cannot open file '.\debug(sh)\g_crash.sbr': No such file or directory 2>Build log was saved at "file://c:\Documents and Settings\Ford\My Documents\OJPSource\Basic\source\game\Debug(SH)\BuildLog.htm" 2>JK2game - 108 error(s), 5 warning(s) 4>------ Build started: Project: ui, Configuration: Debug(SH) Win32 ------ 4>Compiling... 4>ui_syscalls.c 4>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 4>ui_shared.c 4>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 4>ui_saber.c 4>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 4>ui_main.c 4>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 3>Microsoft Browse Information Maintenance Utility Version 8.00.50727 3>Copyright © Microsoft Corporation. All rights reserved. 3>Build log was saved at "file://c:\Documents and Settings\Ford\My Documents\OJPSource\Basic\source\cgame\Debug(SH)\BuildLog.htm" 3>JK2cgame - 56 error(s), 4 warning(s) 4>ui_gameinfo.c 4>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 4>ui_force.c 4>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 4>ui_atoms.c 4>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 4>q_shared.c 4>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 4>q_math.c 4>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 4>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_math.c(1483) : error C2059: syntax error : 'type' 4>bg_weapons.c 4>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 4>bg_vehicleLoad.c 4>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 4>bg_saga.c 4>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 4>bg_misc.c 4>c:\documents and settings\ford\my documents\ojpsource\basic\source\game\q_shared.h(1293) : error C2059: syntax error : 'type' 4>Generating Code... 4>Creating browse information file... 4>Microsoft Browse Information Maintenance Utility Version 8.00.50727 4>Copyright © Microsoft Corporation. All rights reserved. 4>Build log was saved at "file://c:\Documents and Settings\Ford\My Documents\OJPSource\Basic\source\ui\Debug(SH)\BuildLog.htm" 4>ui - 14 error(s), 0 warning(s) ========== Build: 0 succeeded, 4 failed, 0 up-to-date, 0 skipped ========== Any idea how I can make it work? Thanks. Link to comment Share on other sites More sharing options...
HolmstN Posted August 23, 2008 Share Posted August 23, 2008 Looks like the problem's with q_shared.h. Than again, I'm no coder, so what do I know? Link to comment Share on other sites More sharing options...
ZephyrZ4 Posted August 23, 2008 Share Posted August 23, 2008 Try compiling the source under the "Debug" or "Final" configuration. Located at the top: http://img362.imageshack.us/img362/433/imagewa9.png Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.