Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Unable to compile cx_pcre_chartables.cpp:27:27: error: pcre_internal.h: No such file or directory #56

Open
AlexMikhalev opened this Issue · 4 comments

3 participants

AlexMikhalev Bryan Gilbert Mateusz Mikołajczyk
AlexMikhalev

I am unable to compile e text editor on Ubuntu /Mint.
/downloads/etexteditor-e-e9bef5b/src$ make DEBUG=1
[CC] cx_pcre_chartables.cpp
cx_pcre_chartables.cpp:27:27: error: pcre_internal.h: No such file or directory
make: *** [.objs.debug/cx_pcre_chartables.o] Error 1
alex@alex-hpc:~/downloads/etexteditor-e-e9bef5b/src$
all previous commands completed without any problem:
sudo ./get-packages-ubuntu.sh bakefile
./get_externals_linux.sh
./build_externals_linux.sh
./build_externals_linux.sh debug
I understand file has been moved somewhere.
linux os: "Linux Mint 7 Gloria - KDE Community Edition" mix with ubuntu jaunty

Bryan Gilbert

Any luck sorting this issue out? I've got the same problem trying to build e-texteditor on Ubuntu 9.04. All commands execute properly, except I get the problem compiling cd_pcre_chartables.cpp:

cx_pcre_chartables.cpp:27:27: error: pcre_internal.h: No such file or directory

Bryan Gilbert

Found the problem, If you look in the src/ directory you'll see that the pcre_internal.h has been generated as cx_pcre_internal.h. So if you fix the include by adding the cx_ part then that file should compile correctly.

AlexMikhalev

This issue sorted, but I had another error:
DiffBar.cpp: In member function ‘void DiffBar::OnMouseMotion(wxMouseEvent&)’:
DiffBar.cpp:302: warning: comparison between signed and unsigned integer expressions
DiffBar.cpp: In member function ‘void DiffBar::OnMouseLeftUp(wxMouseEvent&)’:
DiffBar.cpp:321: warning: comparison between signed and unsigned integer expressions
[CC] DiffDirPane.cpp
In file included from DiffDirPane.cpp:14:
DiffDirPane.h:79: error: field ‘m_imageList’ has incomplete type
DiffDirPane.cpp:35: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function. Say ‘&DiffDirPane::OnTreeGetToolTip’
DiffDirPane.cpp:36: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function. Say ‘&DiffDirPane::OnTreeMenu’
DiffDirPane.cpp:37: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function. Say ‘&DiffDirPane::OnTreeActivated’
DiffDirPane.cpp:38: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function. Say ‘&DiffDirPane::OnTreeExpanding’
DiffDirPane.cpp:39: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function. Say ‘&DiffDirPane::OnMenuCompare’
DiffDirPane.cpp:40: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function. Say ‘&DiffDirPane::OnMenuOpen’
DiffDirPane.cpp:41: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function. Say ‘&DiffDirPane::OnMenuOpenLeft’
DiffDirPane.cpp:42: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function. Say ‘&DiffDirPane::OnMenuOpenRight’
DiffDirPane.cpp:43: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function. Say ‘&DiffDirPane::OnMenuCopyToLeft’
DiffDirPane.cpp:44: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function. Say ‘&DiffDirPane::OnMenuCopyToRight’
DiffDirPane.cpp:45: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function. Say ‘&DiffDirPane::OnMenuDelLeft’
DiffDirPane.cpp:46: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function. Say ‘&DiffDirPane::OnMenuDelRight’
DiffDirPane.cpp: In constructor ‘DiffDirPane::DiffDirPane(EditorFrame&)’:
DiffDirPane.cpp:50: error: class ‘DiffDirPane’ does not have any field named ‘m_imageList’
DiffDirPane.cpp:58: error: ‘m_imageList’ was not declared in this scope
DiffDirPane.cpp: In member function ‘void DiffDirPane::AddFolderIcon()’:
DiffDirPane.cpp:197: error: ‘m_imageList’ was not declared in this scope
DiffDirPane.cpp: In member function ‘int DiffDirPane::GetFileIcon(const wxString&)’:
DiffDirPane.cpp:239: error: ‘m_imageList’ was not declared in this scope
make: *** [.objs.debug/DiffDirPane.o] Error 1

Mateusz Mikołajczyk

please use my patch from the issue below to resolve this ;) btw - this still doesn't resolve linking issue.

best regards,
toudi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.