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.
Makefile: my predefined perquisition is different when using special variables ($?)
I’m trying to create a makefile to build with different flavors.
i.e.
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.
Dependency not followed in a makefile
I have the following makefile
Attempt to build any cpp-pistache-server openapi code ends with a ” failed to create symbolic link ‘libpistache.so.0’: operation not permitted”
I’m trying to build a C++ pistache server code generated by OpenApi generator, on a Debian 11 (and another Debian 12) computer.