[PROJ] Support request for using PROJ in CMake projects

Erixen Cruz erixen_cruz at earthbrain.com
Wed Mar 6 07:24:31 PST 2024


Did you install PROJ? https://proj.org/en/9.3/install.html#install

Other options are using vcpkg or conan to handle downloading, building, caching PROJ for you.
https://vcpkg.io/en/
https://conan.io/

Sincerely, Erixen
________________________________
From: PROJ <proj-bounces at lists.osgeo.org> on behalf of CODETYMPAN via PROJ <proj at lists.osgeo.org>
Sent: Wednesday, March 6, 2024 9:27 AM
To: proj at lists.osgeo.org <proj at lists.osgeo.org>
Subject: [PROJ] Support request for using PROJ in CMake projects


“I apologize, I had sent this message with email jean.ripolles at edf.fr<mailto:jean.ripolles at edf.fr> by mistake”.



Hello,



We’re trying to integrate PROJ in an opensource project using CMake.



Following strictly this page :

https://proj.org/en/9.3/development/cmake.html



CMake does find PROJ but we fall on this error message :



“CMake Error: File C:/projects/poc-ign-geopf/cmake/proj_config.cmake.in does not exist.

CMake Error at C:/dev/PROJ/cmake/ProjConfig.cmake:54 (configure_file):

  configure_file Problem configuring file”



Are we missing something ?



We attach the CMakeLists.txt file to this mail.



If necessary, we can push this project on an experimental branch, knowing that it depends on Qt5.15.2 MSVC2019.



Thanks in advance for your help.

Kind regards,

Jean.





Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme à sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse.

Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez reçu ce Message par erreur, merci de le supprimer de votre système, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions également d'en avertir immédiatement l'expéditeur par retour du message.

Il est impossible de garantir que les communications par messagerie électronique arrivent en temps utile, sont sécurisées ou dénuées de toute erreur ou virus.
____________________________________________________

This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval.

If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message.

E-mail communication cannot be guaranteed to be timely secure, error or virus-free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20240306/987bf19e/attachment.htm>


More information about the PROJ mailing list