eepe 420 compilation issue

How to use eePe
Post Reply
sdavies
Posts: 112
Joined: Wed Jan 21, 2015 6:46 am
Country: Australia
Location: Adelaide SA

eepe 420 compilation issue

Post by sdavies » Sun Aug 16, 2015 2:56 am

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


User avatar
MikeB
9x Developer
Posts: 16625
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: eepe 420 compilation issue

Post by MikeB » Sun Aug 16, 2015 7:53 am

At some point I managed to drop eepelinux.pro and get eepe.pro to work for both Windows and Linux.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

sdavies
Posts: 112
Joined: Wed Jan 21, 2015 6:46 am
Country: Australia
Location: Adelaide SA

Re: eepe 420 compilation issue

Post by sdavies » Mon Aug 17, 2015 1:09 am

It would be good if eepelinux.pro disappeared from the source tree.

sdavies
Posts: 112
Joined: Wed Jan 21, 2015 6:46 am
Country: Australia
Location: Adelaide SA

Re: eepe 420 compilation issue

Post by sdavies » Mon Aug 17, 2015 4:21 am

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.

User avatar
MikeB
9x Developer
Posts: 16625
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: eepe 420 compilation issue

Post by MikeB » Mon Aug 17, 2015 7:57 am

"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.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!


sdavies
Posts: 112
Joined: Wed Jan 21, 2015 6:46 am
Country: Australia
Location: Adelaide SA

Re: eepe 420 compilation issue

Post by sdavies » Mon Aug 17, 2015 8:58 am

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

libengine
Posts: 6
Joined: Tue Feb 17, 2015 6:26 pm
Country: Germany

Re: eepe 420 compilation issue

Post by libengine » Wed Oct 14, 2015 8:42 am

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

User avatar
MikeB
9x Developer
Posts: 16625
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: eepe 420 compilation issue

Post by MikeB » Wed Oct 14, 2015 9:24 am

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.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

libengine
Posts: 6
Joined: Tue Feb 17, 2015 6:26 pm
Country: Germany

Re: eepe 420 compilation issue

Post by libengine » Wed Oct 14, 2015 10:22 am

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.

libengine
Posts: 6
Joined: Tue Feb 17, 2015 6:26 pm
Country: Germany

Re: eepe 420 compilation issue

Post by libengine » Wed Oct 14, 2015 10:31 am

I forgot: libqt4-xml is installed (Version: 4:4.8.6+git64-g5dc8b2b+dfsg-3~ubuntu6.1).

Holger

User avatar
MikeB
9x Developer
Posts: 16625
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: eepe 420 compilation issue

Post by MikeB » Thu Oct 15, 2015 10:27 pm

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.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

libengine
Posts: 6
Joined: Tue Feb 17, 2015 6:26 pm
Country: Germany

Re: eepe 420 compilation issue

Post by libengine » Mon Oct 19, 2015 8:07 am

Thanks.
I'm looking for a method to reply what you are doing... :(
There should be other Linux users using eePe/er9x.

Holger

User avatar
jhsa
Posts: 19047
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: eepe 420 compilation issue

Post by jhsa » Mon Oct 19, 2015 8:19 am

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
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

sdavies
Posts: 112
Joined: Wed Jan 21, 2015 6:46 am
Country: Australia
Location: Adelaide SA

Re: eepe 420 compilation issue

Post by sdavies » Wed Oct 21, 2015 12:20 am

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

libengine
Posts: 6
Joined: Tue Feb 17, 2015 6:26 pm
Country: Germany

Re: eepe 420 compilation issue

Post by libengine » Wed Oct 21, 2015 8:51 am

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?

sdavies
Posts: 112
Joined: Wed Jan 21, 2015 6:46 am
Country: Australia
Location: Adelaide SA

Re: eepe 420 compilation issue

Post by sdavies » Wed Oct 21, 2015 11:03 am

I use Fedora 21.
Everything is in 64-bit mode.

Cheers,
Stephen


Post Reply

Return to “eePe”