About the problem of collect2.exe [error] LD returned 1 exit status in dev!!!

This is the problem I encountered in writing C++ code in DEV. Description of the problem: at the beginning, I didn’t know what option was checked, which led to collect2.exe [Error] ld returned 1 exit status for all C++ codes run.

solution: open tool -> Compile options -& GT; Code generation/optimization -& GT; Connector, let’s see if this link to the Objective C program checks this option.

Read More: