Skip to content

Conversation

@Daxturus
Copy link
Contributor

@Daxturus Daxturus commented May 9, 2025

Original issue: #404

There is no function in the current implementation of TinyObjLoader which accepts more than one string in its arguments for error logging. Because of this, the unfixed example code causes a compilation failure.

To fix this, I removed the "warn" string passed to the tinyobj::loadObject(...) function, in the example code for chapters 28, 29, and 30; I also updated the code in both languages of the Loading Models chapter.

Daxturus added 3 commits May 9, 2025 20:20
Removed "warn" argument passed to tinyobj::LoadObj(...).
Removed "warn" argument passed to tinyobj::LoadObj(...).
Removed "warn" argument passed to tinyobj::LoadObj(...).
@Daxturus Daxturus marked this pull request as draft May 9, 2025 20:34
Daxturus added 2 commits May 9, 2025 20:36
Removed "warn" argument passed to tinyobj::LoadObj(...) from e-book.
Removed "warn" argument passed to tinyobj::LoadObj(...).
@Overv
Copy link
Owner

Overv commented May 11, 2025

Awesome, thank you very much for your contribution :)

@Overv Overv merged commit 02e283d into Overv:main May 11, 2025
@ssooffiiaannee
Copy link

ssooffiiaannee commented Sep 27, 2025

May I ask why this patch relies on a 2017 version of tinyObjLoader ?
I had the opposite issue, I use the most recent commit of tinyOBj to build the tutorial. But I got a compilation failure because of this patch.

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

Successfully merging this pull request may close these issues.

3 participants