This site is no longer active and is available for archival purposes only. Registration and login is disabled.

View3d tutorial


View3d tutorial

Postby ravi » Jul 16, 2007 @ 2:02pm

Hi,

The helloworld program worked well in Visual C++ 6.0. The executable is also created.
Now continuing I tried to test some of the samples in the Edge folder. I tried View3d code in that samples.

It is compiling well but when I build it the following errors arise:

edge.lib(edge.obj) : error LNK2001: unresolved external symbol "bool __cdecl EdgeGL_Use(void)" (?EdgeGL_Use@@YA_NXZ)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "bool __cdecl EdgeGL_Use(void)" (?EdgeGL_Use@@YA_NXZ)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "unsigned long __cdecl EdgeGL_GenTexture(void *)" (?EdgeGL_GenTexture@@YAKPAX@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void __cdecl EdgeGL_DeleteTexture(void *,unsigned long)" (?EdgeGL_DeleteTexture@@YAXPAXK@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "long __cdecl EdgeGL_UpdateTextureData(void *,unsigned long,unsigned long,unsigned long,struct tagRECT *,unsigned char,unsigned char,void *,bool)" (?EdgeGL_UpdateTextureData@@YAJPAXK
KKPAUtagRECT@@EE0_N@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "unsigned char __cdecl EdgeGL_GetVideoType(void *)" (?EdgeGL_GetVideoType@@YAEPAX@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "long __cdecl EdgeGL_Open(void *,void *,unsigned char,unsigned long,unsigned long,bool)" (?EdgeGL_Open@@YAJPAX0EKK_N@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "bool __cdecl EdgeGL_FixedPoint(void)" (?EdgeGL_FixedPoint@@YA_NXZ)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void * __cdecl EdgeGL_NewDriver(void)" (?EdgeGL_NewDriver@@YAPAXXZ)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void __cdecl EdgeGL_FreeDriver(void *)" (?EdgeGL_FreeDriver@@YAXPAX@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void __cdecl EdgeGL_Close(void *)" (?EdgeGL_Close@@YAXPAX@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void __cdecl EdgeGL_Suspend(void *)" (?EdgeGL_Suspend@@YAXPAX@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void __cdecl EdgeGL_Resume(void *)" (?EdgeGL_Resume@@YAXPAX@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void __cdecl EdgeGL_Flip(void *)" (?EdgeGL_Flip@@YAXPAX@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void __cdecl EdgeGL_GetVideoSize(void *,unsigned long &,unsigned long &)" (?EdgeGL_GetVideoSize@@YAXPAXAAK1@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void __cdecl EdgeGL_EnableLight(void *,unsigned char,bool)" (?EdgeGL_EnableLight@@YAXPAXE_N@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void __cdecl EdgeGL_LightIntensity(void *,unsigned char,unsigned long,unsigned long,unsigned long)" (?EdgeGL_LightIntensity@@YAXPAXEKKK@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void __cdecl EdgeGL_LightPosition(void *,unsigned char,long,long,long)" (?EdgeGL_LightPosition@@YAXPAXEJJJ@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void __cdecl EdgeGL_SelectTexture(void *,unsigned long)" (?EdgeGL_SelectTexture@@YAXPAXK@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void __cdecl EdgeGL_SetShading(void *,unsigned char)" (?EdgeGL_SetShading@@YAXPAXE@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void __cdecl EdgeGL_UseTexturing(void *,bool)" (?EdgeGL_UseTexturing@@YAXPAX_N@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void __cdecl EdgeGL_Ortho(void *,long *)" (?EdgeGL_Ortho@@YAXPAXPAJ@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void __cdecl EdgeGL_Perspective(void *,long *)" (?EdgeGL_Perspective@@YAXPAXPAJ@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void __cdecl EdgeGL_LoadIdentity(void *)" (?EdgeGL_LoadIdentity@@YAXPAX@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void __cdecl EdgeGL_Translate(void *,long,long,long)" (?EdgeGL_Translate@@YAXPAXJJJ@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void __cdecl EdgeGL_Rotate(void *,long,long,long)" (?EdgeGL_Rotate@@YAXPAXJJJ@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void __cdecl EdgeGL_Scale(void *,long,long,long)" (?EdgeGL_Scale@@YAXPAXJJJ@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void __cdecl EdgeGL_RenderModel(void *,void * *,long *,unsigned long,bool,bool)" (?EdgeGL_RenderModel@@YAXPAXPAPAXPAJK_N3@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void __cdecl EdgeGL_SetColor(void *,unsigned long,unsigned char)" (?EdgeGL_SetColor@@YAXPAXKE@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void __cdecl EdgeGL_PopMatrix(void *)" (?EdgeGL_PopMatrix@@YAXPAX@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void __cdecl EdgeGL_MultiplyMatrix(void *,void *)" (?EdgeGL_MultiplyMatrix@@YAXPAX0@Z)
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol "void __cdecl EdgeGL_PushMatrix(void *)" (?EdgeGL_PushMatrix@@YAXPAX@Z)
Debug/view3dtry.exe : fatal error LNK1120: 31 unresolved externals
Error executing link.exe.

view3dtry.exe - 33 error(s), 0 warning(s)

I verified that all the paths are correct and also the Microsoft platform SP2 is at the top of the list. Can you tell me why these errors are arising and how to get rid of them?? I am working for Windows desktop version using Visual C++ 6.0

Hoping to get a reply soon.
Thank you
ravi
ravi
pm Member
 
Posts: 7
Joined: Jul 13, 2007 @ 10:29am


Postby edge » Jul 16, 2007 @ 3:21pm

Hi Ravi,

It needs an OpenGL plugin library from the EDGELIB SDK. These should be present in the Edge/lib/pc-x86/opengl folder. Please make sure one of them is linked to the project.

When using a PowerVR, Rasteroid or native Windows Desktop library, also link the implementation library (for Windows Desktop this is opengl32.lib).
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby ravi » Jul 17, 2007 @ 9:34am

Hi,

I included plugingl.lib, pluginpowervr.lib and pluginrasteroid.lib. But still the number of errors have increased.

edge.lib(emod_math.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
edge.lib(emod_register.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
plugingl.lib(wrap_gl.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
edge.lib(eldr_base.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
edge.lib(eldr_jpg.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
edge.lib(esurf_2d.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
edge.lib(emod_connect.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
view3d.obj : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
edge.lib(edge.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
edge.lib(emod_memory.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
edge.lib(eldr_gif.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
plugingl.lib(wrap_gl.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
edge.lib(eldr_jpg.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
edge.lib(emod_connect.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
edge.lib(emod_math.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
edge.lib(emod_register.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
view3d.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
edge.lib(edge.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
edge.lib(emod_memory.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
edge.lib(eldr_gif.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
edge.lib(esurf_2drgba.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler
plugingl.lib(wrap_gl.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler
edge.lib(emod_sound.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler
edge.lib(emod_file.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler
edge.lib(emod_register.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler
edge.lib(emod_ini.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler
edge.lib(esurf_3d.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler
edge.lib(esurf_2d.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler
edge.lib(emod_connect.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler
view3d.obj : error LNK2001: unresolved external symbol ___CxxFrameHandler
edge.lib(edge.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler
edge.lib(emod_std.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler
edge.lib(eldr_jpg.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler
edge.lib(esurf_2drgba.obj) : error LNK2001: unresolved external symbol __except_list
plugingl.lib(wrap_gl.obj) : error LNK2001: unresolved external symbol __except_list
edge.lib(emod_sound.obj) : error LNK2001: unresolved external symbol __except_list
edge.lib(emod_file.obj) : error LNK2001: unresolved external symbol __except_list
edge.lib(emod_register.obj) : error LNK2001: unresolved external symbol __except_list
edge.lib(emod_ini.obj) : error LNK2001: unresolved external symbol __except_list
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol __except_list
edge.lib(esurf_3d.obj) : error LNK2001: unresolved external symbol __except_list
edge.lib(esurf_2d.obj) : error LNK2001: unresolved external symbol __except_list
edge.lib(emod_connect.obj) : error LNK2001: unresolved external symbol __except_list
view3d.obj : error LNK2001: unresolved external symbol __except_list
edge.lib(edge.obj) : error LNK2001: unresolved external symbol __except_list
edge.lib(emod_std.obj) : error LNK2001: unresolved external symbol __except_list
edge.lib(eldr_jpg.obj) : error LNK2001: unresolved external symbol __except_list
edge.lib(eldr_3ds.obj) : error LNK2001: unresolved external symbol __chkstk
edge.lib(emod_connect.obj) : error LNK2001: unresolved external symbol __chkstk
edge.lib(emod_file.obj) : error LNK2001: unresolved external symbol __chkstk
view3d.obj : error LNK2001: unresolved external symbol __chkstk
edge.lib(emod_std.obj) : error LNK2001: unresolved external symbol __chkstk
edge.lib(eldr_gif.obj) : error LNK2001: unresolved external symbol __chkstk
edge.lib(eldr_ms3d.obj) : error LNK2001: unresolved external symbol __chkstk
view3d.obj : error LNK2001: unresolved external symbol __fltused
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol __fltused
edge.lib(esurf_3d.obj) : error LNK2001: unresolved external symbol __fltused
plugingl.lib(wrap_gl.obj) : error LNK2001: unresolved external symbol __fltused
LINK : error LNK2001: unresolved external symbol _WinMainCRTStartup
edge.lib(edge.obj) : error LNK2001: unresolved external symbol _memset
edge.lib(emod_dsp.obj) : error LNK2001: unresolved external symbol _memset
edge.lib(esurf_2d.obj) : error LNK2001: unresolved external symbol _memset
edge.lib(emod_connect.obj) : error LNK2001: unresolved external symbol _memset
edge.lib(emod_memory.obj) : error LNK2001: unresolved external symbol _memcpy
edge.lib(eldr_jpg.obj) : error LNK2001: unresolved external symbol _memcpy
edge.lib(emod_memory.obj) : error LNK2001: unresolved external symbol _memmove
edge.lib(esurf_3d.obj) : error LNK2001: unresolved external symbol _sqrt
edge.lib(esurf_3d.obj) : error LNK2001: unresolved external symbol __ftol
edge.lib(esurf_3d.obj) : error LNK2001: unresolved external symbol _abs
edge.lib(emod_connect.obj) : error LNK2001: unresolved external symbol __aullshr
edge.lib(emod_connect.obj) : error LNK2001: unresolved external symbol __allshl
edge.lib(emod_vtimer.obj) : error LNK2001: unresolved external symbol __alldiv
edge.lib(emod_vtimer.obj) : error LNK2001: unresolved external symbol __allmul
edge.lib(emod_device.obj) : error LNK2001: unresolved external symbol __wgetenv
zlib.lib(zutil.obj) : error LNK2001: unresolved external symbol _calloc
zlib.lib(zutil.obj) : error LNK2001: unresolved external symbol _free
Release/view3d.exe : fatal error LNK1120: 20 unresolved externals
Error executing link.exe.

view3d.exe - 78 error(s), 0 warning(s)


These are the error messages similar to the previous ones. Can you help me with this?? I just loaded the workspace view3d.dsw in the samples folder in Visual C++ 6.0. I am not able to get what the problem is. Please help me with it.

Thank you
ravi
ravi
pm Member
 
Posts: 7
Joined: Jul 13, 2007 @ 10:29am


Postby edge » Jul 18, 2007 @ 10:46am

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby ravi » Jul 18, 2007 @ 1:22pm

ravi
pm Member
 
Posts: 7
Joined: Jul 13, 2007 @ 10:29am


Postby edge » Jul 20, 2007 @ 9:44am

Hi Ravi,

Console applications don't use a window and shouldn't be used in combination with EDGELIB. Create normal win32 applications only.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby ravi » Jul 20, 2007 @ 11:44am

ravi
pm Member
 
Posts: 7
Joined: Jul 13, 2007 @ 10:29am


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum