#43 Make keepassx buildable using MSVC 2008

closed-fixed
nobody
None
5
2010-01-08
2010-01-06
No

for some reason advapi32.dll is not linked automatically
and there is also unneeded dependency for <unistd.h> in apg/randpass.c

Discussion

  • Ivan Zezyulya

    Ivan Zezyulya - 2010-01-08

    Yes, advapi32 is still required.

    End of build log:

    link /LIBPATH:"c:\Qt\4.6.0-vc\lib" /NOLOGO /INCREMENTAL:NO /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /OUT:..\bin\KeePassX.exe @C:\Users\ivan\AppData\Local\Temp\KeePassX.exe.25696140.jom
    random.obj : error LNK2019: unresolved external symbol __imp__CryptReleaseContext@8 referenced in function "bool __cdecl getNativeEntropy(unsigned char *,int)" (?getNativeEntropy@@YA_NPAEH@Z)
    random.obj : error LNK2019: unresolved external symbol __imp__CryptGenRandom@12 referenced in function "bool __cdecl getNativeEntropy(unsigned char *,int)" (?getNativeEntropy@@YA_NPAEH@Z)
    random.obj : error LNK2019: unresolved external symbol __imp__CryptAcquireContextW@20 referenced in function "bool __cdecl getNativeEntropy(unsigned char *,int)" (?getNativeEntropy@@YA_NPAEH@Z)
    ..\bin\KeePassX.exe : fatal error LNK1120: 3 unresolved externals

    (full log: http://pastebin.com/m6ace980d\)

     
  • - 2010-01-08
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks