![]() |
|
My Allegro 5 Template |
jmasterx
Member #11,410
October 2009
|
I have attached my Allegro 5 template. It basically sets up Allegro for MSVC, all the includes, the event queue, a resizable window, physfs etc.... Hopefully people who aren't familiar A5 can find this useful :-) Agui GUI API -> https://github.com/jmasterx/Agui |
Dizzy Egg
Member #10,824
March 2009
![]() |
Looks pretty cool thanks
---------------------------------------------------- |
Tomoso
Member #3,128
January 2003
![]() |
I had a look at this and think it's wrong. The only thing is I'm not sure why =/ But let me try to explain what I think I know \ found out. You are building with /MD (Multi-threaded DLL) when it should be /MT. Now I gave up getting the static builds to work with MSVC because altough following every bit of advice and guide I could get my hands on regarding this I kept getting the same set of errors:
MSVCRT.lib(MSVCR90.dll) : error LNK2005: _abort already defined in LIBCMT.lib(abort.obj) MSVCRT.lib(MSVCR90.dll) : error LNK2005: _memmove already defined in LIBCMT.lib(memmove.obj) MSVCRT.lib(MSVCR90.dll) : error LNK2005: _getenv already defined in LIBCMT.lib(getenv.obj) MSVCRT.lib(MSVCR90.dll) : error LNK2005: __errno already defined in LIBCMT.lib(dosmap.obj) MSVCRT.lib(MSVCR90.dll) : error LNK2005: _strrchr already defined in LIBCMT.lib(strrchr.obj) MSVCRT.lib(MSVCR90.dll) : error LNK2005: _isspace already defined in LIBCMT.lib(_ctype.obj) MSVCRT.lib(MSVCR90.dll) : error LNK2005: _malloc already defined in LIBCMT.lib(malloc.obj) MSVCRT.lib(MSVCR90.dll) : error LNK2005: _free already defined in LIBCMT.lib(free.obj) MSVCRT.lib(MSVCR90.dll) : error LNK2005: _realloc already defined in LIBCMT.lib(realloc.obj) MSVCRT.lib(MSVCR90.dll) : error LNK2005: _tolower already defined in LIBCMT.lib(tolower.obj) MSVCRT.lib(MSVCR90.dll) : error LNK2005: _strncmp already defined in LIBCMT.lib(strncmp.obj) MSVCRT.lib(MSVCR90.dll) : error LNK2005: _strchr already defined in LIBCMT.lib(strchr.obj) MSVCRT.lib(MSVCR90.dll) : error LNK2005: __stricmp already defined in LIBCMT.lib(stricmp.obj)
Every reply I read said something about making sure 'Run Time Library' was set to /MT, but obivously that didn't solve the problem. So anyway tonight I had enough of this so I set about getting it to work. I found this guide which kind of help me understand what was going on (a very vague kind of). So anyway the task then was to link with 'msvcrt.lib' before linking with 'libcmt.lib' which meant setting 'Ignore all default Libraries' to 'Yes (/NODEFAULTLIB)' and adding both libs to the 'Additional Dependencies' list which I expected to work. But alas it did not and I got a new set of errors:
1allegro_image-static-4.9.17.lib(iio.obj) : error LNK2001: unresolved external symbol __imp__stricmp
2allegro_font-static-4.9.17.lib(font.obj) : error LNK2001: unresolved external symbol __imp__stricmp
3allegro-static-4.9.17.lib(wnewsys.obj) : error LNK2001: unresolved external symbol __imp__stricmp
4allegro-static-4.9.17.lib(d3d_disp.obj) : error LNK2001: unresolved external symbol __imp__stricmp
5allegro-static-4.9.17.lib(wgl_disp.obj) : error LNK2001: unresolved external symbol __imp__stricmp
6allegro-static-4.9.17.lib(ogl_bitmap.obj) : error LNK2001: unresolved external symbol __imp__stricmp
7allegro-static-4.9.17.lib(fshook_stdio.obj) : error LNK2001: unresolved external symbol __imp__unlink
8allegro-static-4.9.17.lib(file_stdio.obj) : error LNK2001: unresolved external symbol __imp__unlink
9allegro-static-4.9.17.lib(fshook_stdio.obj) : error LNK2001: unresolved external symbol __imp__getcwd
10allegro-static-4.9.17.lib(fshook_stdio.obj) : error LNK2001: unresolved external symbol __imp__chdir
11allegro-static-4.9.17.lib(fshook_stdio.obj) : error LNK2001: unresolved external symbol __imp__mkdir
12allegro-static-4.9.17.lib(fshook_stdio.obj) : error LNK2001: unresolved external symbol __imp__rmdir
13allegro-static-4.9.17.lib(file_stdio.obj) : error LNK2001: unresolved external symbol __imp__fdopen
14allegro-static-4.9.17.lib(file_stdio.obj) : error LNK2001: unresolved external symbol __imp__close
15allegro-static-4.9.17.lib(file_stdio.obj) : error LNK2001: unresolved external symbol __imp__open
After reading that guide and a few other bits on the net my understanding was these functions where declared in both of these libs, but obivoulsy not. So I went back to square one and turned on /verbose:lib to see the order of the linking and tried to pick out any other libs where these functions declarations might be hiding (I'm saying "function declarations" like I know what I'm talking about, I really don't). Any way I came accross 'oldnames.lib' and thought I would replace that with 'libcmt.lib' when turning on the /NODEFAULTLIB (after all the origonal problem was a confliction between msvcrt and libcmt wanting to declare the same stuff). So after all that I finally got it to compile without any errors. But now I get a load of warnings which annoy me (listed below - warning (no pun intnded) there are lots).
1jpeg.lib(jcsample.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
2jpeg.lib(jquant2.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
3jpeg.lib(jcomapi.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
4jpeg.lib(jidctflt.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
5jpeg.lib(jdpostct.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
6jpeg.lib(jdmaster.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
7jpeg.lib(jfdctint.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
8jpeg.lib(jcmainct.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
9jpeg.lib(jmemansi.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
10jpeg.lib(jddctmgr.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
11jpeg.lib(jerror.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
12jpeg.lib(jcprepct.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
13jpeg.lib(jchuff.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
14jpeg.lib(jdcolor.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
15jpeg.lib(jcparam.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
16jpeg.lib(jdmerge.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
17jpeg.lib(jdinput.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
18jpeg.lib(jidctfst.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
19jpeg.lib(jccolor.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
20jpeg.lib(jcmarker.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
21jpeg.lib(jfdctflt.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
22jpeg.lib(jcmaster.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
23jpeg.lib(jdhuff.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
24jpeg.lib(jdapimin.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
25jpeg.lib(jcdctmgr.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
26jpeg.lib(jdsample.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
27jpeg.lib(jcapimin.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
28jpeg.lib(jdcoefct.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
29jpeg.lib(jdmarker.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
30jpeg.lib(jutils.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
31jpeg.lib(jidctint.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
32jpeg.lib(jdmainct.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
33jpeg.lib(jmemmgr.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
34jpeg.lib(jaricom.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
35jpeg.lib(jcarith.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
36jpeg.lib(jcinit.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
37jpeg.lib(jfdctfst.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
38jpeg.lib(jdapistd.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
39jpeg.lib(jccoefct.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
40jpeg.lib(jquant1.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
41jpeg.lib(jdarith.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
42jpeg.lib(jcapistd.obj) : warning LNK4204: 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\vc90.pdb' is missing debugging information for referencing module; linking object as if no debug info
43allegro-static-4.9.17.lib(allegro.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
44allegro-static-4.9.17.lib(bitmap_new.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
45allegro-static-4.9.17.lib(blenders.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
46allegro-static-4.9.17.lib(config.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
47allegro-static-4.9.17.lib(convert.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
48allegro-static-4.9.17.lib(display_new.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
49allegro-static-4.9.17.lib(display_settings.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
50allegro-static-4.9.17.lib(dtor.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
51allegro-static-4.9.17.lib(events.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
52allegro-static-4.9.17.lib(evtsrc.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
53allegro-static-4.9.17.lib(file.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
54allegro-static-4.9.17.lib(file_stdio.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
55allegro-static-4.9.17.lib(fshook.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
56allegro-static-4.9.17.lib(fshook_stdio.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
57allegro-static-4.9.17.lib(libc.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
58allegro-static-4.9.17.lib(memblit.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
59allegro-static-4.9.17.lib(memdraw.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
60allegro-static-4.9.17.lib(memory.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
61allegro-static-4.9.17.lib(mousenu.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
62allegro-static-4.9.17.lib(path.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
63allegro-static-4.9.17.lib(pixels.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
64allegro-static-4.9.17.lib(rotate.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
65allegro-static-4.9.17.lib(system_new.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
66allegro-static-4.9.17.lib(threads.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
67allegro-static-4.9.17.lib(tls.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
68allegro-static-4.9.17.lib(transformations.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
69allegro-static-4.9.17.lib(utf8.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
70allegro-static-4.9.17.lib(bstrlib.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
71allegro-static-4.9.17.lib(vector.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
72allegro-static-4.9.17.lib(winput.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
73allegro-static-4.9.17.lib(wjoydrv.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
74allegro-static-4.9.17.lib(wjoydxnu.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
75allegro-static-4.9.17.lib(wkeyboard.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
76allegro-static-4.9.17.lib(wmcursor.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
77allegro-static-4.9.17.lib(wmouse.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
78allegro-static-4.9.17.lib(wnewsys.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
79allegro-static-4.9.17.lib(wnewwin.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
80allegro-static-4.9.17.lib(wthread.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
81allegro-static-4.9.17.lib(wtime.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
82allegro-static-4.9.17.lib(wxthread.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
83allegro-static-4.9.17.lib(d3d_bmp.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
84allegro-static-4.9.17.lib(d3d_disp.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
85allegro-static-4.9.17.lib(extensions.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
86allegro-static-4.9.17.lib(ogl_bitmap.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
87allegro-static-4.9.17.lib(ogl_draw.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
88allegro-static-4.9.17.lib(ogl_display.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
89allegro-static-4.9.17.lib(wgl_disp.obj) : warning LNK4099: PDB 'allegro-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro-static-4.9.17.pdb'; linking object as if no debug info
90allegro_image-static-4.9.17.lib(bmp.obj) : warning LNK4099: PDB 'allegro_image-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro_image-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro_image-static-4.9.17.pdb'; linking object as if no debug info
91allegro_image-static-4.9.17.lib(iio.obj) : warning LNK4099: PDB 'allegro_image-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro_image-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro_image-static-4.9.17.pdb'; linking object as if no debug info
92allegro_image-static-4.9.17.lib(pcx.obj) : warning LNK4099: PDB 'allegro_image-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro_image-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro_image-static-4.9.17.pdb'; linking object as if no debug info
93allegro_image-static-4.9.17.lib(tga.obj) : warning LNK4099: PDB 'allegro_image-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro_image-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro_image-static-4.9.17.pdb'; linking object as if no debug info
94allegro_image-static-4.9.17.lib(png.obj) : warning LNK4099: PDB 'allegro_image-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro_image-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro_image-static-4.9.17.pdb'; linking object as if no debug info
95allegro_image-static-4.9.17.lib(jpg.obj) : warning LNK4099: PDB 'allegro_image-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro_image-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro_image-static-4.9.17.pdb'; linking object as if no debug info
96allegro_font-static-4.9.17.lib(font.obj) : warning LNK4099: PDB 'allegro_font-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro_font-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro_font-static-4.9.17.pdb'; linking object as if no debug info
97allegro_font-static-4.9.17.lib(fontbmp.obj) : warning LNK4099: PDB 'allegro_font-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro_font-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro_font-static-4.9.17.pdb'; linking object as if no debug info
98allegro_font-static-4.9.17.lib(text.obj) : warning LNK4099: PDB 'allegro_font-static-4.9.17.pdb' was not found with 'C:\allegro\lib\allegro_font-static-4.9.17.lib' or at 'c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\C++\AllegroTest\Debug\allegro_font-static-4.9.17.pdb'; linking object as if no debug info
I found a page here and after building it with the settings it suggested it remained the same. I now believe this is something to do with how the binaries are built rather than anything else. There is also one more warning and I'm not sure how serious it is:
But following the advice to get rid of it leads to another warning turning off something else, then another, then another etc... I don't like the jpeg library. Sorry for the long post but I thought it was best if I explained the problem fully to the best of my knowledge. I believe the confliction problems with 'msvcrt.lib' all start because we're linking with allegro statically, and all these warnings would vanish if the builds were released with dlls again (please someone release the dlls!). For the mean time I'm going back to code::blocks where these problems don't exisit. Lazy Noob - Blog |
jmasterx
Member #11,410
October 2009
|
Okay I solved it and reuploaded the fixed version Agui GUI API -> https://github.com/jmasterx/Agui |
Tomoso
Member #3,128
January 2003
![]() |
I just had another look with regards to ignoring libraries and found this: MSDN said: Important The run-time libraries now contain directives to prevent mixing different types. You’ll receive this warning if you try to use different types or debug and non-debug versions of the run-time library in the same program. For example, if you compiled one file to use one kind of run-time library and another file to use another kind (for example, single-threaded versus multithreaded) and tried to link them, you’ll get this warning. You should compile all source files to use the same run-time library. Which means ignoring libcmtd.lib is wrong for building with /MT. But this is getting way to confusing for me to work out because if you follow what it says in that article it wont link correctly anyway... I'm going to try and compile the dlls later for MSVC just to see if this fixes the problem. I really would like to use MSVC, but not with 100+ warnings everytime I compile. It just makes me feel dirty. Lazy Noob - Blog |
jmasterx
Member #11,410
October 2009
|
Agui GUI API -> https://github.com/jmasterx/Agui |
|