Skip to content

compilation error #101

Description

@harshp1509

when i am following this below step
git clone https://github.com/google-deepmind/mujoco.git
mkdir build && cd build
cmake ..
make -j4
sudo make install

than i am getting below error in make -j4 command----

ld.lld: error: undefined symbol: main

referenced by /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/Scrt1.o:(_start)
collect2: error: ld returned 1 exit status
make[2]: *** [sample/CMakeFiles/compile.dir/build.make:98: bin/compile] Error 1
make[1]: *** [CMakeFiles/Makefile2:6839: sample/CMakeFiles/compile.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

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