Author Topic: Compiling client/server in VS 6.0  (Read 2136 times)

gamelaster

  • PGP
  • Posts: 29
Compiling client/server in VS 6.0
« on: March 30, 2013, 08:57:22 AM »
Hi, i have Win 7 Ultimate 64bit and i tested compile game[Release], but it have errors..
This is log:
Code: [Select]
Deleting intermediate files and output files for project 'ref_gl - Win32 Release'.
Deleting intermediate files and output files for project 'paintball2 - Win32 Release'.
Deleting intermediate files and output files for project 'ref_gl - Win32 Debug'.
Deleting intermediate files and output files for project 'paintball2 - Win32 Debug'.
--------------------Configuration: ref_gl - Win32 Release--------------------
Compiling...
jcapimin.c
jcapistd.c
jccoefct.c
jccolor.c
jcdctmgr.c
jchuff.c
jcinit.c
jcmainct.c
jcmarker.c
jcmaster.c
jcomapi.c
jcparam.c
jcphuff.c
jcprepct.c
jcsample.c
jdapimin.c
jdapistd.c
jdatadst.c
jdatasrc.c
jdcoefct.c
jdcolor.c
jddctmgr.c
jdhuff.c
jdinput.c
jdmainct.c
jdmarker.c
jdmaster.c
jdmerge.c
jdphuff.c
jdpostct.c
jdsample.c
jerror.c
jfdctflt.c
jfdctfst.c
jfdctint.c
jidctflt.c
jidctfst.c
jidctint.c
jidctred.c
jmemmgr.c
jmemnobs.c
jquant1.c
jquant2.c
jutils.c
gl_cin.c
gl_draw.c
gl_image.c
gl_light.c
gl_mesh.c
gl_model.c
gl_refl.c
gl_rmain.c
gl_rmisc.c
gl_rsurf.c
gl_script.c
gl_warp.c
glw_imp.c
q_shared.c
q_shwin.c
qgl_win.c
r_skm.c
Linking...
LINK : fatal error LNK1181: cannot open input file "libjpeg.lib"
Error executing link.exe.

paintball2.exe - 1 error(s), 0 warning(s)
--------------------Configuration: ref_gl - Win32 Debug--------------------
Compiling...
jcapimin.c
jcapistd.c
jccoefct.c
jccolor.c
jcdctmgr.c
jchuff.c
jcinit.c
jcmainct.c
jcmarker.c
jcmaster.c
jcomapi.c
jcparam.c
jcphuff.c
jcprepct.c
jcsample.c
jdapimin.c
jdapistd.c
jdatadst.c
jdatasrc.c
jdcoefct.c
jdcolor.c
jddctmgr.c
jdhuff.c
jdinput.c
jdmainct.c
jdmarker.c
jdmaster.c
jdmerge.c
jdphuff.c
jdpostct.c
jdsample.c
jerror.c
jfdctflt.c
jfdctfst.c
jfdctint.c
jidctflt.c
jidctfst.c
jidctint.c
jidctred.c
jmemmgr.c
jmemnobs.c
jquant1.c
jquant2.c
jutils.c
gl_cin.c
gl_draw.c
gl_image.c
gl_light.c
gl_mesh.c
gl_model.c
gl_refl.c
gl_rmain.c
gl_rmisc.c
gl_rsurf.c
gl_script.c
gl_warp.c
glw_imp.c
q_shared.c
q_shwin.c
qgl_win.c
r_skm.c
Linking...
   Creating library ..\..\debug\ref_gl/ref_pbgl.lib and object ..\..\debug\ref_gl/ref_pbgl.exp
gl_image.obj : error LNK2001: unresolved external symbol _png_get_io_ptr
gl_image.obj : error LNK2001: unresolved external symbol _png_read_end
gl_image.obj : error LNK2001: unresolved external symbol _png_read_image
gl_image.obj : error LNK2001: unresolved external symbol _png_get_rowbytes
gl_image.obj : error LNK2001: unresolved external symbol _png_read_update_info
gl_image.obj : error LNK2001: unresolved external symbol _png_set_gamma
gl_image.obj : error LNK2001: unresolved external symbol _png_get_gAMA
gl_image.obj : error LNK2001: unresolved external symbol _png_set_packing
gl_image.obj : error LNK2001: unresolved external symbol _png_set_strip_16
gl_image.obj : error LNK2001: unresolved external symbol _png_set_gray_to_rgb
gl_image.obj : error LNK2001: unresolved external symbol _png_set_tRNS_to_alpha
gl_image.obj : error LNK2001: unresolved external symbol _png_get_valid
gl_image.obj : error LNK2001: unresolved external symbol _png_set_gray_1_2_4_to_8
gl_image.obj : error LNK2001: unresolved external symbol _png_set_filler
gl_image.obj : error LNK2001: unresolved external symbol _png_set_palette_to_rgb
gl_image.obj : error LNK2001: unresolved external symbol _png_read_info
gl_image.obj : error LNK2001: unresolved external symbol _png_set_read_fn
gl_image.obj : error LNK2001: unresolved external symbol _png_destroy_read_struct
gl_image.obj : error LNK2001: unresolved external symbol _png_create_info_struct
gl_image.obj : error LNK2001: unresolved external symbol _png_create_read_struct
gl_image.obj : error LNK2001: unresolved external symbol _png_check_sig
glw_imp.obj : error LNK2001: unresolved external symbol __imp__ShellExecuteA@24
../../ref_pbgl.dll : fatal error LNK1120: 22 unresolved externals
Error executing link.exe.

paintball2.exe - 23 error(s), 0 warning(s)

I compiling his:
http://prntscr.com/yfzec

Thanx better

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Compiling client/server in VS 6.0
« Reply #1 on: April 01, 2013, 08:53:02 AM »
I can't remember the specifics for PNG, but you might have to install libPNG and configure it for Visual Studio:

http://www.libpng.org/pub/png/libpng.html

gamelaster

  • PGP
  • Posts: 29
Re: Compiling client/server in VS 6.0
« Reply #2 on: April 05, 2013, 10:01:49 AM »
Code: [Select]
--------------------Configuration: ref_gl - Win32 Release--------------------
Linking...
LINK : fatal error LNK1181: cannot open input file "libjpeg.lib"
Error executing link.exe.

paintball2.exe - 1 error(s), 0 warning(s)
--------------------Configuration: ref_gl - Win32 Debug--------------------
Linking...
LINK : fatal error LNK1181: cannot open input file "libjpeg.lib"
Error executing link.exe.

paintball2.exe - 1 error(s), 0 warning(s)


Still have problem to find libjpeg.lib :(

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Compiling client/server in VS 6.0
« Reply #3 on: April 05, 2013, 01:30:46 PM »
I don't think you actually need the .lib file as the jpeg source files are included.  The MSVC6 project probably hasn't been updated to reflect that.

Also, from what I've heard, VS6 does not work in windows 7...