UFO:Alien Invasion
Technical support => FAQ => Topic started by: Level on April 20, 2006, 09:30:01 am
-
What do I need to do to build in visual C++ 2005 and Win XP?
When I try to build I get lots of errors like this:
d:\program files\ufoai\src\ref_gl\gl_local.h(25) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
and one like this:
LINK : fatal error LNK1181: cannot open input file 'winmm.lib'
I downloaded the TD2 Beta and put in the files from the SVN, is there any thing else I need to do?
-
i can't really answer this question because i'm on linux - but you can join the irc-channel and ask _Bnu for help. he is the one doing the windows-builds right now.
-
_Bnu: Looks to me like he downloaded Visual C++ 2005 express and didn't download the platform SDK. Which means that it's basically useless, since it doesn't have any libraries or include files.
-
with MSVS 2003 i always get this error:
Linking...
cl_main.obj : error LNK2019: unresolved external symbol _CL_ParseShaders referenced in function _CL_ParseScriptSecond
cl_view.obj : error LNK2001: unresolved external symbol _r_shaders
cl_view.obj : error LNK2001: unresolved external symbol _r_numshaders
cl_view.obj : error LNK2019: unresolved external symbol _CL_ShaderList_f referenced in function _V_Init
.\../ufo.exe : fatal error LNK1120: 4 unresolved externals
with every version, i guess wrong settings or something...
or maybe i miss some files?
-
It's possible the current SVN codebase is broken so it doesn't compile in MSVS. If that's the case, you can only wait until someone fixes it.
-
nope, i got this errors with previous revisions too
-
maybe the newest rev fixes the shader stuff for visual c (rev 764) - please give feedback
-
same errors with rev 768, something wrong with my compiler for sure...
-
thread is abit older but nevertheless:
could it be us use the epxress version of vc? then you have to donwload the platform sdk seperately and sintall it.
then you have to set the pathes for include an dlib files in vc.
when needed it can make some screenshots to show what you have to add to which interface.
-
please do this - but in our wiki
http://ufo.myexp.de/wiki/index.php/Compile_for_Windows
-
okaymy problem rises from Ref_GL.dev
I go to compile it (to get the Ref_GL.DLL) And It has sever problems.
[Linker error] undefined reference to `Q_strncpyz'
[Linker error] undefined reference to `Q_strncpyz'
[Linker error] undefined reference to `Q_strncpyz'
[Linker error] undefined reference to `Q_strncpyz'
[Linker error] undefined reference to `Q_strncpyz'
more undefined references to `Q_strncpyz' follow
ld returned 1 exit status
C:\Documents and Settings\Joe\My Documents\space\src\ref_gl\Makefile.win [Build Error] [../../ref_gl.dll] Error 1
Other than that, Id be able to run the game :( everything else worked fine....
-
the same thing
all addons for dev C++ installed
maybe its because i use dev 5 beta, not dev4?
-
this problem is on all releases
i tried to compile rc 3.0 and the same happened
maybe you forgot to add something in wiki faq, some kind of library?
[Linker error] undefined reference to `Q_strncpyz'
[Linker error] undefined reference to `Q_strncpyz'
[Linker error] undefined reference to `Q_strncpyz'
[Linker error] undefined reference to `Q_strncpyz'
[Linker error] undefined reference to `Q_strncpyz'
more undefined references to `Q_strncpyz' follow
ld returned 1 exit status
C:\Documents and Settings\Joe\My Documents\space\src\ref_gl\Makefile.win [Build Error] [../../ref_gl.dll] Error 1
-
well i dont have it. which compiler/ide are u using?
and Q_strncpyz() is defined in game\q_sahred.c adding the object file to linker should solve your problem.
-
i am using dev c++ 4.4.9.2
standart compiler
iam not a programmist so i dont know c++ to fix something =(
now i have other errors with new revision wtf =( (revision 2153)
revision RC3 compils with no problems only problem with ref_gl.dll which i wrote in previous post...
log:
Building Makefile: "D:\Games\UFOAIRC3\trunk\src\ref_gl\Makefile.win"
Выполнение make...
make.exe -f "D:\Games\UFOAIRC3\trunk\src\ref_gl\Makefile.win" all
gcc.exe -c gl_anim.c -o gl_anim.o -I"C:/Dev-Cpp/include" -D__GNUWIN32__ -D_M_IX86=500 -Wall -DDEVCPP -DC_ONLY -DUSE_SDL -DSHADERS -DHAVE_GETTEXT -DUSE_SDL_SOUND
gcc.exe -c gl_draw.c -o gl_draw.o -I"C:/Dev-Cpp/include" -D__GNUWIN32__ -D_M_IX86=500 -Wall -DDEVCPP -DC_ONLY -DUSE_SDL -DSHADERS -DHAVE_GETTEXT -DUSE_SDL_SOUND
gcc.exe -c gl_light.c -o gl_light.o -I"C:/Dev-Cpp/include" -D__GNUWIN32__ -D_M_IX86=500 -Wall -DDEVCPP -DC_ONLY -DUSE_SDL -DSHADERS -DHAVE_GETTEXT -DUSE_SDL_SOUND
gcc.exe -c gl_mesh.c -o gl_mesh.o -I"C:/Dev-Cpp/include" -D__GNUWIN32__ -D_M_IX86=500 -Wall -DDEVCPP -DC_ONLY -DUSE_SDL -DSHADERS -DHAVE_GETTEXT -DUSE_SDL_SOUND
gcc.exe -c gl_model.c -o gl_model.o -I"C:/Dev-Cpp/include" -D__GNUWIN32__ -D_M_IX86=500 -Wall -DDEVCPP -DC_ONLY -DUSE_SDL -DSHADERS -DHAVE_GETTEXT -DUSE_SDL_SOUND
gcc.exe -c gl_particle.c -o gl_particle.o -I"C:/Dev-Cpp/include" -D__GNUWIN32__ -D_M_IX86=500 -Wall -DDEVCPP -DC_ONLY -DUSE_SDL -DSHADERS -DHAVE_GETTEXT -DUSE_SDL_SOUND
gcc.exe -c gl_rmain.c -o gl_rmain.o -I"C:/Dev-Cpp/include" -D__GNUWIN32__ -D_M_IX86=500 -Wall -DDEVCPP -DC_ONLY -DUSE_SDL -DSHADERS -DHAVE_GETTEXT -DUSE_SDL_SOUND
gcc.exe -c gl_rmisc.c -o gl_rmisc.o -I"C:/Dev-Cpp/include" -D__GNUWIN32__ -D_M_IX86=500 -Wall -DDEVCPP -DC_ONLY -DUSE_SDL -DSHADERS -DHAVE_GETTEXT -DUSE_SDL_SOUND
gcc.exe -c gl_rsurf.c -o gl_rsurf.o -I"C:/Dev-Cpp/include" -D__GNUWIN32__ -D_M_IX86=500 -Wall -DDEVCPP -DC_ONLY -DUSE_SDL -DSHADERS -DHAVE_GETTEXT -DUSE_SDL_SOUND
gcc.exe -c gl_warp.c -o gl_warp.o -I"C:/Dev-Cpp/include" -D__GNUWIN32__ -D_M_IX86=500 -Wall -DDEVCPP -DC_ONLY -DUSE_SDL -DSHADERS -DHAVE_GETTEXT -DUSE_SDL_SOUND
gcc.exe -c gl_image.c -o gl_image.o -I"C:/Dev-Cpp/include" -D__GNUWIN32__ -D_M_IX86=500 -Wall -DDEVCPP -DC_ONLY -DUSE_SDL -DSHADERS -DHAVE_GETTEXT -DUSE_SDL_SOUND
gcc.exe -c gl_shadows.c -o gl_shadows.o -I"C:/Dev-Cpp/include" -D__GNUWIN32__ -D_M_IX86=500 -Wall -DDEVCPP -DC_ONLY -DUSE_SDL -DSHADERS -DHAVE_GETTEXT -DUSE_SDL_SOUND
gcc.exe -c gl_font.c -o gl_font.o -I"C:/Dev-Cpp/include" -D__GNUWIN32__ -D_M_IX86=500 -Wall -DDEVCPP -DC_ONLY -DUSE_SDL -DSHADERS -DHAVE_GETTEXT -DUSE_SDL_SOUND
gcc.exe -c gl_arb_shader.c -o gl_arb_shader.o -I"C:/Dev-Cpp/include" -D__GNUWIN32__ -D_M_IX86=500 -Wall -DDEVCPP -DC_ONLY -DUSE_SDL -DSHADERS -DHAVE_GETTEXT -DUSE_SDL_SOUND
dllwrap.exe --output-def ../../libref_gl.def --driver-name c++ --implib ../../libref_gl.a gl_anim.o gl_draw.o gl_light.o gl_mesh.o gl_model.o gl_particle.o gl_rmain.o gl_rmisc.o gl_rsurf.o gl_warp.o ../ports/win32/glw_imp.o ../game/q_shared.o ../ports/win32/q_shwin.o ../ports/win32/qgl_win.o gl_image.o gl_shadows.o gl_font.o gl_arb_shader.o -L"C:/Dev-Cpp/lib" -lkernel32 -luser32 -lgdi32 -lwinmm -llibjpeg -lSDL_ttf -lSDL ../ports/win32/intl.lib -def ref_gl.def -o ../../ref_gl.dll
../ports/win32/q_shwin.o(.text+0xc): In function `Hunk_Begin':
D:/Games/UFOAIRC3/trunk/src/ports/win32/q_shwin.c:42: undefined reference to `mcount'
../ports/win32/q_shwin.o(.text+0x75): In function `Hunk_Alloc':
D:/Games/UFOAIRC3/trunk/src/ports/win32/q_shwin.c:58: undefined reference to `mcount'
../ports/win32/q_shwin.o(.text+0x148): In function `Hunk_End':
D:/Games/UFOAIRC3/trunk/src/ports/win32/q_shwin.c:82: undefined reference to `mcount'
../ports/win32/q_shwin.o(.text+0x165): In function `Hunk_Free':
D:/Games/UFOAIRC3/trunk/src/ports/win32/q_shwin.c:100: undefined reference to `mcount'
../ports/win32/q_shwin.o(.text+0x1a1): In function `Sys_Milliseconds':
D:/Games/UFOAIRC3/trunk/src/ports/win32/q_shwin.c:121: undefined reference to `mcount'
../ports/win32/q_shwin.o(.text+0x1ec):D:/Games/UFOAIRC3/trunk/src/ports/win32/q_shwin.c:136: more undefined references to `mcount' follow
collect2: ld returned 1 exit status
dllwrap.exe: c++ exited with status 1
make.exe: *** [../../ref_gl.dll] Error 1
-
well dont misunderstand me, but when you dont know c you should probably stick to the binary releases.
well i only have visual studio. take a look at the wiki i wrote an article how to compile with the freee vc express. when you enouter errors there i can help you
-
bug f***en errors log... oohh)) tried to compile ref_gl.vcproj
kill me plz))))
with visual expr2005
i have xp sp2
log is there:
http://www.yousendit.com/transfer.php?action=download&ufid=F60A2748701E475B
-
remove the line with ia64 from lib, in fact remove every subfolder you have.
you only need platformsdk\lib and directxsdk\lib not the amd64 and ia64. well forgot to mention dont do debug build as in the platform sdk there is no msvcrtd for x86, but for the 64bit machines
-
done, subfolders deleted...
i didnt use debug at that time, only "release"
next errors :?
1>------ Build started: Project: game, Configuration: Release Win32 ------
1>Compiling...
1>q_shwin.c
1>q_shared.c
1>g_utils.c
1>g_svcmds.c
1>g_spawn.c
1>g_main.c
1>g_cmds.c
1>g_client.c
1>g_ai.c
1>Linking...
1> Creating library D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\game32.lib and object D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\game32.exp
1>Generating code
1>Finished generating code
1>Embedding manifest...
1>Performing Post-Build Event...
1>D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\game32.lib
1>D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\game32.exp
1>D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\game32.pdb
1>D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\game32.map
1>D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\game32.dll
1> 5 file(s) copied.
1>Build log was saved at "file://D:\Games\UFOAIRC3\trunk\src\Release\obj\Win32\BuildLog.htm"
1>game - 0 error(s), 0 warning(s)
2>------ Build started: Project: ref_gl, Configuration: Release Win32 ------
2>Compiling...
2>qgl_win.c
2>glw_imp.c
2>gl_warp.c
2>gl_shadows.c
2>gl_rsurf.c
2>gl_rmisc.c
2>gl_rmain.c
2>gl_particle.c
2>gl_model.c
2>gl_mesh.c
2>gl_light.c
2>gl_image.c
2>gl_font.c
2>gl_draw.c
2>gl_arb_shader.c
2>gl_anim.c
2>Linking...
2> Creating library D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\ref_gl32.lib and object D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\ref_gl32.exp
2>glw_imp.obj : error LNK2001: unresolved external symbol __imp__RegisterClassA@4
2>glw_imp.obj : error LNK2001: unresolved external symbol __imp__ChangeDisplaySettingsA@8
2>glw_imp.obj : error LNK2001: unresolved external symbol __imp__SetPixelFormat@12
2>glw_imp.obj : error LNK2001: unresolved external symbol __imp__LoadCursorA@8
2>glw_imp.obj : error LNK2001: unresolved external symbol __imp__AdjustWindowRect@12
2>glw_imp.obj : error LNK2001: unresolved external symbol __imp__UpdateWindow@4
2>glw_imp.obj : error LNK2001: unresolved external symbol __imp__ChoosePixelFormat@8
2>glw_imp.obj : error LNK2001: unresolved external symbol __imp__ShowWindow@8
2>glw_imp.obj : error LNK2001: unresolved external symbol __imp__GetDesktopWindow@0
2>glw_imp.obj : error LNK2001: unresolved external symbol __imp__ReleaseDC@8
2>glw_imp.obj : error LNK2001: unresolved external symbol __imp__CreateWindowExA@48
2>glw_imp.obj : error LNK2001: unresolved external symbol __imp__UnregisterClassA@8
2>glw_imp.obj : error LNK2001: unresolved external symbol __imp__GetDC@4
2>glw_imp.obj : error LNK2001: unresolved external symbol __imp__SetFocus@4
2>glw_imp.obj : error LNK2001: unresolved external symbol __imp__GetDeviceCaps@8
2>glw_imp.obj : error LNK2001: unresolved external symbol __imp__SetForegroundWindow@4
2>glw_imp.obj : error LNK2001: unresolved external symbol __imp__DescribePixelFormat@16
2>glw_imp.obj : error LNK2001: unresolved external symbol __imp__SetDeviceGammaRamp@8
2>glw_imp.obj : error LNK2001: unresolved external symbol __imp__GetDeviceGammaRamp@8
2>glw_imp.obj : error LNK2001: unresolved external symbol __imp__DestroyWindow@4
2>D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\ref_gl32.dll : fatal error LNK1120: 20 unresolved externals
2>Build log was saved at "file://D:\Games\UFOAIRC3\trunk\src\Release\obj\Win32\BuildLog.htm"
2>ref_gl - 21 error(s), 0 warning(s)
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
-
you need to add some libs to the linker:
gdi32, user32 and kernel32.
to do this right click on ref_gl and choose properties. in the new windsoe linker, then input, then additional dependencies and add those to the end:
gdi32 user32 kernel32
-
ok it helps with ref_gl
now i tried the same with ufo.exe...
log:
3>Compiling resources...
3>Linking...
3>cl_campaign.obj : error LNK2001: unresolved external symbol _CL_PopupInit
3>cl_campaign.obj : error LNK2001: unresolved external symbol _CL_PopupNotifyMIssionRemoved
3>cl_map.obj : error LNK2001: unresolved external symbol _CL_DisplayPopupAircraft
3>cl_ufo.obj : error LNK2001: unresolved external symbol _CL_PopupNotifyUfoRemoved
3>sys_win.obj : error LNK2001: unresolved external symbol __imp__GetUserNameA@8
and the second question: have you got a problem inlast revisions like you cant create base and change speed time?
-
Popup stuff is in the new file clients/cl_popup.c which is currently not in the vc project file (nor in the dev-cpp)
-
ok, i added it now only one error:
3>Compiling resources...
3>Linking...
3>sys_win.obj : error LNK2001: unresolved external symbol __imp__GetUserNameA@8
3>D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\ufo32.exe : fatal error LNK1120: 1 unresolved externals
3>Build log was saved at "file://D:\Games\UFOAIRC3\trunk\src\Release\obj\Win32\BuildLog.htm"
3>ufo - 2 error(s), 0 warning(s)
========== Build: 2 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
and some warnings:
>Finished generating code
2>libjpeg.lib(jcapimin.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jcapistd.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jcparam.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jcinit.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jcmaster.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jcmarker.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jcmainct.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jcprepct.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jccoefct.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jccolor.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jcsample.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jchuff.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jcphuff.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jcdctmgr.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jfdctfst.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jfdctflt.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jfdctint.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jdapimin.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jdapistd.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jdmaster.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jdinput.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jdmarker.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jdhuff.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jdphuff.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jdmainct.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jdcoefct.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jdpostct.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jddctmgr.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jidctfst.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jidctflt.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jidctint.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jidctred.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jdsample.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jdcolor.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jquant1.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jquant2.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jdmerge.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jcomapi.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jutils.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jerror.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jmemmgr.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>libjpeg.lib(jmemnobs.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with '..\ports\win32\libjpeg.lib' or at 'D:\Games\UFOAIRC3\trunk\src\Release\bin\Win32\vc80.pdb'; linking object as if no debug info
2>Embedding manifest...
-
GetUserName is defined in advapi32.lib just add to the linker
-
yey!, its done! thank you very much man...
now its all can be added to wiki :D
and..... umuhahahahahahaha uhahahah)))) muhahaha))) we done it)))))))
-
how to add gettext support in VisualStudio?
can you help plz :)
-
when you use vc8 to compile with gettext it breaks the programm. at least for me. i even tried the original libintl but it didnt solved the problem nevertheless, if you wanna give it a try:
right click ufo in the projects and choose properties.
then c/c++->preprocessor and add to the line preprocessor definitions:
;HAVE_GETTEXT
do this for all other also.
edit: if you have read it before my edit, ignore it. must have been the beer from yesterday
-
edit: if you have read it before my edit, ignore it. must have been the beer from yesterday
no i dont =)
yeah... the same..
do you know how to compile in dev c++ with warnings? not errors
because it dont want to compile if any warning was found
-
well actually i just treid the dev cpp build, and if i recall right i had not to do anything.
i will try building libintl myself, to see if its some incompatibility, as the error crashes just after loading libiconv.
ill report the results here again
-
wtf after choosing debug dev c++ compils with size 2.6 and no icon and exe is unstable, how to turn off debug in dev c++?
-
so was bug fixed in visual c++ with gettext?
-
i don't think that someone of the active developers own visual studio - if you do please give it a shot and fix it
thanks
best regards
martin
-
sry guys had some private problems
am kicking in again, finally have some spare time.
i own the "full" studio 2005 and will try to get gettext running
expect sth at the weekend
-
thank you BeBu
-
okay results from today:
i compiled libiconv and gnu gettext with vs 2005, as it is not compatible with older linked versions, and linked against those. Also i had to modify the project settings a bit
result is :
(http://www.solvir.org/startscreen.jpg)
but no reason to celebrate yet. the language is only correct on first start, or when deleting the s_language entry in config.cfg (btw it detects German_Germany.1252, shouldnt that be de_DE?) for the next run.
AND! it crashes when entering tactical mode, so not playable.
i grabbed latest trunk from svn (5958), perhaps that two bugs are known.
I am to tired to investigate firther now. if someone needs i can post modified sln and vcproj files as well as the two modified lib and dlls.
-
yes, please submit a patch - thanks for your work
-
i do later that day,
do you want a diff file for the sln file or just all new files.
also as i this libraries are linked against the new runtime i propose setting up extra dirs for these dlls and libs. They will need msvcr8, which ppl with old studio or free toolkit dont have. i simply create vc8 subfolders in the appropiate folders where the current ones lie
-
no diff needed - just copy the changed files - that's ok
and yes, subfolder in src/ports/win32/vc8
-
if you changed code itself - then of course a diff please
-
btw
if you want me to build the windows release versions of the binaries to distribute next version gimme a shout
-
here is my patch
http://www.solvir.org/ufoai-patch.zip
didnt need to actually modify any sources, but changed folders and stuff in the projects file, so check em with an older studio version.
-
thank you very much - applied to trunk