I working with VS .NET 2005. I change the compiler to C mode, but it gives me the same errorsj. Here you have:
1>Deleting intermediate and output files for project 'Ejemplo lib3dsOK', configuration 'Debug|Win32' 1>Compiling... 1>stdafx.cpp 1>Compiling... 1>Ejemplo lib3dsOK.cpp 1>Compiling manifest to resources... 1>Linking... 1>LINK : warning LNK4067: ambiguous entry point; selected 'mainCRTStartup' 1>Ejemplo lib3dsOK.obj : error LNK2019: unresolved external symbol _lib3ds_file_eval referenced in function "void __cdecl init(void)" (?init@@YAXXZ) 1>Ejemplo lib3dsOK.obj : error LNK2019: unresolved external symbol _lib3ds_file_free referenced in function "void __cdecl init(void)" (?init@@YAXXZ) 1>Ejemplo lib3dsOK.obj : error LNK2019: unresolved external symbol _lib3ds_file_load referenced in function "void __cdecl init(void)" (?init@@YAXXZ) 1>Ejemplo lib3dsOK.obj : error LNK2019: unresolved external symbol _lib3ds_matrix_camera referenced in function "void __cdecl display(void)" (?display@@YAXXZ) 1>Ejemplo lib3dsOK.obj : error LNK2019: unresolved external symbol _lib3ds_file_node_by_name referenced in function "void __cdecl display(void)" (?display@@YAXXZ) 1>Ejemplo lib3dsOK.obj : error LNK2019: unresolved external symbol _lib3ds_file_material_by_name referenced in function "void __cdecl render_node(struct _Lib3dsNode *)" (?render_node@@YAXPAU_Lib3dsNode@@@Z) 1>Ejemplo lib3dsOK.obj : error LNK2019: unresolved external symbol _lib3ds_mesh_calculate_normals referenced in function "void __cdecl render_node(struct _Lib3dsNode *)" (?render_node@@YAXPAU_Lib3dsNode@@@Z) 1>Ejemplo lib3dsOK.obj : error LNK2019: unresolved external symbol _lib3ds_matrix_inv referenced in function "void __cdecl render_node(struct _Lib3dsNode *)" (?render_node@@YAXPAU_Lib3dsNode@@@Z) 1>Ejemplo lib3dsOK.obj : error LNK2019: unresolved external symbol _lib3ds_matrix_copy referenced in function "void __cdecl render_node(struct _Lib3dsNode *)" (?render_node@@YAXPAU_Lib3dsNode@@@Z) 1>Ejemplo lib3dsOK.obj : error LNK2019: unresolved external symbol _lib3ds_file_mesh_by_name referenced in function "void __cdecl render_node(struct _Lib3dsNode *)" (?render_node@@YAXPAU_Lib3dsNode@@@Z) 1>D:\Mis documentos\Visual Studio 2005\Projects\Ejemplo lib3dsOK\Debug\Ejemplo lib3dsOK.exe : fatal error LNK1120: 10 unresolved externals 1>Build log was saved at "file://d:\Mis documentos\Visual Studio 2005\Projects\Ejemplo lib3dsOK\Ejemplo lib3dsOK\Debug\BuildLog.htm" 1>Ejemplo lib3dsOK - 11 error(s), 1 warning(s) >From: Miles Bader <[EMAIL PROTECTED]> >Reply-To: Discussion about lib3ds <[email protected]> >To: [email protected] >Subject: Re: [Lib3ds-devel] Trying to compile the sample code: player.c >Date: Tue, 13 Mar 2007 10:14:52 +0900 > >Javier GarcÃa <[EMAIL PROTECTED]> >writes: > > Lib3dsVector *normalL=malloc(3*sizeof(Lib3dsVector)*mesh->faces); > > > > error C2440: 'initializing' : cannot convert from 'void *' to >'Lib3dsVector > > (*)' > > which i solved with a cast conversion. > > > > Now i have these errors, someone can help me?: > >It sounds like the problem is that you're trying to compile a C program >with a C++ compiler. C and C++ are very similar, but they are not the >same. > >-Miles > >-- >Any man who is a triangle, has thee right, when in Cartesian Space, to >have angles, which when summed, come to know more, nor no less, than >nine score degrees, should he so wish. [TEMPLE OV THEE LEMUR] > > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share >your >opinions on IT & business topics through brief surveys-and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >lib3ds-devel mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/lib3ds-devel _________________________________________________________________ Dale rienda suelta a tu tiempo libre. Mil ideas para exprimir tu ocio con MSN Entretenimiento. http://entretenimiento.msn.es/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ lib3ds-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lib3ds-devel
