Hi all,
I've been trying to get a x64 version of flac without having to manually edit all vcproj files and as I'm learning Qt, I thought I'd pour the projects into a qmake .pro file. Libogg and libvorbis with associated executables compiled fine and their dll exports (checked with dumpbin /exports command).
I have already arrived at libflac++.dll, and it exports only 464 instead of 495 functions (in the official build). I have set all defines like in the vcproj file, but still no luck. I'm sorry to link to an external site, but it's the best I can do:
http://www.media (http://www.media) fire.com/file/mzmz2myhzid/flac-qmake.zip
You shouldn't need a working Qt installation, and the project layout is as follows:
/src: .c and .cpp files
/lib: output lib files
/depend: dependencies shared accross several main binaries
/lib: output for depend libs and location of ogg_static(d).lib
/src and /include and project name folders: self explanatory
/include: header files
/bin: exe output
Debug builds:
nmake debug
take debug libraries (library name +d)
release builds:
nmake release
If someone knowledgeable about flac source could check what could be wrong, I'd be much obliged.
The .pro files can be checked as well, they are fairly straight-forward to understand. The pri file also contains some preprocessor defines. When any of these files is modified, "qmake flac.pro" needs to be run again (from eg a Qt sdk with makespec set to win32-msvc2008).
FYI, I can succesfully build a complete x64 flac c library (static and dynamic), I did apply this patch (http://www.mail-archive.com/flac-dev@xiph.org/msg00951.html) , and set FLAC__NO_ASM and FLAC__CPU_AMD64.
Thanks a lot!
PS: if you need more info I'd be happy to give it.