Skip to content

Compile apps/seastack/single_run.cpp with chrono v10 #11

Description

@hfchen20

Hello @dav-og ,

Many thanks for great efforts on this package!

I git-cloned and compiled on WSL Ubuntu chrono's main branch last week. Now I'm trying to compile sea-stack. The following error appears due to a refactoring of chrono_parsers API (see this commit). m_script_directory seems to be replaced with
ChYamlFileHandler m_file_handler
Is there a quick fix for this?

Thanks,
Haifei

/mnt/c/Project-SEA-Stack/sea-stack/apps/seastack/single_run.cpp: In member function ‘void seastack::app::{anonymous}::HCParser::SetScriptDir(const std::string&)’:
/mnt/c/Project-SEA-Stack/sea-stack/apps/seastack/single_run.cpp:130:49: error: ‘m_script_directory’ was not declared in this scope
130 | void SetScriptDir(const std::string& dir) { m_script_directory = dir; }
| ^~~~~~~~~~~~~~~~~~
gmake[2]: *** [apps/seastack/CMakeFiles/seastack_app_lib.dir/build.make:90: apps/seastack/CMakeFiles/seastack_app_lib.dir/single_run.cpp.o] Error 1

void SetScriptDir(const std::string& dir) { m_script_directory = dir; }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions