Re: [AD] link error

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


(alg4.1.11)

In makefile.vc  there seems to be a  -Zi  switch for debug mode already.
Therefore i think the problem is elsewhere.

When i link my app in msvc7 (alg4.1.11) it gives me that link error, about pdb missing.

Now i think the problem might be to do with the .pdb file produced when allegro is compiled is not copied to /Program Files/MSVC7/vc7/lib im not sure it should go there, that is a guess.

I have just unpacked a fresh, alg4.0.3 and have successfully compiled it, using the method described in /doc/build/msvc.html and everything was fine.

So, now we at least have a reference MAKEFILE  that works.

Next step is to unpack a fresh alg4.1.11  and try it again.






At 03:02 PM 14/09/2003 +0200, you wrote:
> MSDN describes the /Zi option as:
>
> /Zi Produces a program database (PDB) that contains type information and
> symbolic debugging information for use with the debugger.

I presume this is a new switch in MSVC7?

> it looks like the makefile needs to  include  the /Zi switch.

Probably. But, as we still need to support MSVC 4, 5 and 6, we must enable it
only selectively.

Do you know of a method that could be used in a makefile to differentiate
MSVC7 from its ancestors? For example, the presence of a specific file.

--
Eric Botcazou


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
--
https://lists.sourceforge.net/lists/listinfo/alleg-developers





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/