Compilation error in Xcode 9.4 (OpenMesh 7.1 or 7.2), but not in terminal (APPLE)
Dear developers, I contact you because I get the compilation error below when I try to build the Core Library with Xcode (9.4), after I created an Xcode project with "cmake -G Xcode .." Curiously, the compilation works when I build the packages with cmake in the terminal without creating a Xcode project: "cmake .." PhaseScriptExecution CMake\ PostBuild\ Rules build/src/OpenMesh/Core/OpenMesh.build/Debug/OpenMeshCore.build/Script-DD82B41B19DA4A22A63FE961.sh cd /Users/Turlier/Dropbox/git/OpenMesh-7.1 /bin/sh -c /Users/Turlier/Dropbox/git/OpenMesh-7.1/build/src/OpenMesh/Core/OpenMesh.build/Debug/OpenMeshCore.build/Script-DD82B41B19DA4A22A63FE961.sh /usr/local/Cellar/cmake/3.12.1/bin/cmake -E copy_if_different /Users/Turlier/Dropbox/git/OpenMesh-7.1/build/src/OpenMesh/Core/Debug/libOpenMeshCored.7.1.dylib /Users/Turlier/Dropbox/git/OpenMesh-7.1/build/Build/lib/libOpenMeshCored.7.1.dylib /usr/local/Cellar/cmake/3.12.1/bin/cmake -E copy_if_different /Users/Turlier/Dropbox/git/OpenMesh-7.1/build/src/OpenMesh/Core/Debug/libOpenMeshCored.dylib /Users/Turlier/Dropbox/git/OpenMesh-7.1/build/Build/lib/libOpenMeshCored.dylib Error copying file (if different) from "/Users/Turlier/Dropbox/git/OpenMesh-7.1/build/src/OpenMesh/Core/Debug/libOpenMeshCored.dylib" to "/Users/Turlier/Dropbox/git/OpenMesh-7.1/build/Build/lib/libOpenMeshCored.dylib". make: *** [OpenMeshCore_buildpart_1] Error 1 Command /bin/sh failed with exit code 2 I’m not sure what I would need to modify in the CMakeLists.txt to avoid this compilation error on Xcode. Many thanks in advance for your help. Best, --- Hervé Turlier, PhD Team Multiscale Physics of Morphogenesis, Center for Interdisciplinary Research in Biology Collège de France / CNRS UMR7241 / INSERM U1050 11, place Marcelin Berthelot 75231 Paris Cedex 05, FRANCE Tel: +33 (0)144271410 www.virtual-embryo.com
Dear Hervé Turlier, I would suggest trying this outside of a Dropbox folder to avoid potential interference / race conditions with the Dropbox client. With a bit of luck, that already fixes things :) Best Regards, Martin Heistermann On 08/29/2018 03:16 PM, Hervé Turlier wrote:
Dear developers,
I contact you because I get the compilation error below when I try to build the Core Library with Xcode (9.4), after I created an Xcode project with "cmake -G Xcode .." Curiously, the compilation works when I build the packages with cmake in the terminal without creating a Xcode project: "cmake .."
PhaseScriptExecution CMake\ PostBuild\ Rules build/src/OpenMesh/Core/OpenMesh.build/Debug/OpenMeshCore.build/Script-DD82B41B19DA4A22A63FE961.sh cd /Users/Turlier/Dropbox/git/OpenMesh-7.1 /bin/sh -c /Users/Turlier/Dropbox/git/OpenMesh-7.1/build/src/OpenMesh/Core/OpenMesh.build/Debug/OpenMeshCore.build/Script-DD82B41B19DA4A22A63FE961.sh
/usr/local/Cellar/cmake/3.12.1/bin/cmake -E copy_if_different /Users/Turlier/Dropbox/git/OpenMesh-7.1/build/src/OpenMesh/Core/Debug/libOpenMeshCored.7.1.dylib /Users/Turlier/Dropbox/git/OpenMesh-7.1/build/Build/lib/libOpenMeshCored.7.1.dylib /usr/local/Cellar/cmake/3.12.1/bin/cmake -E copy_if_different /Users/Turlier/Dropbox/git/OpenMesh-7.1/build/src/OpenMesh/Core/Debug/libOpenMeshCored.dylib /Users/Turlier/Dropbox/git/OpenMesh-7.1/build/Build/lib/libOpenMeshCored.dylib Error copying file (if different) from "/Users/Turlier/Dropbox/git/OpenMesh-7.1/build/src/OpenMesh/Core/Debug/libOpenMeshCored.dylib" to "/Users/Turlier/Dropbox/git/OpenMesh-7.1/build/Build/lib/libOpenMeshCored.dylib". make: *** [OpenMeshCore_buildpart_1] Error 1 Command /bin/sh failed with exit code 2
I’m not sure what I would need to modify in the CMakeLists.txt to avoid this compilation error on Xcode. Many thanks in advance for your help. Best,
--- Hervé Turlier, PhD Team Multiscale Physics of Morphogenesis, Center for Interdisciplinary Research in Biology Collège de France / CNRS UMR7241 / INSERM U1050 11, place Marcelin Berthelot 75231 Paris Cedex 05, FRANCE Tel: +33 (0)144271410 www.virtual-embryo.com <http://www.virtual-embryo.com>
_______________________________________________ OpenMesh mailing list -- openmesh@lists.rwth-aachen.de To unsubscribe send an email to openmesh-leave@lists.rwth-aachen.de https://lists.rwth-aachen.de/postorius/lists/openmesh.lists.rwth-aachen.de
participants (2)
-
Hervé Turlier
-
Martin Heistermann