Compile error: Undefined symbols: “_main”, referenced from: start in crt1.10.5.o

前端 未结 3 1239
既然无缘
既然无缘 2021-02-07 04:06

I have the following code:

#include 

using namespace std;

class testing{
   int test() const;
   int test1(const testing& test2);
};

int t         


        
3条回答
  •  无人及你
    2021-02-07 04:57

    Try these (they worked for me):

    • /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
    • brew install mingw-w64

    Please save your code before running.

    For reference refer to this video

提交回复
热议问题