ARToolKit | Mailing List Archive |
![]() |
From: | "Steven Williamson" <srw34@c ........> | Received: | Apr 28, 2006 |
To | "'ARToolkit'" <artoolkit@h ..................> | ||
Subject: | MemoryManager.Cpp in ARToolkit Plus | ||
This is a multi-part message in MIME format. ------=_NextPart_000_0011_01C66AE3.D7F3D700 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hi, I am using ARToolkit plus to build two AR applications: one on PC, and one on Symbian based phone. With the PC based application, I just add memorymanager.cpp to the project (in visual studio) to remove the common linking error. However this method fails to work with the Symbian based application - how should this be added properly? Thanks Steve ------=_NextPart_000_0011_01C66AE3.D7F3D700 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @p ... Section1 {size:595.3pt 841.9pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-GB link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Hi,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>I am using ARToolkit plus to build two AR = applications: one on PC, and one on Symbian based phone. With the PC based = application, I just add memorymanager.cpp to the project (in visual studio) to remove the = common linking error. However this method fails to work with the Symbian = based application – how should this be added = properly?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Thanks<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Steve<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> </div> </body> </html> ------=_NextPart_000_0011_01C66AE3.D7F3D700-- |
From: | "Steven Williamson" <srw34@c ........> | Received: | Apr 28, 2006 |
To | "'ARToolkit'" <artoolkit@h ..................> | ||
Subject: | RE: MemoryManager.Cpp in ARToolkit Plus | ||
Hi, Sorry for being so vague, the error I get is the following: AR.obj : error LNK2001: unresolved external symbol "class ARToolKitPlus::MemoryManager * ARToolKitPlus::memManager" (?memManager@A ............@@3 ................@1 @A ) AR.obj : error LNK2001: unresolved external symbol "void __cdecl ARToolKitPlus::artkp_Free(void *)" (?artkp_Free@A ............@@Y .....@Z ) Thanks, Steve -----Original Message----- From: owner-artoolkit@h .................. [mailto:owner-artoolkit@h ..................] On Behalf Of Daniel Wagner Sent: 28 April 2006 19:44 To: ARToolkit Subject: Re: MemoryManager.Cpp in ARToolkit Plus Steven Williamson wrote: > > I am using ARToolkit plus to build two AR applications: one on PC, and > one on Symbian based phone. With the PC based application, I just add > memorymanager.cpp to the project (in visual studio) to remove the > common linking error. However this method fails to work with the > Symbian based application - how should this be added properly? > First: ARToolKitPlus is not supported on Symbian from our side. Second: With the current version you will probably get a very bad performance under Symbian, because ARToolKitPlus version 2 requires the Intel GPP library for fixed-point support. We'll probably release version 2.1 next week which comes with its own, purely C++ fixed point code that should work fine on any device. Now about your problem: Please be more specific about what is going wrong. Just writing "fails to work" makes it very hard to help you. I have no experience in Symian development but if you would at least post the linker error messages then I or somebody else here in the forum might be able to help you... bye, Daniel |
From: | Daniel Wagner <daniel@i ...............> | Received: | Apr 28, 2006 |
To | ARToolkit <artoolkit@h ..................> | ||
Subject: | Re: MemoryManager.Cpp in ARToolkit Plus | ||
Steven Williamson wrote: > > I am using ARToolkit plus to build two AR applications: one on PC, and > one on Symbian based phone. With the PC based application, I just add > memorymanager.cpp to the project (in visual studio) to remove the > common linking error. However this method fails to work with the > Symbian based application – how should this be added properly? > First: ARToolKitPlus is not supported on Symbian from our side. Second: With the current version you will probably get a very bad performance under Symbian, because ARToolKitPlus version 2 requires the Intel GPP library for fixed-point support. We'll probably release version 2.1 next week which comes with its own, purely C++ fixed point code that should work fine on any device. Now about your problem: Please be more specific about what is going wrong. Just writing "fails to work" makes it very hard to help you. I have no experience in Symian development but if you would at least post the linker error messages then I or somebody else here in the forum might be able to help you... bye, Daniel |
From: | "Steven Williamson" <srw34@c ........> | Received: | Apr 28, 2006 |
To | "'ARToolkit'" <artoolkit@h ..................> | ||
Subject: | RE: MemoryManager.Cpp in ARToolkit Plus | ||
This is true, but I didn't think this was a problem specifically to do with Symbian - with the example supplied with ARToolkit Plus, you need to add the MemoryManager.cpp class to the visual studio workspace, otherwise you get the same error. Once you have done this, and recompile, the linker error disappears. However, doing the same in Symbian (still built using VS) produces the same error. The Globals problem doesn't exist when using the Symbian emulator - I was aiming to get the toolkit running on the emulator before tackling the global variables issue. Thanks, Steve -----Original Message----- From: owner-artoolkit@h .................. [mailto:owner-artoolkit@h ..................] On Behalf Of Daniel Wagner Sent: 28 April 2006 20:54 To: 'ARToolkit' Subject: Re: MemoryManager.Cpp in ARToolkit Plus Steven Williamson wrote: > Sorry for being so vague, the error I get is the following: > AR.obj : error LNK2001: unresolved external symbol "class > ARToolKitPlus::MemoryManager * ARToolKitPlus::memManager" > (?memManager@A ............@@3 ................@1 @A ) > AR.obj : error LNK2001: unresolved external symbol "void __cdecl > ARToolKitPlus::artkp_Free(void *)" (?artkp_Free@A ............@@Y .....@Z ) > As I already mentioned, I have no experience in Symbian programming, but as far as I know there are problems with global variables in Symbian - as also mentioned here: http://www.allaboutsymbian.com/forum/showthread.php?s=1d2a6a3dba259b6525c43a d558ef27ee&t=6237 Daniel |
From: | Daniel Wagner <daniel@i ...............> | Received: | Apr 28, 2006 |
To | 'ARToolkit' <artoolkit@h ..................> | ||
Subject: | Re: MemoryManager.Cpp in ARToolkit Plus | ||
Steven Williamson wrote: > Sorry for being so vague, the error I get is the following: > AR.obj : error LNK2001: unresolved external symbol "class > ARToolKitPlus::MemoryManager * ARToolKitPlus::memManager" > (?memManager@A ............@@3 ................@1 @A ) > AR.obj : error LNK2001: unresolved external symbol "void __cdecl > ARToolKitPlus::artkp_Free(void *)" (?artkp_Free@A ............@@Y .....@Z ) > As I already mentioned, I have no experience in Symbian programming, but as far as I know there are problems with global variables in Symbian - as also mentioned here: http://www.allaboutsymbian.com/forum/showthread.php?s=1d2a6a3dba259b6525c43ad558ef27ee&t=6237 Daniel |
From: | Daniel Wagner <daniel@i ...............> | Received: | May 2, 2006 |
To | ARToolkit <artoolkit@h ..................> | ||
Subject: | Re: MemoryManager.Cpp in ARToolkit Plus | ||
hi Steve, you might want to give the new ARToolKitPlus version 2.1 a try. One can now define _ARTKP_NO_MEMORYMANAGER_ which removes the global variable "memManager". Hopefully that solves your problems under Symbian. Although we don't use Symbian at our lab (and can't therefore support it) we'd be glad to put "Symbian compliance" onto our list... Daniel |