Git Product home page Git Product logo

Comments (6)

rafmudaf avatar rafmudaf commented on June 11, 2024

@ghaymanNREL were you trying to only build openfast or the testing framework, as well?

from openfast.

HaymanConsulting avatar HaymanConsulting commented on June 11, 2024

@rafmudaf, only openfast. This is a Windows, vs-build system, issue that is tied to the custom prebuild step which uses the script: CreateGitVersion.bat. That script in turns attempts a git describe, which does not execute because it is not a git repository.

from openfast.

bjonkman avatar bjonkman commented on June 11, 2024

You'd also get this error if you had a git clone but don't have the git-for-Windows command-line integration installed.

from openfast.

rafmudaf avatar rafmudaf commented on June 11, 2024

On unix, this isn't an error in the build process but you do get a binary without a version:

mbp@~/Downloads/openfast-dev/install/bin: ./openfast 

 **************************************************************************************************
 OpenFAST

 Copyright (C)  National Renewable Energy Laboratory

 This program is licensed under Apache License Version 2.0 and comes with ABSOLUTELY NO WARRANTY.
 See the "LICENSE" file distributed with this software for details.
 **************************************************************************************************

 OpenFAST-HEAD-HASH-NOTFOUND

And the testing framework will not work since the git submodules can't be downloaded.

from openfast.

rafmudaf avatar rafmudaf commented on June 11, 2024

@ghaymanNREL Is this an issue that we should fix? Since the GitHub zip download feature does not include the .git directory, its distributing an unversioned openfast.

If that's deemed acceptable, then the build scripts for all platforms could set the version string to "UNVERSIONED" when necessary.

@bjonkman brings up a good point which the suggestion above does not fix. Sharing a legitimately versioned copy of openfast does not guarantee a versioned build. I think we need to add a requirement for git in the required software section of the documentation for all platforms.

from openfast.

jjonkman avatar jjonkman commented on June 11, 2024

Fixed by #194.

from openfast.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.