Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: flac.dll exports not complete (Read 1751 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

flac.dll exports not complete

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 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.