Code::Blocks Forums

User forums => Help => Topic started by: philo_neo on January 11, 2018, 03:07:04 am

Title: codeblock under FreeBSD issue
Post by: philo_neo on January 11, 2018, 03:07:04 am
Hello,
I just installed Codeblocks on FreeBSD 11.1 for i386 (intel), I can not start it from the icon, or in VT320 mode (terminal).
Here is my output in root mode
Code
root@dct-soleil:/usr/home/phipo # codeblocks
Starting Code::Blocks Release 16.01  rev 10692 Jan 11 2018, 02:42:52 - wx2.8.12 (FreeBSD, unicode) - 32 bit
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Initialize EditColourSet .....
Initialize EditColourSet: done.
Abort (core dumped)
root@dct-soleil:/usr/home/phipo #
and in user mode:
Code
$ codeblocks
Starting Code::Blocks Release 16.01  rev 10692 Jan 11 2018, 02:42:52 - wx2.8.12 (FreeBSD, unicode) - 32 bit
Initialize EditColourSet .....
Initialize EditColourSet: done.
Abort trap (core dumped)
$

I do not understand what's happening!
Regards
Philippe
Title: Re: codeblock under FreeBSD issue
Post by: oBFusCATed on January 11, 2018, 07:55:24 am
Try starting it in a debugger to see why and where it crashes.
Title: Re: codeblock under FreeBSD issue
Post by: philo_neo on January 11, 2018, 05:41:20 pm
i update ports on FreeBSD and compile the ports /devel/codeblocks
the version 16.04 are buging
now i have 17.12 and it' works fine !

Another question : i created console project , the compilation work but i don't see the output xterm?

Regards
philippe
Title: Re: codeblock under FreeBSD issue
Post by: stahta01 on January 11, 2018, 05:47:17 pm
Another question : i created console project , the compilation work but i don't see the output xterm?

Regards
philippe

Read http://forums.codeblocks.org/index.php/topic,22326.msg151991.html#msg151991 (http://forums.codeblocks.org/index.php/topic,22326.msg151991.html#msg151991)
Title: Re: codeblock under FreeBSD issue
Post by: philo_neo on January 11, 2018, 05:54:05 pm
i read your link >>>

i have xterm installed and in the setting >> environement >> xterm -T $TITLE -e

the program doesn't display
this the simple program :
Code
#include <iostream>

using namespace std;

int main()
{

    int ageUtilisateur(16);
    //Une variable de type int
    int *ptr(0);
    //Un pointeur pouvant contenir l'adresse d'un nombre entier

    ptr = &ageUtilisateur;
    //On met l'adresse de 'ageUtilisateur' dans le pointeur 'ptr'

    return 0;
}
Title: Re: codeblock under FreeBSD issue
Post by: philo_neo on January 11, 2018, 07:41:30 pm
post/thread solved

>>> not xterm but gnome terminal