Skip to content

error when compiling minimal TexGen on Mac #58

@Todochris

Description

@Todochris

Hello, I tried compiling TexGen but I got several errors after using the make command in my terminal.
I am on MacOS 14.4 with an ARM chip.

All the errors print the same text but at multiple lines in TexGen, here is one example :

TexGen/Core/OctreeVoxelMesh.cpp:73:18: error: a space is required between consecutive right angle brackets (use '> >')
vector<vector<int>> COctreeVoxelMesh::FaceX_min;
                 ^~
                 > >

Edit : After some pocking online, I found out that by adding the following line in the file TexGen/CMakeLists.txt, the cpp codes standard used to compile the code are change from C++98 to C++11. In The case of TexGen, the C++11 standard should be followed from what I see.

SET(CMAKE_CXX_STANDARD 11)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions