{"action":"created","issue":{"url":"https://api.github.com/repos/bagder/curl/issues/562","labels_url":"https://api.github.com/repos/bagder/curl/issues/562/labels{/name}","comments_url":"https://api.github.com/repos/bagder/curl/issues/562/comments","events_url":"https://api.github.com/repos/bagder/curl/issues/562/events","html_url":"https://github.com/bagder/curl/issues/562","id":121895588,"number":562,"title":"mbedTLS + cURL + Windows + NMake","user":{"login":"primesoftware","id":11605831,"avatar_url":"https://avatars.githubusercontent.com/u/11605831?v=3","gravatar_id":"","url":"https://api.github.com/users/primesoftware","html_url":"https://github.com/primesoftware","followers_url":"https://api.github.com/users/primesoftware/followers","following_url":"https://api.github.com/users/primesoftware/following{/other_user}","gists_url":"https://api.github.com/users/primesoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/primesoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/primesoftware/subscriptions","organizations_url":"https://api.github.com/users/primesoftware/orgs","repos_url":"https://api.github.com/users/primesoftware/repos","events_url":"https://api.github.com/users/primesoftware/events{/privacy}","received_events_url":"https://api.github.com/users/primesoftware/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bagder/curl/labels/build","name":"build","color":"bfdadc"},{"url":"https://api.github.com/repos/bagder/curl/labels/SSL/TLS","name":"SSL/TLS","color":"bfdadc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-13T03:34:29Z","updated_at":"2015-12-26T19:00:20Z","closed_at":"2015-12-26T19:00:20Z","body":"I am trying to get cURL to build with NMake with mbedTLS support. The makefile.vc does not seem to accommodate this so I have been trying to modify it. I keep getting a bunch of the following error:\r\n\r\n```\r\nlibcurl_a.lib(mbedtls.obj) : error LNK2019: unresolved external symbol mbedtls_p\r\nk_init referenced in function mbedtls_connect_step1\r\nlibcurl_a.lib(mbedtls.obj) : error LNK2019: unresolved external symbol mbedtls_p\r\nk_can_do referenced in function mbedtls_connect_step1\r\nlibcurl_a.lib(mbedtls.obj) : error LNK2019: unresolved external symbol mbedtls_p\r\nk_parse_keyfile referenced in function mbedtls_connect_step1\r\nlibcurl_a.lib(mbedtls.obj) : error LNK2019: unresolved external symbol mbedtls_s\r\nsl_list_ciphersuites referenced in function mbedtls_connect_step1\r\nlibcurl_a.lib(mbedtls.obj) : error LNK2019: unresolved external symbol mbedtls_x\r\n509_crl_parse_file referenced in function mbedtls_connect_step1\r\nlibcurl_a.lib(mbedtls.obj) : error LNK2019: unresolved external symbol mbedtls_x\r\n509_crl_free referenced in function Curl_mbedtls_close\r\n```\r\nI assume this is because the linker can't find the libraries. I have specified the files, but not good..\r\n\r\n```\r\n        link.exe /lib ws2_32.lib wldap32.lib advapi32.lib /out:..\\builds\\libcurl\r\n-vc12-x64-release-static-ipv6-mbedtls-obj-lib\\libcurl_a.lib /nologo /machine:x64\r\n /LIBPATH:\"C:\\mbedTLS\\lib\" mbedcrypto.lib mbedx509.lib mbedtls.lib ..\\builds\\lib\r\ncurl-vc12-x64-release-static-ipv6-mbedtls-obj-lib/file.obj  ..\\builds\\libcurl-vc\r\n12-x64-release-static-ipv6-mbedtls-obj-lib/timeval.obj  ..\\builds\\libcurl-vc12-x\r\n64-release-static-ipv6-mbedtls-obj-lib/base64.obj  ..\\builds\\libcurl-vc12-x64-re\r\n```\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/bagder/curl/issues/comments/167354808","html_url":"https://github.com/bagder/curl/issues/562#issuecomment-167354808","issue_url":"https://api.github.com/repos/bagder/curl/issues/562","id":167354808,"user":{"login":"primesoftware","id":11605831,"avatar_url":"https://avatars.githubusercontent.com/u/11605831?v=3","gravatar_id":"","url":"https://api.github.com/users/primesoftware","html_url":"https://github.com/primesoftware","followers_url":"https://api.github.com/users/primesoftware/followers","following_url":"https://api.github.com/users/primesoftware/following{/other_user}","gists_url":"https://api.github.com/users/primesoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/primesoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/primesoftware/subscriptions","organizations_url":"https://api.github.com/users/primesoftware/orgs","repos_url":"https://api.github.com/users/primesoftware/repos","events_url":"https://api.github.com/users/primesoftware/events{/privacy}","received_events_url":"https://api.github.com/users/primesoftware/received_events","type":"User","site_admin":false},"created_at":"2015-12-26T19:00:20Z","updated_at":"2015-12-26T19:00:20Z","body":"@bagder I'm going to close this since I'm not using NMake anymore."}}