<div dir="auto"><p style="margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,blinkmacsystemfont,"segoe ui",helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji";background-color:rgb(255,255,255);margin-top:0px!important">I wish to build a programme that uses GCPs to georefernece a image. I am using GDALCreateGCPTransformer to create a transformer which I am calling later to warp the image. However, during runtime my programme stops after this line.<br><code style="font-family:'sfmono-regular','consolas','liberation mono','menlo',monospace;font-size:13.09px;padding:0.2em 0.4em;margin:0px;border-radius:6px">void* transform = GDALCreateGCPTransformer (3,gcps,2,FALSE);</code></p><p style="margin-bottom:16px;color:rgb(36,41,46);background-color:rgb(255,255,255);margin-top:0px!important"><font face="sfmono-regular, consolas, liberation mono, menlo, monospace"><span style="font-size:13.09px">It says key not found in memory location. I am not sure what it means.<br></span></font><font face="-apple-system, blinkmacsystemfont, segoe ui, helvetica, arial, sans-serif, apple color emoji, segoe ui emoji">I hope i am using the correct libraries to link my programme(gdal_i.lib). I used vcpkg to intall gdal on windows.</font></p><p style="margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,blinkmacsystemfont,"segoe ui",helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji";background-color:rgb(255,255,255)">What am i doing wrong?? I also have included the bin directory with correct .dll files in my PATH variable. I think i have not installed GDAL correctly. Can some one guide me here??</p><p style="margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,blinkmacsystemfont,"segoe ui",helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji";background-color:rgb(255,255,255)">This happened to me before for GDALWarp as well.</p><p style="margin-top:0px;color:rgb(36,41,46);font-family:-apple-system,blinkmacsystemfont,"segoe ui",helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji";background-color:rgb(255,255,255);margin-bottom:0px!important">My programme builds correctly so i have no reason to doubt that all header files and libraries have been included. I am using the visual studio IDE. </p><p style="margin-top:0px;color:rgb(36,41,46);font-family:-apple-system,blinkmacsystemfont,"segoe ui",helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji";background-color:rgb(255,255,255);margin-bottom:0px!important">Is this a bug in gdal itself? Kindly help..</p></div>