apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 62922] New: Building libaprutil-1 failed
Date Sat, 17 Nov 2018 18:49:38 GMT

            Bug ID: 62922
           Summary: Building libaprutil-1 failed
           Product: APR
           Version: 1.6.1
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR-util
          Assignee: bugs@apr.apache.org
          Reporter: contact@grandville.net
  Target Milestone: ---

running this command 
cmake --build . --config "MinSizeRel" --target "libaprutil-1"
will produce huge imports errors (LNK2001) with all exported functions located
in the APR library.

As far as I understand, the problem seems to be located in
apr-util\CMakeLists.txt line 236

By setting pragma APR_DECLARE_EXPORT, all the APR library functions are
declared in apr.h has dllexported, by removing this flag, they become
dllimported functions and that's exactly what we want ?!?



You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org

View raw message