Is it possible to have help ? It seems in fact that a msvc compilation would
be the best. Can I have help to do that ?
Best regards
Le 25 octobre 2008 15:25, kaolite <[EMAIL PROTECTED]> a écrit :
> some news ...
> I have tryed with both way :
> *static linking :*
> I have the following error when linking :
>
> 2>Édition des liens en cours...
> 2>LINK : warning LNK4068: /MACHINE non spécifié ; X86 pris par défaut
> 2>LIBCMT.lib(invarg.obj) : error LNK2005: __invoke_watson déjà défini(e)
> dans MSVCRTD.lib(MSVCR90D.dll)
> 2>LIBCMT.lib(crt0dat.obj) : error LNK2005: __amsg_exit déjà défini(e) dans
> MSVCRTD.lib(MSVCR90D.dll)
> 2>LIBCMT.lib(crt0dat.obj) : error LNK2005: __initterm_e déjà défini(e) dans
> MSVCRTD.lib(MSVCR90D.dll)
> 2>LIBCMT.lib(crt0dat.obj) : error LNK2005: _exit déjà défini(e) dans
> MSVCRTD.lib(MSVCR90D.dll)
> 2>LIBCMT.lib(crt0dat.obj) : error LNK2005: __exit déjà défini(e) dans
> MSVCRTD.lib(MSVCR90D.dll)
> 2>LIBCMT.lib(crt0dat.obj) : error LNK2005: __cexit déjà défini(e) dans
> MSVCRTD.lib(MSVCR90D.dll)
> 2>LIBCMT.lib(tidtable.obj) : error LNK2005: __encode_pointer déjà défini(e)
> dans MSVCRTD.lib(MSVCR90D.dll)
> 2>LIBCMT.lib(tidtable.obj) : error LNK2005: __decode_pointer déjà défini(e)
> dans MSVCRTD.lib(MSVCR90D.dll)
> 2>LIBCMT.lib(mlock.obj) : error LNK2005: __unlock déjà défini(e) dans
> MSVCRTD.lib(MSVCR90D.dll)
> 2>LIBCMT.lib(mlock.obj) : error LNK2005: __lock déjà défini(e) dans
> MSVCRTD.lib(MSVCR90D.dll)
> 2>LIBCMT.lib(crt0init.obj) : error LNK2005: ___xi_a déjà défini(e) dans
> MSVCRTD.lib(cinitexe.obj)
> 2>LIBCMT.lib(crt0init.obj) : error LNK2005: ___xi_z déjà défini(e) dans
> MSVCRTD.lib(cinitexe.obj)
> 2>LIBCMT.lib(crt0init.obj) : error LNK2005: ___xc_a déjà défini(e) dans
> MSVCRTD.lib(cinitexe.obj)
> 2>LIBCMT.lib(crt0init.obj) : error LNK2005: ___xc_z déjà défini(e) dans
> MSVCRTD.lib(cinitexe.obj)
> 2>LIBCMT.lib(hooks.obj) : error LNK2005: "void __cdecl terminate(void)"
> (?terminate@@YAXXZ) déjà défini(e) dans MSVCRTD.lib(MSVCR90D.dll)
> 2>LIBCMT.lib(winxfltr.obj) : error LNK2005: __XcptFilter déjà défini(e)
> dans MSVCRTD.lib(MSVCR90D.dll)
> 2>LIBCMT.lib(setlocal.obj) : error LNK2005: __configthreadlocale déjà
> défini(e) dans MSVCRTD.lib(MSVCR90D.dll)
> 2>LIBCMT.lib(errmode.obj) : error LNK2005: ___set_app_type déjà défini(e)
> dans MSVCRTD.lib(MSVCR90D.dll)
> 2>LIBCMT.lib(isctype.obj) : error LNK2005: __isctype déjà défini(e) dans
> MSVCRTD.lib(MSVCR90D.dll)
> 2>LIBCMT.lib(atox.obj) : error LNK2005: _atoi déjà défini(e) dans
> MSVCRTD.lib(MSVCR90D.dll)
> 2>LIBCMT.lib(getenv.obj) : error LNK2005: _getenv déjà défini(e) dans
> MSVCRTD.lib(MSVCR90D.dll)
> 2>LIBCMT.lib(strtol.obj) : error LNK2005: _strtol déjà défini(e) dans
> MSVCRTD.lib(MSVCR90D.dll)
> 2>LIBCMT.lib(strtol.obj) : error LNK2005: _strtoul déjà défini(e) dans
> MSVCRTD.lib(MSVCR90D.dll)
> 2>LINK : warning LNK4098: conflit entre la bibliothèque par défaut
> 'MSVCRTD' et les autres bibliothèques ; utilisez /NODEFAULTLIB:library
> 2>LINK : warning LNK4098: conflit entre la bibliothèque par défaut 'LIBCMT'
> et les autres bibliothèques ; utilisez /NODEFAULTLIB:library
> 2>libschroedinger-1.0.a(libschroedinger_1.0_la-schroutils.o) : error
> LNK2001: symbole externe non résolu ___divdi3
> 2>libschroedinger-1.0.a(libschroedinger_1.0_la-schrodebug.o) : error
> LNK2001: symbole externe non résolu __alloca
> 2>liboil-0.3.a(liboil_0.3_la-liboilcpu.o) : error LNK2001: symbole externe
> non résolu _gettimeofday
>
> *linking to dll.a :*
> I can compile and link my executable but it crash when I launch the apps
> in__security_init_cookie() ?
>
>
> kaolite
>
>
> 2008/10/25 David Schleef <[EMAIL PROTECTED]>
>
> On Fri, Oct 24, 2008 at 11:05:55PM +0200, kaolite wrote:
>> > I have download the last snapshot. I am using windows visual studio 2008
>> C++
>> > to compile my apps. I don't understand how to compile. Do I need to link
>> my
>> > apps with .a or .dll.a ?
>>
>> You can do either. I recommend linking against the dll.a files,
>> which then uses the DLL files at run time.
>>
>> > Do I need to use pkconfig ?
>>
>> No. That is not recommended.
>>
>>
>>
>> dave...
>>
>>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Schrodinger-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/schrodinger-devel