# Unresolved external

**URL:** <https://forums.developer.nvidia.com/t/unresolved-external/10141>\
**Category:** CUDA Programming and Performance\
**Created:** [June 14, 2009, 4:07pm UTC](https://forums.developer.nvidia.com/t/unresolved-external/10141 "2009-06-14T16:07:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eyalhir74](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@eyalhir74](https://forums.developer.nvidia.com/u/eyalhir74)\
**Post date:** [June 14, 2009, 4:07pm UTC](https://forums.developer.nvidia.com/t/unresolved-external/10141/1 "2009-06-14T16:07:58Z")

</div>

Hi,

I’ve just upgraded to 2.2 on windows and getting the following linking error with VS2008, any idea why??

```auto
2>GeoEngine.lib(GGPUGenericEngine.obj) : error LNK2019: unresolved external symbol _ZdaPv referenced in function PrepareGeneralEngineGlobalOutputOnGPU

2>GeoEngine.lib(GGPUGenericEngine.obj) : error LNK2019: unresolved external symbol _Znay referenced in function PrepareGeneralEngineGlobalOutputOnGPU

```

thanks

eyal

---

<div class="post-metadata">

**Author:** ![eyalhir74](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@eyalhir74](https://forums.developer.nvidia.com/u/eyalhir74)\
**Post date:** [June 15, 2009, 10:33am UTC](https://forums.developer.nvidia.com/t/unresolved-external/10141/2 "2009-06-15T10:33:58Z")

</div>

> [@](#):
>
> Hi,
> 
> I’ve just upgraded to 2.2 on windows and getting the following linking error with VS2008, any idea why??
> 
> ```auto
> 2>GeoEngine.lib(GGPUGenericEngine.obj) : error LNK2019: unresolved external symbol _ZdaPv referenced in function PrepareGeneralEngineGlobalOutputOnGPU
> 
> 2>GeoEngine.lib(GGPUGenericEngine.obj) : error LNK2019: unresolved external symbol _Znay referenced in function PrepareGeneralEngineGlobalOutputOnGPU
> 
> ```
> 
> thanks
> 
> eyal

Turns out that changing new/delete to malloc/free (on the host) fixed it. On Cuda 2.0 the code compiled fine.

eyal
