Recent Posts

Pages: 1 2 [3] 4 5 6 7 8 ... 10
21
Help / No squiggly line errors showing up
« Last post by aboehm on February 20, 2018, 09:28:30 pm »
Hello everyone. I just switched from using Visual Studio for a long time because for some reason, #include <p.thread.h> does not work in Visual Studio at all. The issue I am requesting help on is error highlighting. Codeblocks doesn't seem to have any error highlight until after you compile, even then, it's just a red box next to the line. I can type in random gibberish and it doesn't get highlighted.

I am trying to write a C program that uses multithreading with a counter, it uses function pointers.
22
Development / Re: segmentation fault (core dumped) in settings
« Last post by oBFusCATed on February 20, 2018, 08:19:17 pm »
Can you reproduce this with the default libwxgtk lib package in ubuntu?
Unfortunately this is the only ubuntu I don't have in wm. :(
23
Development / Re: Bootstrap with no wxWidgets packet installed
« Last post by oBFusCATed on February 20, 2018, 08:14:12 pm »
There is an issue about this on the tickets page. The proposed solution there is to copy the file in out m4 folder.
24
Development / Re: Bootstrap with no wxWidgets packet installed
« Last post by stahta01 on February 20, 2018, 07:45:32 pm »
I believe update-alternatives is an Debian only command.
No, it isn't.
It's copyrighted by Redhat in 2001 or 2002.

So, at least Redhat and Debian Linux Distros should have it.

Tim S.
25
Development / Re: Bootstrap with no wxWidgets packet installed
« Last post by jens on February 20, 2018, 07:39:19 pm »
I believe update-alternatives is an Debian only command.
No, it isn't.
It's copyrighted by Redhat in 2001 or 2002.
26
Development / Re: Bootstrap with no wxWidgets packet installed
« Last post by stahta01 on February 20, 2018, 05:47:18 pm »
update-alternatives is used to switch an link to various real files.

I believe update-alternatives is an Debian only command.

Tim S.
27
Development / Re: Bootstrap with no wxWidgets packet installed
« Last post by BlueHazzard on February 20, 2018, 05:29:13 pm »
thank you!
i also found this article in the mean time and i have tried this:
Code: [Select]
export ACLOCAL_FLAGS="-I `wx-config --prefix`/share/aclocal"with this i was able to go trought bootstrap and it is now compiling. But i would like to know what this does....

Code: [Select]
$ update-alternatives --install /usr/bin/wx-config wx-config /opt/wx/2.8/bin/wx-config 50can you explain what this does? Am i asked every time i run wx-config what version i would like to run? How does this go with autotools, or other tools that do not allow user interaction?
28
Development / Re: Bootstrap with no wxWidgets packet installed
« Last post by stahta01 on February 20, 2018, 05:19:38 pm »
Are you using an Debian based Linux; because it has an easy fix? I posted it somewhere in the Wiki an way to use alternates with self built wxWidgets.

Edit: Added wiki link http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Linux#Checking_the_presence_of_libwxGTK_library

Tim S.
29
Development / Bootstrap with no wxWidgets packet installed
« Last post by BlueHazzard on February 20, 2018, 05:16:45 pm »
Hi,
i try to build codeblocks on linux, without wxWidgets installed, but compiled and installed by myself.

If i run ./bootstrap it can not find the wx-config macro:
Code: [Select]
configure.ac:141: error: possibly undefined macro: AM_OPTIONS_WXCONFIG
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
Now this seems ok, because i can provide the wx-config path by myself (it is /usr/local/bin/wx-config) but the ./configure command has no option --witch-wx-config and fails because it can not find the AM_CONFIG thing

Code: [Select]
./configure: line 21384: AM_OPTIONS_WXCONFIG: command not found
./configure: line 21385: syntax error near unexpected token `2.8.12,'
./configure: line 21385: `AM_PATH_WXCONFIG(2.8.12, wxWin=1)'

Is there a easy solution beside installing wxWidgets from repo?
30
Using Code::Blocks / Re: Code completion - containers
« Last post by buzz_lightzyear on February 20, 2018, 12:29:06 pm »
Hey!

This would be great! :-) I have already installed Clang also for real-time code checking but its not working so far.

Thx! :-)
Pages: 1 2 [3] 4 5 6 7 8 ... 10