News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

need a little help setting up the compiler c++

Started by userx-bw, October 06, 2017, 11:05:34 PM

Previous topic - Next topic

userx-bw

this is what I have set in the setting for compiler, tried both, ++11 , and ++14
under modify flags I added, this

-std=c++11 -lX11 -Wall -Wno-switch-enum -Wno-switch   `imlib2-config --cflags` `imlib2-config --libs`

and I am getting an "undefined reference to..." every function call for imlib2 functions.

yet when I opened a terminal then add g++ and that line I get a good compile and a.out. so what is wrong with how I have it set?

Linux, codeblocks ver. 16.01

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]