On Fri, 12 Sep 2003, Kevin Atkinson wrote:
Here is what I got: avs2yuv4mpeg.cpp - the main program avisynth_c.h - header for DLL I need to link with avisynth_c.lib - lib " " "
And I want to compile this into an executable avs2yuv4mpeg
OK I figured out how to get it to compile. I manually created libavisynth_c.def, it is attached. I know that wasn't the best thing to do but it worked. Why is this necessary? Can't it use the .lib file? Failing that is there a script to create the .def from the .lib?
However, I didn't seam to gain anything from making it a winelib application. It still runs like a windows application and uses wine. Furthermore it is still using windows I/O.
How can I use the native glibc I/O libraries? In particular I want to be able for stdout and stderr to be handles like they would in a linux application so I can send my output to stdout (with out any line conversion) and messages to stderr. Right now when I redirect stdout stderr gets redirected also.
Is it possible to run a winelib application as a native executable, or is wine needed for the loading of windows dlls?
avs2yuv4mpeg.cpp is also attached.