thx for your repply. I 've remade a makefile to compile the libs an solve my problem.
Date: Wed, 4 Jul 2012 08:23:52 -0700 From: [email protected] To: [email protected] Subject: [v8-users] Re: V8 Integration in a MinGW project Try those instructions http://outofhanwell.wordpress.com/2006/05/01/linking-msvc-libraries-with-mingw-projects/ Share with us results of your experiments, tnx четверг, 7 июня 2012 г., 16:57:34 UTC+3 пользователь spamy2011 написал:Hi, My Project must work under Linux and Window. I'm using Gcc/MingGW to keep the same tools on both OS. Under Window, i have link error on each call to V8: undefined reference to `v8::Context::New(v8::ExtensionConfiguration*, v8::Handle<v8::ObjectTemplate>, v8::Handle<v8::Value>)' undefined reference to `v8::String::New(char const*, int)' undefined reference to `v8::Script::Compile(v8::Handle<v8::String>, v8::ScriptOrigin*, v8::ScriptData*, v8::Handle<v8::String>)' And so on I linked first of all with just v8.lib, and, now all the lib i found i.e: v8.lib (207 K) v8_base.lib (67 M !!!) ( btw v8.dll is <3 M ) v8_nosnapshot.lib v8_snapshot.lib mksnapshot.lib preparser_lib.lib I never work with Visual Studio, and (unfortunatly) my v8 lib(s)/ dll are built with this. The few things i found with Google refer to Unix, almost nothing on Window, and nothing at all on Window/MinGW. Thinking i'm facing a "mangling" problem between VS and GCC, I'd like to know if somebody already solved this problem. Is there a "magic" flag I missed in VS ? or an option during the building of V8 ? Thx in advance. , -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
