I'm trying to compile the thrift cpp library from a debian and mingw toolset. I manage to compile zlib, openssl, and libevent with mingw. But when I'm trying to configure thrift, it does not detect libevent (but it detects openssl and zlib). below is my configure command :
./configure --host=x86_64-w64-mingw32 --enable-static --disable-shared LDFLAGS=”-L/home/ioan/devTools/openssl-OpenSSL_1_1_1-stable -L/home/ioan/devTools/libevent-2.1.11-stable/ -L/home/ioan/devTools/zlib-1.2.11/ -L/usr/x86_64-w64-mingw32/lib -lgdi32 -lws2_32 -lmincore -lole32 -lwindowsapp” CPPFLAGS=”-I/home/ioan/devTools/zlib-1.2.11/ -I/home/ioan/devTools/openssl-OpenSSL_1_1_1-stable/include -I/home/ioan/devTools/libevent-2.1.11-stable/include --with-libevent=/home/ioan/devTools/libevent-2.1.11-stable” --with-boost=/home/ioan/devTools/boostLibs --with-zlib=/home/ioan/devTools/zlib-1.2.11
I set the LDFLAGS environment variable, the CPPFLAGS environment variable and the --with-libevent tag. But the configure result is always the same : not detected!!!
The build is ok, but i'm missing the libthriftnb.a library (I got only libthrift.a and libthriftz.a) Did I miss something?
regards, Ioan