标签:
./configure --enable-shared
make
pexports libx264-112.dll > libx264-112.def
lib /machine:ix86 /def:libx264-112.def
#include <iostream>
#include <string>
#include "stdint.h"
extern "C"
{
#include "x264.h"
#include "x264_config.h"
};
using namespace std;
int main()
{
x264_param_t param;
x264_param_default(¶m);
return 0;
}
有个问题,在调试的时候没法进入x264的函数内部。
标签:
原文地址:http://www.cnblogs.com/pengdonglin137/p/5096831.html