User forums > Using Code::Blocks

No member functions dropdown

<< < (2/3) > >>

oBFusCATed:
Obviously the log tells you what is wrong - missing compiler executable g++.
Have you tried to compile your code? It will tell you the same thing. So go on and install a compiler or fix your settings.

p.s. And don't work as root, it is not a good idea in the long run!

Jenna:
I just tested it on linux:
compiling might work, but codecompletion not.

If you look at the log you see, that cc searches the compiler in "/bin/bin" what is obviously wrong.
Please fix your toolchain, you must have messed it up.
On fresh installations it's correct for gcc on linux (at least I never see it not working).

Try to autodetect the compilers master path or set it manually to "/usr" !

But unfortunately, that does not mean it works afterwards.

I just tried it with the same example, and I do not get a member list.
Even not after restarting Code::Blocks.

This might be a bug in code-completion (on linux?) or a problem with my settings.

Latest trunk on Fedora 54-bit build with gcc 5.3 against wx 2.8.12.

AZ:

--- Quote from: oBFusCATed on April 16, 2016, 07:52:49 am ---Obviously the log tells you what is wrong - missing compiler executable g++.
Have you tried to compile your code? It will tell you the same thing. So go on and install a compiler or fix your settings.

p.s. And don't work as root, it is not a good idea in the long run!

--- End quote ---

code compiles just fine. no idea where to make changes so the warning goes away :(. Sorry.

AZ:

--- Quote from: jens on April 16, 2016, 08:13:39 am ---I just tested it on linux:
compiling might work, but codecompletion not.

If you look at the log you see, that cc searches the compiler in "/bin/bin" what is obviously wrong.
Please fix your toolchain, you must have messed it up.
On fresh installations it's correct for gcc on linux (at least I never see it not working).

Try to autodetect the compilers master path or set it manually to "/usr" !

But unfortunately, that does not mean it works afterwards.

I just tried it with the same example, and I do not get a member list.
Even not after restarting Code::Blocks.

This might be a bug in code-completion (on linux?) or a problem with my settings.

Latest trunk on Fedora 54-bit build with gcc 5.3 against wx 2.8.12.

--- End quote ---

autodetection works fine in the sense that during startup it detects all compilers. What is annoying ( probably something is messed up as you said ) that it asks to confirm cc on every start.

> .. This might be a bug in code-completion (on linux?) or a problem with my settings.
I did some digging on the forum and while no exact matches found, there was a suggestion to:
 a. insure "code completion" is enabled in the Settings->General Setings (Code completion ).
 b. disable "SmartSense" in the Settings-> GeneralSettings->Code Completion

once i disable SmartSense i see all the functions in the string variable.

P.S. welll.... not working again... damn it..

ollydbg:
@AZ
We need to know the compiler setting, it is under: Menu->Settings->Compiler settings->Toolchain executables.
Do you correctly set the compiler installation directory and the program files?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version