Displaying 2 results from an estimated 2 matches for "___acrt_iob_func".
2017 Feb 27
2
lli can't find vsprintf
...external function '___stdio_common_vsprintf' which
could not be resolved!
D:\llvm\examples\helloworld>link hello.obj
Microsoft (R) Incremental Linker Version 14.00.24215.1
Copyright (C) Microsoft Corporation. All rights reserved.
hello.obj : error LNK2019: unresolved external symbol ___acrt_iob_func
referenced in function _printf
hello.obj : error LNK2019: unresolved external symbol
___stdio_common_vsprintf referenced in function __vsnprintf_l
hello.obj : error LNK2019: unresolved external symbol
___stdio_common_vfprintf referenced in function __vfprintf_l
LINK : error LNK2001: unresolved exte...
2017 Feb 25
2
lli can't find vsprintf
Hi
i am wondering if someone could give me some tips on how to debug/solve
this problem. I am trying to use LLI on Windows. I build llvm and clang
using cmake.
clang -c hello.c -emit-llvm -o hello.bc
lli hello.bc
D:\llvm\examples\helloworld>lli hello.bc
LLVM ERROR: Program used external function '___stdio_common_vsprintf' which
could not be resolved!
But, I can generate the exe though