[FFmpeg-trac] #1938(documentation:open): Provide c99wrap.exe and c99conv.exe
FFmpeg
trac at avcodec.org
Wed Nov 21 19:14:06 CET 2012
#1938: Provide c99wrap.exe and c99conv.exe
-------------------------------------+-------------------------------------
Reporter: theateist | Owner:
Type: enhancement | Status: open
Priority: wish | Component:
Version: git-master | documentation
Keywords: msvc | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 1
-------------------------------------+-------------------------------------
Comment (by theateist):
Replying to [comment:15 dbuitenh]:
> > > > > I expected that after "make" I'll get compiled ffmpeg in VS
manner and namely lib,pdb,exe files, but I get .a,.d,.o files instead. It
seems that it was compiled by gcc and not cl!
>
> Wrong. It's just a different object suffix. It's still being compiled by
cl.
>
> > > when I ran "ran ./configure --toolchain=msvc" the output on the
screen was a long list of names and in the end the following
> > >
> > > {{{
> > > License: LGPL version 2.1 or later
> > > Creating config.mak and config.h...
> > > libavutil/avconfig.h is unchanged
> > >
> > > WARNING: pkg-config not found, library detection may fail.
> > > }}}
> > >
> > > I don't know what the warning means, so I continued and ran "make".
Eventually make finished. I guess there were no errors because I did not
saw any error messages.
>
> You can safely ignore that warning.
>
> > > After "make" command the "ff_src" folder contains: ffmpeg.exe,
ffmpeg_g.exe, ffprobe_g.exe, *.o, *.d...
> > > "ff_src/libavcodec" and other folder contains *.o, *.d, *.a.
> > >
> > > But there is no pdb files!
> > >
> > > At first, I though that somehow gcc.exe runs and not cl.exe, but I
checked and cl.exe does runs and not gcc.exe. So, why cl.exe outputs *.o,
*.a... and not what cl.exe generally outputs lib, pdb? How to fix it?
>
> See both above and below.
>
> > cehoyos, I'm sorry for disturbing, but this very urgent to me in order
to understand how some functions in ffmpeg works in order to accomplish my
project. Therefore I need those pdb files in order to debug and see how
ffmpeg works
>
> Proper debug flags for --enable-debug need to be added. For now you can
ad the proper flags with something like --extra-cflags="-Z7" --extra-
ldflags="-DEBUG" or something of the sort.
>
I tried ./configure --toolchain=msvc --extra-cflags="-Z7" --extra-
ldflags="-DEBUG"
and then "make"
It created only 1 pdb file, named something like 101.pdb and that's all.
No psb files for ffmpeg.exe were created. What I'm doing wrong?
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1938#comment:16>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list