Hello,

i have just installed lib3ds, and trying to compile the sample code 
"player.c" i obtained in this line:

Lib3dsVector *normalL=malloc(3*sizeof(Lib3dsVector)*mesh->faces);

this error:

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?:

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"

_________________________________________________________________
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

Reply via email to