Recent Posts

Pages: 1 [2] 3 4 5 6 7 ... 10
11
Contributions to C::B / save linker settings libraries
« Last post by blacksages on Yesterday at 12:13:35 pm »
Isn't it possible to add a feature so that in the linker settings, where I list the linked libraries, I could reuse a list of linked libraries I've already made?

I'm coding in c++, I don't know if the interface change for others projects.

But whenever I have to start a new project that needs the same libraries of another project (even just for quick testing) I need to relist every damn libraries and be CAREFUL of the order. This is very bothersome, and makes my codeblocks UX quite disatisfying.
12
Using Code::Blocks / Re: Code::Blocks randomly crashing
« Last post by Kvalifik on Yesterday at 12:01:10 pm »
I am using WINDOWS-1250 encoding in my files.
I didn't use the SpellChecker it was disabled. (Not in plugin level, see in the attached picture)
I didn't install any dictionary.

(I don't want use the SpellChecker plugin, it was only disturbing, because the CodeBlocks was unstable)
13
Help / Re: Codeblocks only runs "Hello world
« Last post by martina1988 on Yesterday at 09:51:06 am »
CodeBlocks now runs the different programs I open but it stops halfway through.
For example, I have this program:
Code: [Select]
#include <iostream>

using namespace std;

int main()
{
    int a,b;
    cout<<"Insert an integer value for variable a\n" ;
    cin>>a;
    cout<<"Insert an integer value for variable b\n" ;
    cin>>b;
int result;
        result = a + b;
    cout<<"Sum of a and b:"<<result<<"\n";
result = a - b;
cout<<"Difference of a and b:"<<result<<"\n";
return 0;
}

The program runs until the second cin, then the window suddenly closes. Why is this?
14
Add readline.c to the targets Release and Debug

Edit:
Select readline.c file
File Properties
Tab: Build

Tim S.
Thanks, Tim, the method works very well.
Best regards.
15
Help / Re: nothing detected about the Compilers in CodeBlocks
« Last post by oBFusCATed on Yesterday at 08:30:27 am »
It detects installation only at particular locations. If it can't detect it you can setup your compilers manually using Setting -> Compiler -> <compiler name> -> Toolchain executables

See the wiki for some documentation about particular compilers.
16
Using Code::Blocks / Re: Specific highlighting
« Last post by oBFusCATed on Yesterday at 08:28:51 am »
There was a topic how to change the dpi awareness somewhere on the forum.

About the setting Settings -> Editor -> Code completion -> Disable pseudo semantic keyword highlighting
17
Nope. Just cherry pick them and push them. I don't like the idea of automatic pulls, nor merge-push-generate-stupid-message thing github does. And some of the changes aren't meant to be pushed. If it has temp in the commit this commit is experimental.

I'd stick to a linear history, because it is possible that we'll want to put the sources in the main repo.

p.s. Should I push the changes to codeblocks?
18
Using Code::Blocks / Re: wxsmith plugin, where is it?
« Last post by jjenson on Yesterday at 12:47:37 am »
I fixed the problem. I did a 'grep -r libhunspell' in the build folder and it came back with a lot of references to the libhunspell-1.7 library. After deleting the folder and creating a new one, I tried the grep on the new folder and it came back with a lot of references to the outdated libhunspell-1.3 library; I guess that's the default.

When I deleted the libhunspell-1.7 files, I deleted the folder which holds the source and created a new one, but I didn't realize that when you run the build, it creates an archive one folder up from the current directory and I think that archive contains info from the previous build that interfered with the next build. I also thought about the possibility that some environmental variables were created during the build that carried over when I did the build again because I was using the same terminal window. So I made sure to not only delete the archive, but to also create a new terminal window before doing the build.

The build completed, created all the deb packages and I installed them without issue. Everything works well now. I'd like to thank everyone who had patience with me and helped me in one way or another.
19
Using Code::Blocks / Re: wxsmith plugin, where is it?
« Last post by jjenson on February 14, 2019, 11:16:18 pm »
dpkg-shlibdeps: error: no dependency information found for /usr/local/lib/libhunspell-1.7.so.0 (used by debian/codeblocks-contrib/usr/lib/codeblocks/plugins/libSpellChecker.so)
Hint: check if the library actually comes from a package.

Your package depends on the self-built libhunspell, which is not allowed for good reasons. Remove it from your system, install libhunspell-dev provided by your distribution.

I have the libhunspell provided by my distribution. I installed it with sudo apt-get install libhunspell-dev
The error message above clearly states that libSpellChecker.so was linked against /usr/local/lib/libhunspell-1.7.so.0 which is not provided by any package installed on your system.

Yes, I know; it's something that has me perplexed.

if I type 'sudo apt install libhunspell-dev'

Reading package lists... Done
Building dependency tree       
Reading state information... Done
libhunspell-dev is already the newest version (1.6.2-1).

It shows I have libhunspell v1.6 installed; which is the one listed in the package manager.

The libhunspell v1.7 I tarred the files before deleting them from /usr/lib and I tried building the packages and it failed immediately because of a dependency on libhunspell; particularly that one (v1.7), even though I have v1.6 installed on my system. I even uninstalled and reinstalled v1.6 but I got the same results. There is something on my system that's telling it where to find libhunspell and it is pointing to the v1.7 one in usr/lib. If I can find where that is, I could fix this problem. So I restored the v1.7 for the tar file to the /usr/lib directory and I was able to make the code; even though I still can't build packages.
20
Using Code::Blocks / Re: wxsmith plugin, where is it?
« Last post by osdt on February 14, 2019, 10:44:11 pm »
dpkg-shlibdeps: error: no dependency information found for /usr/local/lib/libhunspell-1.7.so.0 (used by debian/codeblocks-contrib/usr/lib/codeblocks/plugins/libSpellChecker.so)
Hint: check if the library actually comes from a package.

Your package depends on the self-built libhunspell, which is not allowed for good reasons. Remove it from your system, install libhunspell-dev provided by your distribution.

I have the libhunspell provided by my distribution. I installed it with sudo apt-get install libhunspell-dev
The error message above clearly states that libSpellChecker.so was linked against /usr/local/lib/libhunspell-1.7.so.0 which is not provided by any package installed on your system.
Pages: 1 [2] 3 4 5 6 7 ... 10