eepe 420 compilation issue
eepe 420 compilation issue
I can only build eepe 420 on my 64-bit F22 box if I specify eepe.pro to the qmake-qt4 command.
If I use eepelinux.pro, I get:
modeledit.o: In function `ModelEdit::on_VoiceAlarmList_doubleClicked(QModelIndex)':
/var/sources/eepe0420/src/modeledit.cpp:4282: undefined reference to `VoiceAlarmDialog::VoiceAlarmDialog(QWidget*, t_voiceAlarm*, int, int, int, t_ModelData*)'
modeledit.o: In function `ModelEdit::on_templateList_doubleClicked(QModelIndex)':
/var/sources/eepe0420/src/modeledit.cpp:4878: undefined reference to `TemplateDialog::TemplateDialog(QWidget*, t_ModelData*, t_templateValues*, int)'
mdichild.o: In function `MdiChild::wizardEdit()':
/var/sources/eepe0420/src/mdichild.cpp:1359: undefined reference to `WizardDialog::WizardDialog(t_EEGeneral const&, unsigned int, QWidget*)'
/var/sources/eepe0420/src/mdichild.cpp:1365: undefined reference to `WizMix::operator t_ModelData()'
collect2: error: ld returned 1 exit status
Makefile:192: recipe for target 'eepe' failed
make: *** [eepe] Error 1
Cheers,
Stephen
If I use eepelinux.pro, I get:
modeledit.o: In function `ModelEdit::on_VoiceAlarmList_doubleClicked(QModelIndex)':
/var/sources/eepe0420/src/modeledit.cpp:4282: undefined reference to `VoiceAlarmDialog::VoiceAlarmDialog(QWidget*, t_voiceAlarm*, int, int, int, t_ModelData*)'
modeledit.o: In function `ModelEdit::on_templateList_doubleClicked(QModelIndex)':
/var/sources/eepe0420/src/modeledit.cpp:4878: undefined reference to `TemplateDialog::TemplateDialog(QWidget*, t_ModelData*, t_templateValues*, int)'
mdichild.o: In function `MdiChild::wizardEdit()':
/var/sources/eepe0420/src/mdichild.cpp:1359: undefined reference to `WizardDialog::WizardDialog(t_EEGeneral const&, unsigned int, QWidget*)'
/var/sources/eepe0420/src/mdichild.cpp:1365: undefined reference to `WizMix::operator t_ModelData()'
collect2: error: ld returned 1 exit status
Makefile:192: recipe for target 'eepe' failed
make: *** [eepe] Error 1
Cheers,
Stephen
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: eepe 420 compilation issue
At some point I managed to drop eepelinux.pro and get eepe.pro to work for both Windows and Linux.
Mike.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: eepe 420 compilation issue
It would be good if eepelinux.pro disappeared from the source tree.
Re: eepe 420 compilation issue
I downloaded from GitHub and eepelinux.pro is gone:-)
The eepe.pro build works but only after a bit of massaging.
Initially the issue was stamp-eepe.h missing.
Then there were a series of errors because files had syntax like:
#include ..\..\common\node.h
and Linux g++ does not like the back slashes.
I edited those and copied node.h (which was missing) from my previous SVN download.
The build then worked.
To download from GitHub, I took advantage of the Download Zip button.
This makes the download very quick and easy.
Somebody should update the download and build instructions.
The eepe.pro build works but only after a bit of massaging.
Initially the issue was stamp-eepe.h missing.
Then there were a series of errors because files had syntax like:
#include ..\..\common\node.h
and Linux g++ does not like the back slashes.
I edited those and copied node.h (which was missing) from my previous SVN download.
The build then worked.
To download from GitHub, I took advantage of the Download Zip button.
This makes the download very quick and easy.
Somebody should update the download and build instructions.
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: eepe 420 compilation issue
"node.h" is in the "common" directory, I'm not sure why you needed to copy it.
I'll sort out the '\' characters and change them to '/'.
Mike.
I'll sort out the '\' characters and change them to '/'.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: eepe 420 compilation issue
I've just redone the process on another machine and saw that node.h does indeed live in common.
I think I may have originally been fooled by the \ issue which initially said that \common\node.h did not exist.
When I restored the original node.h and did a make clean/make, it worked so the copy was redundant.
Cheers,
Stephen
I think I may have originally been fooled by the \ issue which initially said that \common\node.h did not exist.
When I restored the original node.h and did a make clean/make, it worked so the copy was redundant.
Cheers,
Stephen
Re: eepe 420 compilation issue
Hi,
I still can't compile eePe r420 under ubuntu 15.04.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cd eepe/src/
> qmake
> make
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -Ieepskye/src -I. -I. -o customizesplashdialog.o eepskye/src/customizesplashdialog.cpp
In file included from eepskye/src/helpers.h:2:0,
from eepskye/src/customizesplashdialog.cpp:7:
eepskye/src/../../helpers.h:5:17: fatal error: QtXml: Datei oder Verzeichnis nicht gefunden
#include <QtXml>
^
compilation terminated.
Makefile:949: recipe for target 'customizesplashdialog.o' failed
make: *** [customizesplashdialog.o] Error 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It's possible to install eepe/eepe-amd64.deb, but it's version is 362-1.
Holger
I still can't compile eePe r420 under ubuntu 15.04.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cd eepe/src/
> qmake
> make
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -Ieepskye/src -I. -I. -o customizesplashdialog.o eepskye/src/customizesplashdialog.cpp
In file included from eepskye/src/helpers.h:2:0,
from eepskye/src/customizesplashdialog.cpp:7:
eepskye/src/../../helpers.h:5:17: fatal error: QtXml: Datei oder Verzeichnis nicht gefunden
#include <QtXml>
^
compilation terminated.
Makefile:949: recipe for target 'customizesplashdialog.o' failed
make: *** [customizesplashdialog.o] Error 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It's possible to install eepe/eepe-amd64.deb, but it's version is 362-1.
Holger
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: eepe 420 compilation issue
I thought the 32-bit version does install and run on a 64-bit linux.
Please translate the error "Datei oder Verzeichnis nicht gefunden".
What version of QtCreator are you running?
Mike.
Please translate the error "Datei oder Verzeichnis nicht gefunden".
What version of QtCreator are you running?
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: eepe 420 compilation issue
Hi Mike,
'Datei oder Verzeichnis nicht gefunden': file or directory not found
I didn't install qtcreator. qt4-make is version 4:4.8.6+git64-g5dc8b2b+dfsg-3~ubuntu6.1
eePe-i386 doesn't install because it depends on some libs (i386-versions) which conflict with the amd64-versions of those libs.
'Datei oder Verzeichnis nicht gefunden': file or directory not found
I didn't install qtcreator. qt4-make is version 4:4.8.6+git64-g5dc8b2b+dfsg-3~ubuntu6.1
eePe-i386 doesn't install because it depends on some libs (i386-versions) which conflict with the amd64-versions of those libs.
Re: eepe 420 compilation issue
I forgot: libqt4-xml is installed (Version: 4:4.8.6+git64-g5dc8b2b+dfsg-3~ubuntu6.1).
Holger
Holger
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: eepe 420 compilation issue
I think I'm using 4.7.3 on Windows, and 5.something on linux. Both compile OK.
On windows, my compile line looks like:
g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I'c:/progs/QtSDK/Desktop/Qt/4.7.3/mingw/include/QtCore' -I'c:/progs/QtSDK/Desktop/Qt/4.7.3/mingw/include/QtNetwork' -I'c:/progs/QtSDK/Desktop/Qt/4.7.3/mingw/include/QtGui' -I'c:/progs/QtSDK/Desktop/Qt/4.7.3/mingw/include/QtXml' -I'c:/progs/QtSDK/Desktop/Qt/4.7.3/mingw/include' -I'../../common' -I'c:/progs/QtSDK/Desktop/Qt/4.7.3/mingw/include/ActiveQt' -I'release' -I'.' -I'../src' -I'.' -I'c:/progs/QtSDK/Desktop/Qt/4.7.3/mingw/mkspecs/win32-g++' -o release/customizesplashdialog.o ../src/customizesplashdialog.cpp
Clearly, I have some more include directories than you do.
At the top of my eepe.pro, I have:
QT += network \
xml
These may cause the extra include directories.
Mike.
On windows, my compile line looks like:
g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I'c:/progs/QtSDK/Desktop/Qt/4.7.3/mingw/include/QtCore' -I'c:/progs/QtSDK/Desktop/Qt/4.7.3/mingw/include/QtNetwork' -I'c:/progs/QtSDK/Desktop/Qt/4.7.3/mingw/include/QtGui' -I'c:/progs/QtSDK/Desktop/Qt/4.7.3/mingw/include/QtXml' -I'c:/progs/QtSDK/Desktop/Qt/4.7.3/mingw/include' -I'../../common' -I'c:/progs/QtSDK/Desktop/Qt/4.7.3/mingw/include/ActiveQt' -I'release' -I'.' -I'../src' -I'.' -I'c:/progs/QtSDK/Desktop/Qt/4.7.3/mingw/mkspecs/win32-g++' -o release/customizesplashdialog.o ../src/customizesplashdialog.cpp
Clearly, I have some more include directories than you do.
At the top of my eepe.pro, I have:
QT += network \
xml
These may cause the extra include directories.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: eepe 420 compilation issue
Thanks.
I'm looking for a method to reply what you are doing...
There should be other Linux users using eePe/er9x.
Holger
I'm looking for a method to reply what you are doing...
There should be other Linux users using eePe/er9x.
Holger
Re: eepe 420 compilation issue
I also use eepe in Linux (dual boot machine) but I don't compile it. I wait for Mike to release it
And I believe that is what many of us do
João
And I believe that is what many of us do
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Re: eepe 420 compilation issue
Do you have the development package for QtXml?
On my system (where it compiles OK), I have:
/usr/include/QtXml
/usr/include/QtXml/QtXml
/usr/include/Qt/QtXml
/usr/include/PySide/QtXml
/usr/lib64/pkgconfig/QtXml.pc
/usr/lib64/python2.7/site-packages/PyQt4/QtXml.so
On my system (where it compiles OK), I have:
/usr/include/QtXml
/usr/include/QtXml/QtXml
/usr/include/Qt/QtXml
/usr/include/PySide/QtXml
/usr/lib64/pkgconfig/QtXml.pc
/usr/lib64/python2.7/site-packages/PyQt4/QtXml.so
Re: eepe 420 compilation issue
I installed just one qtxml package:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Package: python-pyside.qtxml
State: installed
Automatically installed: yes
Version: 1.2.2-1
Priority: optional
Section: universe/python
Maintainer: Ubuntu Developers <[email protected]>
Architecture: amd64
Uncompressed Size: 2877 k
Depends: python-pyside.qtcore (= 1.2.2-1), libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), libpyside1.2 (= 1.2.2-1), libpython2.7 (>= 2.7),
libqt4-xml (>= 4:4.7.0), libqt4-xmlpatterns (>= 4:4.7.0), libqtcore4 (>= 4:4.7.0), libshiboken1.2 (>= 1.1.0), libstdc++6
(>= 4.1.1), python (>= 2.7), python (< 2.8)
Conflicts: python-pyside.qtxml
Provides: python2.7-pyside.qtxml
Description: Qt 4 XML module - Python bindings
Qt is a cross-platform C++ application framework. Qt's primary feature is its rich set of widgets that provide standard GUI
functionality.
This package provides Python bindings for the QtXml and QtXmlPatterns modules.
Homepage: http://www.pyside.org/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
As you can see, it provides also python2.7-pyside.qtxml
There is no explicit devel-version because qtxml is a library.
Which Linux distribution are you using? Is it compiled against i386 or amd64 libraries?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Package: python-pyside.qtxml
State: installed
Automatically installed: yes
Version: 1.2.2-1
Priority: optional
Section: universe/python
Maintainer: Ubuntu Developers <[email protected]>
Architecture: amd64
Uncompressed Size: 2877 k
Depends: python-pyside.qtcore (= 1.2.2-1), libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), libpyside1.2 (= 1.2.2-1), libpython2.7 (>= 2.7),
libqt4-xml (>= 4:4.7.0), libqt4-xmlpatterns (>= 4:4.7.0), libqtcore4 (>= 4:4.7.0), libshiboken1.2 (>= 1.1.0), libstdc++6
(>= 4.1.1), python (>= 2.7), python (< 2.8)
Conflicts: python-pyside.qtxml
Provides: python2.7-pyside.qtxml
Description: Qt 4 XML module - Python bindings
Qt is a cross-platform C++ application framework. Qt's primary feature is its rich set of widgets that provide standard GUI
functionality.
This package provides Python bindings for the QtXml and QtXmlPatterns modules.
Homepage: http://www.pyside.org/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
As you can see, it provides also python2.7-pyside.qtxml
There is no explicit devel-version because qtxml is a library.
Which Linux distribution are you using? Is it compiled against i386 or amd64 libraries?
Re: eepe 420 compilation issue
I use Fedora 21.
Everything is in 64-bit mode.
Cheers,
Stephen
Everything is in 64-bit mode.
Cheers,
Stephen