Relative Content

Tag Archive for c++makefile

MakeFile no rule issue

I have two sub folders in my project. First one is the Source folder which contains main.cpp file
and the second one is ImGui folder which contains all needed ImGui cpp and header files.

MakeFile no rule issue

I have two sub folders in my project. First one is the Source folder which contains main.cpp file
and the second one is ImGui folder which contains all needed ImGui cpp and header files.

undefined reference to `init_ipc’ collect2: error: ld returned 1 exit status

i have this error, which i would say due to a wrong statement in the master file. i put the .h file on top. Compiling the files, through makefile, I get this error and I don’t understand how to fix it
src/master.c:83: undefined reference to `init_ipc' collect2: error: ld returned 1 exit status make: *** [Makefile:20: master] Errore 1

multiple definition of … first defined here

I know this is a well known problem and there are many mistakes and solutions in the SO. However this is what I cannot fix it anyway. As you can see, there is no wrongly inclusion of *.c files.