Skip to content

[BUG] Assimp's revision.h : Assimp #5564

Closed

Description

@yeokaiwei

Describe the bug
Changed revision.h.in to revision.h to solve a missing revision.h issue from OGLDEV tutorial 17. (https://www.youtube.com/watch?v=YnBhJbQZLuE)

To Reproduce
Steps to reproduce the behavior:

  1. Use Visual Studio 2022
  2. In https://github.com/assimp/assimp/blob/master/revision.h.in, remove the .in extension to make a revision.h file
  3. Copy and paste revision.h file to a project that requires with a #include "revision.h"
  4. Ctrl+B to build the project

Expected behavior
C2059 error. syntax error. "bad suffix on number" for "#define GitVersion 0x@GIT_COMMIT_HASH@"
E0022 Invalid hexadecimal number.
E0007 Unrecognised token
C2153 Integer literals must have at least one digit

Screenshots
Screenshot 2024-05-08 160655

Platform (please complete the following information):

  • OS: Windows 11

Additional context
Add any other context about the problem here.

Activity

  1. added
    Bug
    on May 8, 2024
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

    Bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions