We're updating the issue view to help you get more done. 

OpenFramesInterface Plugin setup sending warning message from CMake GUI

Description

With Xcode 12.2, the message below is sent out after configuring the CMake GUI. The log file ‘OpenSceneGraph_build.log’ shows the compiler error due to the missing header files (stdio.h, unistd.h, sys/time.h, stdlib.h, string.h).

 

 

Environment

macOS 10.15.7, Xcode 12.2, CMake 3.18.4

Activity

Show:
Joey Gurganus
7 days ago
  • Rebuilt it after upgrading from Xcode 11.3.1 to Xcode 12.2.

  • Yes, I did 'xcode-select --install'

  •  

Ravi Mathur
7 days ago

OK after upgrading XCode or MacOS, it’s generally advisable to delete the entire CMake build directory and dependencies of GMAT and start from scratch.

  1. Delete all GMAT dependency folders inside <gmat>/depends. Keep only CMakeModules, configure.py, CMakeLists.txt.

  2. Delete your GMAT CMake build folder: <gmat>/Cocoa-build/ (or something similar)

  3. Delete all OFI dependency folders inside <OFI>/depends. Keep only CMakeLists.txt.

Then follow the GMAT CMake build instructions from scratch:

Joey Gurganus
7 days ago

Ok. <gmat> is fresh-out in the other location so I don’t think it is necessary to delete those depends/* at this time. OFI was still exisiting from Xcode 11.3.1 which caused the problem. I am going to try #3 first instead to see what’s happening.

Joey Gurganus
7 days ago

It worked after deleting the folders except for the file ‘CMakeLists.txt’ located in <OFI>/depends. In the future, it would probably need to follow up with those #1 - #3 in case.

Ravi Mathur
7 days ago

Fixed per Joey's comment.

Assignee

Ravi Mathur

Reporter

Joey Gurganus

Labels

None

Development Build

None

Components

Priority

P2
Configure