User forums > Using Code::Blocks
error adding symbols: DSO missing from command line
BlueHazzard:
And again, i don't understand where the problem is to post a full build log. I could give you a step by step direction with the build log.
But ok, i respect your decision and I will try to help you the next time...
niconol:
Hi,
I remade my project, slowly and step by step, from one big file main.cpp (at the origin) to more than 15 files (.cpp + .h)
Now it's very clear, and easier to continue (adding now gtk3+ for an interface first designed with glade ....)
but now, there is no compilation error about this thread.
I tried both methods, using
--- Quote ----pthread must be passed to both compiler and linker. So it must be set in other compiler options and other linker options
--- End quote ---
and
--- Quote --- -lpthread
--- End quote ---
the two are ok, but I choose the first one.
So I don't know where was my error, but I found and other way to eliminate it...
thanks a lot for your responses, very usefull.
Merci infiniment.
Navigation
[0] Message Index
[*] Previous page
Go to full version