etexteditor / e

e text editor
http://e-texteditor.com
529 stars 91 forks source link

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

Open AlexMikhalev opened 14 years ago

AlexMikhalev commented 14 years ago

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

gilbertw1 commented 14 years ago

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

gilbertw1 commented 14 years ago

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

AlexMikhalev commented 14 years ago

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

toudi commented 14 years ago

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

best regards, toudi.