Skip to content

Doesn't compile in macos #224

@Siri94

Description

@Siri94
[ 27%] Built target voglcore
[ 29%] Built target voglgen
[ 29%] Built target voglgen_make_inc
[ 47%] Built target voglcommon
[ 48%] Building CXX object src/voglreplay/CMakeFiles/vogl.dir/replay_tool_trace.cpp.o
In file included from /Users/shk/Library/Mobile                                            ^     ~
/Users/shk/Library/Mobile Documents/com~apple~CloudDocs/MainProjects/SMK/vogl/src/voglreplay/replay_tool_trace.cpp:129:58: error: ordered comparison between pointer and zero ('char *' and 'int') [Semantic Issue]
    if ((file_utils::get_exec_filename(buf, sizeof(buf)) <= 0))
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~
289 warnings and 1 error generated.
make[2]: *** [src/voglreplay/CMakeFiles/vogl.dir/replay_tool_trace.cpp.o] Error 1
make[1]: *** [src/voglreplay/CMakeFiles/vogl.dir/all] Error 2
make: *** [all] Error 2

And my solution is like that: 6846f4e

225 warnings generated.
[100%] Linking CXX executable ../../../ktxtool64
[100%] Built target ktxtool

If it seems no problem, close it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions