[gdal-dev] Trying to build GDAL but I am missing something
Abel Pau
a.pau at creaf.uab.cat
Fri Jun 30 00:44:19 PDT 2023
Hi and good morning,
I am trying to debug GDAL and for doing this I executed Cmake and the configuration seems to be correct.
But when I try to build it "Cmake --build ." one persistent error arises:
LINK : fatal error LNK1104: cannot open file 'D:\GitHub-repository\PROJ\build\src\apps\invproj.dir\Release\\.obj' [D:\G
itHub-repository\GDAL\build\GDAL.vcxproj]
I have configurated in CMakeLists.txt the next PROJ library:
set(PROJ_LIBRARY_RELEASE "D:/GitHub-repository/PROJ/build/src/apps/invproj.dir/Release/")
set(PROJ_INCLUDE_DIR "D:/GitHub-repository/proj-9.2.0/src")
With this shown in image2.png
[Attatched]
It shoud be ok because the documentations says:
PROJ*<https://gdal.org/development/building_from_source.html#proj>
PROJ<https://github.com/OSGeo/PROJ/> >= 6 is a required dependency for GDAL.
PROJ_INCLUDE_DIR*<https://gdal.org/development/building_from_source.html#cmdoption-arg-PROJ_INCLUDE_DIR>
Path to an include directory with the proj.h header file.
PROJ_LIBRARY_RELEASE*<https://gdal.org/development/building_from_source.html#cmdoption-arg-PROJ_LIBRARY_RELEASE>
Path to a shared or static library file, such as proj.dll, libproj.so, proj.lib, or other name. A similar variable PROJ_LIBRARY_DEBUG can also be specified to a similar library for building Debug releases.
Then, anyone knows what I am doing wrong? I've tried lots of things. PROJ is built with CMake and all was OK.
Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230630/5250dfdf/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image2.png
Type: image/png
Size: 15778 bytes
Desc: image2.png
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230630/5250dfdf/attachment-0001.png>
More information about the gdal-dev
mailing list