Build with Visual Studio 2015 errors

Re: Build with Visual Studio 2015 errors

Postby Antonio Linares » Thu Apr 09, 2015 9:37 am

Solved with these changes in c:\openssl\crypto\rand\rand_win.c line 544:

Code: Select all  Expand view
               // m.dwSize = sizeof(MODULEENTRY32);
                if (good)
                    starttime = GetTickCount();
                if (module_first(handle, ( LPMODULEENTRY32 ) &m))
                    do
                        RAND_add(&m, sizeof(MODULEENTRY32), 9);
                    while (module_next(handle, ( LPMODULEENTRY32 ) &m)
                           && (!good
                               || (GetTickCount() - starttime) < MAXDELAY));
                if (close_snap)
                    close_snap(handle);
                else
                    CloseHandle(handle);
 
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41440
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Build with Visual Studio 2015 errors

Postby Antonio Linares » Thu Apr 09, 2015 9:41 am

Next error:

link /nologo /subsystem:console /opt:ref /out:out32\constant_time_test.exe @C:\Users\ADMINI~1\AppData\Local\Temp\nmF6
D2.tmp
constant_time_test.obj : error LNK2019: unresolved external symbol ___iob_func referenced in function _main
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\OLDNAMES.lib : warning LNK4272: library machine type 'UNKNOWN' con
flicts with target machine type 'X86'
out32\constant_time_test.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\link.EXE"' : return code '0x460'
Stop.


iob_func again...
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41440
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Build with Visual Studio 2015 errors

Postby Antonio Linares » Thu Apr 09, 2015 9:45 am

These libs have been already built:

c:\openssl\out32\libeay32.lib

c:\openssl\out32\ssleay32.lib

Not sure what else we need now...
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41440
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Build with Visual Studio 2015 errors

Postby Antonio Linares » Thu Apr 09, 2015 10:51 am

According to hbssl.hbp we need these DLLs:

-depimplibs=openssl:../out32dll/libeay32.dll
-depimplibs=openssl:../out32dll/ssleay32.dll
-depimplibs=openssl:../dll/libeay32.dll
-depimplibs=openssl:../dll/ssleay32.dll
-depimplibs=openssl:../libeay32.dll
-depimplibs=openssl:../ssleay32.dll

We may try to solve the iob_func error and see if the DLLs get built.

Not sure yet why the iob_func error is happening this time
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41440
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 63 guests