I solved it! Thank you! I had to add: #pragma comment(lib, "winmm.lib") #pragma comment(lib, "dbghelp.lib") #pragma comment(lib, "shlwapi.lib")
I solved it! Thank you! I had to add: #pragma comment(lib, "winmm.lib") #pragma comment(lib, "dbghelp.lib") #pragma comment(lib, "shlwapi.lib") вс, 14 апр. 2019 г. в 20:36, Anastasia Riza <[email protected]>: > Thank you very much! But now I have another problem. While building by > project - it says: > unresolved external symbol "__imp_timeGetTime" > > Any ideas how to solve it? > > My code: > https://pastebin.com/kshBDaF9 > > вс, 14 апр. 2019 г. в 18:51, DaManuell <[email protected]>: > >> I had the same problem and basically gave up. The tool-chain now use lld >> by default, and that linker seems to produce libs wich are smaller but only >> because they just reference the object files. The Microsoft link.exe >> doesn't understand that format. >> Try to build v8 with the Microsoft linker instead of ldd by adding *use_lld >> = false* to your gn file. >> >> Le dimanche 14 avril 2019 03:04:15 UTC+2, [email protected] a >> écrit : >>> >>> Hello! I've just compiled V8 as static libraries, everything compiled >>> fine, but when I try to include thiese .lib files into my VS project - it >>> says "Invalid or corrupted library" for v8_base_without_compiler.lib >>> I am on Windows 10 x64, Visual Studio 2017, lastest SDKs >>> >>> My GN build config: >>> is_debug = false >>> target_cpu = "x64" >>> is_component_build = false >>> v8_static_library = true >>> >>> My source code part: >>> https://pastebin.com/jhwmsX8R >>> >>> If I need to provide more information - please inform me >>> >>> Thank you! >>> >> -- >> -- >> v8-users mailing list >> [email protected] >> http://groups.google.com/group/v8-users >> --- >> You received this message because you are subscribed to the Google Groups >> "v8-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > вс, 14 апр. 2019 г. в 20:36, Anastasia Riza <[email protected] >: > Thank you very much! But now I have another problem. While building by > project - it says: > unresolved external symbol "__imp_timeGetTime" > > Any ideas how to solve it? > > My code: > https://pastebin.com/kshBDaF9 > > вс, 14 апр. 2019 г. в 18:51, DaManuell <[email protected]>: > >> I had the same problem and basically gave up. The tool-chain now use lld >> by default, and that linker seems to produce libs wich are smaller but only >> because they just reference the object files. The Microsoft link.exe >> doesn't understand that format. >> Try to build v8 with the Microsoft linker instead of ldd by adding *use_lld >> = false* to your gn file. >> >> Le dimanche 14 avril 2019 03:04:15 UTC+2, [email protected] a >> écrit : >>> >>> Hello! I've just compiled V8 as static libraries, everything compiled >>> fine, but when I try to include thiese .lib files into my VS project - it >>> says "Invalid or corrupted library" for v8_base_without_compiler.lib >>> I am on Windows 10 x64, Visual Studio 2017, lastest SDKs >>> >>> My GN build config: >>> is_debug = false >>> target_cpu = "x64" >>> is_component_build = false >>> v8_static_library = true >>> >>> My source code part: >>> https://pastebin.com/jhwmsX8R >>> >>> If I need to provide more information - please inform me >>> >>> Thank you! >>> >> -- >> -- >> v8-users mailing list >> [email protected] >> http://groups.google.com/group/v8-users >> --- >> You received this message because you are subscribed to the Google Groups >> "v8-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
