Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake cannot find EMsoft_SDK/EMsoftOO_SDK.cmake and double slash // #8

Open
hakonanes opened this issue Aug 23, 2024 · 0 comments
Open

Comments

@hakonanes
Copy link
Contributor

Hi Marc and others,

just installed EMsoftOO, seems to work great, as expected. Thanks!

However, after following installation instructions for EMsoftSuperBuild and running cmake for EMsoftOO, I get this error:

(base) hakon:Debug [develop] $ cmake -DCMAKE_BUILD_TYPE=Debug -DEMsoftOO_SDK=/Users/hakon/kode/personal/EMsoftSDK ../../EMsoftOO
CMake Error at CMakeLists.txt:34 (include):
  include could not find requested file:

    /Users/hakon/kode/personal/EMsoftSDK/EMsoftOO_SDK.cmake


-- ********* STARTING EMsoft CONFIGURATION ***********************

After renaming EMsoft_SDK.cmake to EMsoftOO_SDK.cmake, installation ran without issue. Don't know what the easiest fix to the installation instructions here are. Should I have written cmake -DEMsoft_SDK=/Users/hakon/kode/personal/EMsoftOO_SDK -DCMAKE_BUILD_TYPE=Debug ../ when building the super build?


EMsoft seems to enter a double slash when looking for the config file?

(base) hakon:emsoft $ EMConvertOrientations -t


 EMsoft warning encountered:
  USER=hakon
  field EMSlackWebHookURL not found in json file: /Users/hakon/.config/EMsoft//EMsoftConfig.json
  continuing with empty parameter value for EMSlackWebHookURL


 EMsoft warning encountered:
  USER=hakon
  field EMSlackChannel not found in json file: /Users/hakon/.config/EMsoft//EMsoftConfig.json
  continuing with empty parameter value for EMSlackChannel


 EMsoft warning encountered:
  USER=hakon
  field EMNotify not found in json file: /Users/hakon/.config/EMsoft//EMsoftConfig.json
  continuing with empty parameter value for EMNotify

<EMsoftHeader>

Copyright (C) 2001-2024 Marc De Graef Research Group/CMU
EMsoft comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; see License.txt file for details.

Program Name         : EMConvertOrientations.f90
Purpose              : Convert orientations from one representation to another
Platform             : Darwin
Source Code Version  : 6_0_20240823_0
Source Code Revision :
Build Date/Time      : 2024-08-23 07:30:02Z

See https://github.com/EMsoft-org/EMsoftOO/wiki for selected help pages.

Aug 23 2024 10:05:21.100 AM

</EMsoftHeader>

 Number of command line arguments detected:           1

Creating program name list template files:
  -> created template file EMConvertOrientations.template

To execute program, remove all flags except for nml/json input file name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant