User forums > Using Code::Blocks

Cut and paste does not seem to work properly

(1/2) > >>

alexchen:
I downloaded the source code for SVN repository and built from svn 11957 snapshot.  The 'Cut' and 'Paste' functions seem to work only partially.
I cannot copy strings from a comment block and paste it to regular code area, nor can I copy stuff from one tab window to windows in another tabs.
Has anyone experienced this problem?
Alex

stahta01:
Operating System info and wxWidgets version used to build CB.

Tim S.

alexchen:
I am running CentOS 7.7:
$ lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: CentOS
Description:    CentOS Linux release 7.7.1908 (Core)
Release:        7.7.1908
Codename:       Core

gcc 7.3.1
$ which gcc
/opt/rh/devtoolset-7/root/usr/bin/gcc
$ gcc --version
gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

wxGTK 2.8.12
$ yum info wxGTK-devel
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.xtom.com
 * centos-sclo-rh: mirror.sfo12.us.leaseweb.net
 * centos-sclo-sclo: mirrors.xtom.com
 * epel: d2lzkl7pfhq30w.cloudfront.net
 * extras: mirrors.xtom.com
 * updates: mirror.sfo12.us.leaseweb.net
Installed Packages
Name        : wxGTK-devel
Arch        : x86_64
Version     : 2.8.12
Release     : 20.el7
Size        : 4.4 M
Repo        : installed
From repo   : epel
Summary     : Development files for the wxGTK2 library
URL         : http://www.wxwidgets.org/
License     : wxWidgets
Description : This package include files needed to link with the wxGTK2 library.

oBFusCATed:
How are you building this release? Have you tried to make an rpm (./configure; make dist; rpmbuild -ta codeblocks*.tar.bz2)?

alexchen:
1. I follow the instructions in the link:  http://codeblocks.org/downloads/7 to down the latest version:
   Anonymous SVN access via HTTP protocol:
   Repository URL: http://svn.code.sf.net/p/codeblocks/code/trunk
   Command: svn checkout http://svn.code.sf.net/p/codeblocks/code/trunk
2. Install the pre-requisite package
   CentOS: wxGTK-devel
   Command: sudo yum -y install wxGTK-devel
3. Follow the instructions in the link:  http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_RPM_based_distributions#Build_the_RPM_package to build RPM:
   cd trunk
   ./bootstrap
   ./configure --disable-fortran
   make dist
   rpmbuild -ta codeblocks*.tar.*
4. Use the resulting RPMs under $HOME/rpmbuild/RPMS/x86_64

Navigation

[0] Message Index

[#] Next page

Go to full version