[so] [Tema2][Win] Link error dll
Adrian Sendroiu
molecula2788 at gmail.com
Wed Apr 10 23:19:45 EEST 2013
Daniel CIOCĂRLAN <daniel.ciocirlan1607 at cti.pub.ro> writes:
> Aici output nmake:
>
> link /nologo /out:sompi.dll /implib:sompi.lib win_queue.obj win_sem.obj win_shm.obj mpi.obj
> Creating library sompi.lib and object sompi.exp
> LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
> sompi.dll : fatal error LNK1120: 1 unresolved externals
>
> Unde e problema?
>
> Am fortat chestiile din mpi.c (devenit mpi.obj) sa faca DECLSPEC pe
> export, ceea ce trebuia oricum. Trebuia definit WIN32 in chestii?
> Niciuna din surse n-are main.
>
> Dan
La comanda link e problema. Vezi in laborator.
More information about the so
mailing list