I wanted to generate a HTML to an image, but I god this error:
The exit status code '1' says something went wrong: stderr: "Loading
page (1/2) [> ] 0% [======> ] 10% QSslSocket: cannot resolve
CRYPTO_num_locks QSslSocket: cannot resolve CRYPTO_set_id_callback
QSslSocket: cannot resolve CRYPTO_set_locking_callback QSslSocket:
cannot resolve sk_free QSslSocket: cannot resolve sk_num QSslSocket:
cannot resolve sk_pop_free QSslSocket: cannot resolve sk_value
QSslSocket: cannot resolve SSL_library_init QSslSocket: cannot resolve
SSL_load_error_strings QSslSocket: cannot resolve SSLv3_client_method
QSslSocket: cannot resolve SSLv23_client_method QSslSocket: cannot
resolve SSLv3_server_method QSslSocket: cannot resolve
SSLv23_server_method QSslSocket: cannot resolve
X509_STORE_CTX_get_chain QSslSocket: cannot resolve
OPENSSL_add_all_algorithms_noconf QSslSocket: cannot resolve
OPENSSL_add_all_algorithms_conf QSslSocket: cannot resolve SSLeay
QSslSocket: cannot call unresolved function CRYPTO_num_locks
QSslSocket: cannot call unresolved function CRYPTO_set_id_callback
QSslSocket: cannot call unresolved function
CRYPTO_set_locking_callback QSslSocket: cannot call unresolved
function SSL_library_init QSslSocket: cannot call unresolved function
SSLv23_client_method QSslSocket: cannot call unresolved function
sk_num [=========> ] 15% [==================> ] 30%
[========================> ] 40% QSslSocket: cannot call unresolved
function SSLv23_client_method QSslSocket: cannot call unresolved
function SSL_library_init
[============================================================] 100%
Rendering (2/2) [> ] 0% [===============> ] 25%
[============================================================] 100%
Done Exit with code 1 due to network error: UnknownNetworkError
QSslSocket: cannot call unresolved function CRYPTO_num_locks
QSslSocket: cannot call unresolved function CRYPTO_set_id_callback
QSslSocket: cannot call unresolved function
CRYPTO_set_locking_callback " stdout: "" command:
/var/www/botond/vendor/h4cc/wkhtmltoimage-amd64/bin/wkhtmltoimage-amd64
--format 'jpg' '/tmp/knp_snappy5bb7d38dbfea18.2936
5936.html' 'img/temp/weather/Battonya_1538773901_raw.jpg'.
I saw somewhere that I have to install libssl1.0-dev, but when I tried to give the command: sudo apt-get install libssl1.0-dev I got the error that this repository is missing. I found a page where I downloaded the .deb, but when I tried to install it, I got en error, that I already have the new version.
How to solve it?
pizzamonster is right.
Go here:
https://wkhtmltopdf.org/downloads.html
Download the 0.12.5 version for your operating system.
I'm using Mint 19 (ubuntu 18.04) so I'll keep going with that.
After you install the package, do:
which wkhtmltoimage
You'll probably get /usr/local/bin/wkhtmltoimage - so just copy this to a new place in your laravel project, in your case I'd make a new 'bin' directory, like this:
/var/www/botond/bin/
and then put wkhtmltoimage in that directory so you can commit it to your project.
Assuming you're using the snappy package by barryvdh (barryvdh/laravel-snappy), change your 'binary' attribute in your 'image' array (/config/snappy.php) to this:
'binary' => base_path('bin/wkhtmltoimage'),
or perhaps something like this:
'binary' => env('SNAPPY_IMG_BIN', base_path('bin/wkhtmltoimage')),
and you should be all set. You can, of course, also change binary to '/usr/local/bin/wkhtmltoimage' - or perhaps use this in your .env:
SNAPPY_PDF_BIN=/usr/local/bin/wkhtmltopdf
Good luck.
p.s. since you're doing this on Laravel, you might want to change the name of the question to 'wkhtmltoimage: QsslSocket Laravel barryvdh/laravel-snappy'
In my case (Debian buster 10.x) I need to update wkhtmltopdf binaries to newest one via composer. Unfortunately most common h4cc bins are abandoned. I prepare new updated one:
composer require getoxs/wkhtmltopdf-buster-amd64
https://packagist.org/packages/getoxs/wkhtmltopdf-buster-amd64
Related
------------------UPDATE on 5/20/2019------------------
Following the suggestion by Gilles Gouaillardet, I have compiled my Fortran code with the /NODEFAULTLIB option. Now, I get fewer error messages:
Error 1 error LNK2019: unresolved external symbol __intel_new_feature_proc_init referenced in function MAIN__Test.obj
Error 2 error LNK2019: unresolved external symbol for_set_reentrancy referenced in function MAIN__ Test.obj
Error 3 error LNK2019: unresolved external symbol for_write_seq_lis referenced in function MAIN__ Test.obj
Error 4 error LNK2001: unresolved external symbol mainCRTStartup LINK
Error 5 error LNK2001: unresolved external symbol _fltused msmpifmc.lib(mpifbind.obj)
Error 6 fatal error LNK1120: 5 unresolved externals x64\Release\Hello.exe
Thank you.
------------------UPDATE on 5/17/2019------------------
So this is a response to the comment by Gilles Gouaillardet. This is only an update to my original question and not an answer.
My code is:
program mpisimple
implicit none
integer ierr
include 'mpif.h'
call mpi_init(ierr)
! print message to screen
write(6,*) 'Hello World!'
call mpi_finalize(ierr)
end
Just to recap, I am using Visual Studio 2012 and I have downloaded Microsoft-MPI v.10.0.
The following directories have been added to the "Additional Include Directories" for Fortran tab:
C:\Program Files (x86)\Microsoft SDKs\MPI\Include\x64
C:\Program Files (x86)\Microsoft SDKs\MPI\Include
The following directories have been added to the "Additional Library Directories" for Linker tab:
C:\Program Files (x86)\Microsoft SDKs\MPI\Lib\x64
These two files have been added as the Additional Dependencies:
"msmpifmc.lib" "msmpi.lib" <- I also tried these without the quotation marks.
Now I am getting different errors, which have to do with things already defined elsewhere:
Error 1 error LNK2005: __crtSetUnhandledExceptionFilter already defined in MSVCRT.lib(MSVCR110.dll) LIBCMT.lib(winapisupp.obj)
Error 2 error LNK2005: _calloc_crt already defined in MSVCRT.lib(MSVCR110.dll) LIBCMT.lib(crtheap.obj)
Error 3 error LNK2005: _amsg_exit already defined in MSVCRT.lib(MSVCR110.dll) LIBCMT.lib(crt0dat.obj)
Error 4 error LNK2005: _cexit already defined in MSVCRT.lib(MSVCR110.dll) LIBCMT.lib(crt0dat.obj)
Error 5 error LNK2005: _exit already defined in MSVCRT.lib(MSVCR110.dll) LIBCMT.lib(crt0dat.obj)
Error 6 error LNK2005: _initterm_e already defined in MSVCRT.lib(MSVCR110.dll) LIBCMT.lib(crt0dat.obj)
Error 7 error LNK2005: exit already defined in MSVCRT.lib(MSVCR110.dll) LIBCMT.lib(crt0dat.obj)
Error 8 error LNK2005: _lock already defined in MSVCRT.lib(MSVCR110.dll) LIBCMT.lib(mlock.obj)
Error 9 error LNK2005: _unlock already defined in MSVCRT.lib(MSVCR110.dll) LIBCMT.lib(mlock.obj)
Error 10 error LNK2005: _XcptFilter already defined in MSVCRT.lib(MSVCR110.dll) LIBCMT.lib(winxfltr.obj)
Error 11 error LNK2005: _configthreadlocale already defined in MSVCRT.lib(MSVCR110.dll) LIBCMT.lib(wsetloca.obj)
Error 12 error LNK2005: "void __cdecl terminate(void)" (?terminate##YAXXZ) already defined in MSVCRT.lib(MSVCR110.dll) LIBCMT.lib(hooks.obj)
Error 13 error LNK2005: __xi_a already defined in MSVCRT.lib(cinitexe.obj) LIBCMT.lib(crt0init.obj)
Error 14 error LNK2005: __xi_z already defined in MSVCRT.lib(cinitexe.obj) LIBCMT.lib(crt0init.obj)
Error 15 error LNK2005: __xc_a already defined in MSVCRT.lib(cinitexe.obj) LIBCMT.lib(crt0init.obj)
Error 16 error LNK2005: __xc_z already defined in MSVCRT.lib(cinitexe.obj) LIBCMT.lib(crt0init.obj)
Error 17 error LNK2005: __set_app_type already defined in MSVCRT.lib(MSVCR110.dll) LIBCMT.lib(errmode.obj)
Warning 18 warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library LINK
Warning 19 warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library LINK
Error 20 fatal error LNK1169: one or more multiply defined symbols found x64\Release\Hello.exe
Thank you all for your help!
------------------ORIGINAL POST------------------
I have been trying to compile a Fortran code that uses MPI but I keep getting "unresolved external symbol" errors related to MPI. How do I link MPI libraries properly?
I am using the Intel Compiler with Visual Studio and MPI is provided by Microsoft MPI. The error messages are as follows
Error 1 error LNK2019: unresolved external symbol MPI_INIT referenced in function MAIN__ ex5f.obj
Error 2 error LNK2019: unresolved external symbol MPI_COMM_RANK referenced in function MAIN__ ex5f.obj
Error 3 error LNK2019: unresolved external symbol MPI_COMM_SIZE referenced in function MAIN__ ex5f.obj
Error 4 error LNK2019: unresolved external symbol HYPRE_IJMATRIXCREATE referenced in function MAIN__ ex5f.obj
Error 5 error LNK2019: unresolved external symbol HYPRE_IJMATRIXSETOBJECTTYPE referenced in function MAIN__ ex5f.obj
Error 6 error LNK2019: unresolved external symbol HYPRE_IJMATRIXINITIALIZE referenced in function MAIN__ ex5f.obj
Error 7 error LNK2019: unresolved external symbol HYPRE_IJMATRIXSETVALUES referenced in function MAIN__ ex5f.obj
Error 8 error LNK2019: unresolved external symbol HYPRE_IJMATRIXASSEMBLE referenced in function MAIN__ ex5f.obj
Error 9 error LNK2019: unresolved external symbol HYPRE_IJMATRIXGETOBJECT referenced in function MAIN__ ex5f.obj
Error 10 error LNK2019: unresolved external symbol HYPRE_IJVECTORCREATE referenced in function MAIN__ ex5f.obj
Error 11 error LNK2019: unresolved external symbol HYPRE_IJVECTORSETOBJECTTYPE referenced in function MAIN__ ex5f.obj
Error 12 error LNK2019: unresolved external symbol HYPRE_IJVECTORINITIALIZE referenced in function MAIN__ ex5f.obj
Error 13 error LNK2019: unresolved external symbol HYPRE_IJVECTORSETVALUES referenced in function MAIN__ ex5f.obj
Error 14 error LNK2019: unresolved external symbol HYPRE_IJVECTORASSEMBLE referenced in function MAIN__ ex5f.obj
Error 15 error LNK2019: unresolved external symbol HYPRE_IJVECTORGETOBJECT referenced in function MAIN__ ex5f.obj
Error 16 error LNK2019: unresolved external symbol HYPRE_BOOMERAMGCREATE referenced in function MAIN__ ex5f.obj
Error 17 error LNK2019: unresolved external symbol HYPRE_BOOMERAMGSETPRINTLEVEL referenced in function MAIN__ ex5f.obj
Error 18 error LNK2019: unresolved external symbol HYPRE_BOOMERAMGSETOLDDEFAULT referenced in function MAIN__ ex5f.obj
Error 19 error LNK2019: unresolved external symbol HYPRE_BOOMERAMGSETRELAXTYPE referenced in function MAIN__ ex5f.obj
Error 20 error LNK2019: unresolved external symbol HYPRE_BOOMERAMGSETRELAXORDER referenced in function MAIN__ ex5f.obj
Error 21 error LNK2019: unresolved external symbol HYPRE_BOOMERAMGSETNUMSWEEPS referenced in function MAIN__ ex5f.obj
Error 22 error LNK2019: unresolved external symbol HYPRE_BOOMERAMGSETMAXLEVELS referenced in function MAIN__ ex5f.obj
Error 23 error LNK2019: unresolved external symbol HYPRE_BOOMERAMGSETTOL referenced in function MAIN__ ex5f.obj
Error 24 error LNK2019: unresolved external symbol HYPRE_BOOMERAMGSETUP referenced in function MAIN__ ex5f.obj
Error 25 error LNK2019: unresolved external symbol HYPRE_BOOMERAMGSOLVE referenced in function MAIN__ ex5f.obj
Error 26 error LNK2019: unresolved external symbol HYPRE_BOOMERAMGGETNUMITERATIONS referenced in function MAIN__ ex5f.obj
Error 27 error LNK2019: unresolved external symbol HYPRE_BOOMERAMGGETFINALRELTVRES referenced in function MAIN__ ex5f.obj
Error 28 error LNK2019: unresolved external symbol HYPRE_BOOMERAMGDESTROY referenced in function MAIN__ ex5f.obj
Error 29 error LNK2019: unresolved external symbol HYPRE_IJMATRIXDESTROY referenced in function MAIN__ ex5f.obj
Error 30 error LNK2019: unresolved external symbol HYPRE_IJVECTORDESTROY referenced in function MAIN__ ex5f.obj
Error 31 error LNK2019: unresolved external symbol MPI_FINALIZE referenced in function MAIN__ ex5f.obj
Error 32 error LNK2001: unresolved external symbol MPI_DUP_FN ex5f.obj
Error 33 error LNK2001: unresolved external symbol MPI_NULL_DELETE_FN ex5f.obj
Error 34 error LNK2001: unresolved external symbol MPI_NULL_COPY_FN ex5f.obj
Error 35 error LNK2001: unresolved external symbol MPI_COMM_DUP_FN ex5f.obj
Error 36 error LNK2001: unresolved external symbol MPI_COMM_NULL_DELETE_FN ex5f.obj
Error 37 error LNK2001: unresolved external symbol MPI_COMM_NULL_COPY_FN ex5f.obj
Error 38 error LNK2001: unresolved external symbol MPI_WIN_DUP_FN ex5f.obj
Error 39 error LNK2001: unresolved external symbol MPI_WIN_NULL_DELETE_FN ex5f.obj
Error 40 error LNK2001: unresolved external symbol MPI_WIN_NULL_COPY_FN ex5f.obj
Error 41 error LNK2001: unresolved external symbol MPI_TYPE_DUP_FN ex5f.obj
Error 42 error LNK2001: unresolved external symbol MPI_TYPE_NULL_DELETE_FN ex5f.obj
Error 43 error LNK2001: unresolved external symbol MPI_TYPE_NULL_COPY_FN ex5f.obj
Error 44 error LNK2001: unresolved external symbol MPI_CONVERSION_FN_NULL ex5f.obj
Error 45 fatal error LNK1120: 44 unresolved externals x64\Release\Test_MPI.exe
The code also uses the Hypre library, developed at the Lawrence Livermore National Laboratory (hence those unresolved external symbols that begin with "HYPRE_"). When I first ran into this issue, I figured it had to do with filename mangling. However, when asked the Hypre library developers, the response I received was:
"These are MPI issues that don't have anything to do with name mangling in hypre (as far as I can see). The hypre library is looking for the C MPI routines while your main program is looking for the Fortran MPI routines, but it's finding neither. My guess is that you probably don't have the MPI library on your link line. You might try looking at some forums that discuss how to use MPI with Visual Studio."
I have tried several combinations of directory paths for "Additional Include Directories" and "Additional Library Directories" in Visual Studio, but that didn't help. The paths linked are:
C:\Program Files (x86)\Microsoft SDKs\MPI\Include
C:\Program Files (x86)\Microsoft SDKs\MPI\Include\x64
C:\Program Files (x86)\Microsoft SDKs\MPI\Lib\
C:\Program Files (x86)\Microsoft SDKs\MPI\Lib\x64
I should note that the code I have been trying to compile is actually an example file included in the Hypre library distribution, and thus I doubt that the issue comes from any coding error. Nevertheless, in case it helps. the code begins with
program ex5f
implicit none
include 'mpif.h'
All I am trying to do is to compile the code. I have found past posts discussing similar issues but they weren't 100% relevant to the issue I am having. Your help and time will be greatly appreciated.
Thank you.
I have downloaded Laradock.
Now I want use WKHTMLTOPDF and I have installed in my app Snappy and https://github.com/h4cc/wkhtmltopdf-amd64 for the binary.
But if I try for example:
./wkhtmltopdf-amd64 http://google.com google.pdf
I receive this error:
QSslSocket: cannot resolve CRYPTO_num_locks 10%
QSslSocket: cannot resolve CRYPTO_set_id_callback
QSslSocket: cannot resolve CRYPTO_set_locking_callback
QSslSocket: cannot resolve sk_free
QSslSocket: cannot resolve sk_num QSslSocket: cannot resolve
sk_pop_free
QSslSocket: cannot resolve sk_value
QSslSocket: cannot resolve SSL_library_init
QSslSocket: cannot resolve SSL_load_error_strings
QSslSocket: cannot resolve SSLv3_client_method
QSslSocket: cannot resolve SSLv23_client_method
QSslSocket: cannot resolve SSLv3_server_method
QSslSocket: cannot resolve SSLv23_server_method
QSslSocket: cannot resolve X509_STORE_CTX_get_chain
QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
QSslSocket: cannot resolve SSLeay
QSslSocket: cannot call unresolved function CRYPTO_num_locks
QSslSocket: cannot call unresolved function CRYPTO_set_id_callback
QSslSocket: cannot call unresolved function
CRYPTO_set_locking_callback
QSslSocket: cannot call unresolved function SSL_library_init
QSslSocket: cannot call unresolved function SSLv23_client_method
QSslSocket: cannot call unresolved function sk_num
QSslSocket: cannot call unresolved function SSLv23_client_method7%
QSslSocket: cannot call unresolved function SSL_library_init Warning:
Failed to load
CRYPTO_num_locks QSslSocket: cannot call unresolved function
CRYPTO_set_id_callback QSslSocket: cannot call unresolved function
CRYPTO_set_locking_callbac
I've read that I've to install this package libssl1.0-dev but when I try to install in laradock I receive:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libssl1.0-dev is not available, but is referred to by another
package. This may mean that the package is missing, has been
obsoleted, or is only available from another source
E: Package 'libssl1.0-dev' has no installation candidate
How can I use wkhtmltopdf on Laradock?
I have solved with a wkhtmltopdf version 12.5.
Seems that this bug exists on version 12.4.
I tried opening Mendeley through my terminal and got a bunch of errors and a pop-up window that says
Mendeley Desktop is already running but may not be responding. Click
the Mendeley icon in the taskbar or dock to activate it.
But there's nothing in the taskbar/dock to click on. The terminal errors I get are:
$ mendeleydesktop
QSslSocket: cannot resolve CRYPTO_num_locks
QSslSocket: cannot resolve CRYPTO_set_id_callback
QSslSocket: cannot resolve CRYPTO_set_locking_callback
QSslSocket: cannot resolve ERR_free_strings
QSslSocket: cannot resolve sk_new_null
QSslSocket: cannot resolve sk_push
QSslSocket: cannot resolve sk_free
QSslSocket: cannot resolve sk_num
QSslSocket: cannot resolve sk_pop_free
QSslSocket: cannot resolve sk_value
QSslSocket: cannot resolve SSL_library_init
QSslSocket: cannot resolve SSL_load_error_strings
QSslSocket: cannot resolve SSL_get_ex_new_index
QSslSocket: cannot resolve SSLv2_client_method
QSslSocket: cannot resolve SSLv3_client_method
QSslSocket: cannot resolve SSLv23_client_method
QSslSocket: cannot resolve SSLv2_server_method
QSslSocket: cannot resolve SSLv3_server_method
QSslSocket: cannot resolve SSLv23_server_method
QSslSocket: cannot resolve X509_STORE_CTX_get_chain
QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
QSslSocket: cannot resolve SSLeay
QSslSocket: cannot resolve SSLeay_version
QSslSocket: cannot call unresolved function SSLeay
QSslSocket: cannot call unresolved function CRYPTO_num_locks
QSslSocket: cannot call unresolved function CRYPTO_set_id_callback
QSslSocket: cannot call unresolved function CRYPTO_set_locking_callback
QSslSocket: cannot call unresolved function SSL_library_init
QSslSocket: cannot call unresolved function SSLv23_client_method
QSslSocket: cannot call unresolved function sk_num
QSslSocket: cannot call unresolved function CRYPTO_num_locks
QSslSocket: cannot call unresolved function CRYPTO_set_id_callback
QSslSocket: cannot call unresolved function CRYPTO_set_locking_callback
QSslSocket: cannot call unresolved function ERR_free_strings
I followed the advice from this post Why is QsslSocket working with Qt 5.3 but not Qt 5.7 on Debian Stretch? and now I have less errors
$ sudo apt-get install libssl1.0-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libssl-doc linux-headers-4.9.0-4-amd64 linux-headers-4.9.0-4-common
linux-image-4.9.0-4-amd64
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
libssl-dev
The following NEW packages will be installed:
libssl1.0-dev
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 1,559 kB of archives.
After this operation, 407 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://security.debian.org/debian-security stretch/updates/main amd64 libssl1.0-dev amd64 1.0.2l-2+deb9u2 [1,559 kB]
Fetched 1,559 kB in 2s (540 kB/s)
(Reading database ... 433519 files and directories currently installed.)
Removing libssl-dev:amd64 (1.1.0f-3+deb9u1) ...
Selecting previously unselected package libssl1.0-dev:amd64.
(Reading database ... 433434 files and directories currently installed.)
Preparing to unpack .../libssl1.0-dev_1.0.2l-2+deb9u2_amd64.deb ...
Unpacking libssl1.0-dev:amd64 (1.0.2l-2+deb9u2) ...
Setting up libssl1.0-dev:amd64 (1.0.2l-2+deb9u2) ...
$ mendeleydesktop
QSslSocket: cannot resolve SSLv3_client_method
QSslSocket: cannot resolve SSLv3_server_method
http://forums.debian.net/viewtopic.php?f=10&t=131578 makes similar suggestions, along with making sure libcrypto.so and libssl.so are installed - but I can't work out how to install them? It seems like they should be a part of libssl1.0-dev which is now installed..?
Thanks for any advice :)
I am trying to build ffmpeg on visual studio for ARM architecture. I run into following linker errors:
Error 58 error LNK2019: unresolved external symbol __imp__dclass referenced in function mov_read_tkhd avformat.lib(mov.o)
Error 59 error LNK2001: unresolved external symbol __imp__dclass avformat.lib(thp.o)
Error 60 error LNK2001: unresolved external symbol __imp__dclass avutil.lib(rational.o)
Error 61 error LNK2001: unresolved external symbol __imp__dclass avutil.lib(eval.o)
What is __imp__dclass and where it is defined in Visual Studio / FFMPEG?
I get the following when I do "dumpbin /symbols mov.o"
22D 00000000 UNDEF notype External | __imp__dclass
Any ideas?
This particular issue was due to missing isnan and isinf methods in FFMPEG. There was a problem in bringing math.obj and float.obj dependencies.
Well, here's a nice obscure one. I'm trying to compile the latest open transport tycoon source in Visual Studio 2005. (It's a C++ app that uses zlib, dx8 and a few other fairly common libraries).
I get a few linker errors to do with the freetype dependencies:
Error 1 error LNK2001: unresolved external symbol #FT_Done_Face#4 fontcache.obj
Error 2 error LNK2001: unresolved external symbol #FT_Load_Char#12 fontcache.obj
Error 3 error LNK2001: unresolved external symbol #FT_Init_FreeType#4 fontcache.obj
Error 4 error LNK2001: unresolved external symbol #FT_Select_Charmap#8 fontcache.obj
Error 5 error LNK2001: unresolved external symbol #FT_Set_Charmap#8 fontcache.obj
Error 6 error LNK2001: unresolved external symbol #FT_New_Face#16 fontcache.obj
Error 7 error LNK2001: unresolved external symbol #FT_Render_Glyph#8 fontcache.obj
Error 8 error LNK2001: unresolved external symbol #FT_Set_Pixel_Sizes#12 fontcache.obj
Error 9 fatal error LNK1120: 8 unresolved externals ..\objs\Win32\Release\\openttd.exe
I've downloaded the most recent freetype stable and compiled it (also in VS2005), and put the ft2build.h and freetype include directories into my VS8/VC/include directory, and put the libfreetype2.lib library so compiled into my VS8/VC/lib directory. What could I be missing?
Thanks!
The # sign at the start of the mangled function names show that your fontcache.obj file is expecting these functions to have the __fastcall calling convention, which is unusual as the default calling convention is __cdecl. I suspect there's a mismatch somewhere in the compiler settings used to build the libraries and those used to build the application. See here and here for more information.