mingw64 compiled dll - missing version on dll properties

External libraries (GTK, GSL, SDL, Allegro, OpenGL, etc) questions.
Post Reply
Iczer
Posts: 88
Joined: Jul 04, 2017 18:09

mingw64 compiled dll - missing version on dll properties

Post by Iczer »

just wanted to check/compare actual version of freshly compiled libavif.dll and discovered that it has none - on right-click->properties in explorer there a no "version" tab in displayed window. Going by library sources, version should be "0.10.1.0". Did I miss something on configure(cmake) or compile time for version tab to be present on properties of windows dll compiled with mingw64? Maybe some key should be present in configure or compile script? Or file?
Imortis
Moderator
Posts: 1886
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Re: mingw64 compiled dll - missing version on dll properties

Post by Imortis »

I believe that information is pulled from a manifest file at compile time, but I am afraid I don't know how that works for DLLs. It might be better to ask at the github page for that instead of here as we have no control over that library.
dodicat
Posts: 7655
Joined: Jan 10, 2006 20:30
Location: Scotland

Re: mingw64 compiled dll - missing version on dll properties

Post by dodicat »

info.rc

Code: Select all


1 VERSIONINFO
FILEVERSION     1,0,0,0
PRODUCTVERSION  1,0,0,0
BEGIN
  BLOCK "StringFileInfo"
  BEGIN
    BLOCK "080904E4"
    BEGIN
      VALUE "CompanyName", "My own company"
      VALUE "FileDescription", "Fabulous"
      VALUE "FileVersion", "1.0"
      VALUE "InternalName", "Test.dll"
      VALUE "LegalCopyright", "Use at will"
      VALUE "OriginalFilename", "First of it's kind"
      VALUE "ProductName", "Don't know yet"
      VALUE "ProductVersion", "1.0"
    END
  END

  BLOCK "VarFileInfo"
  BEGIN
    VALUE "Translation", 0x809, 1252
  END
END
 
test.bas

Code: Select all


#cmdline "info.rc -dll"
function show() as zstring ptr export
      return strptr(__function__)
      end function
 
Try these two files out.(put them in the same folder and run test.bas)
Look at the test.dll properties--details.
I checked the srvaldez build of the avif dll
https://freebasic.net/forum/viewtopic.p ... 5&start=15
But no details given.
I see no resource or manifest files used by make in the git hub files.
Post Reply