Page 3 of 4

Re: Eepe on MAC

Posted: Sun Oct 07, 2012 6:13 pm
by DonBarker
I'm a confused new user. The version of eePe I get from the https://code.google.com/p/eepe/ site from the OSX installer is r339. When I start this version it tells me that a new version r358 is available and to get it go to the https://code.google.com/p/eepe/ site to get it.

My question, is r358 the latest windows version and the latest OSX version is r339? Or do I need to build a later OSX version using the "outdated instructions" in the first post of this thread?

Any insight would be appreciated

Re: Eepe on MAC

Posted: Mon Oct 08, 2012 6:32 pm
by Crucial
r339 is the last OSX version on the website. The current windows version is r358. As stated a few posts back, the auto updater doesn't work for Mac's. Groot has to build the latest version if he has time to. There has been quite a few updates recently so now that they seem to be straightened out perhaps he could build the latest version when he has time.

Re: Eepe on MAC

Posted: Mon Oct 08, 2012 11:52 pm
by kaos
Crucial: thx for the post to clarify that. I was a bit confused too with the mac version. ;)

Re: Eepe on MAC

Posted: Fri Nov 09, 2012 1:23 am
by IceWind
I've been trying to compile it in mac with no luck.
When opening he generated project in xcode it crashes, anyone encountered the same problem?

Error log:
---
$ xcodebuild eepe.xcodeproj
2012-11-09 01:43:46.845 xcodebuild[65054:1207] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-1850/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/Target.subproj/PBXTarget.m:1806
Details: configName should be a non-empty string, but it is nil
Object: <PBXNativeTarget: 0x400c51c20>
Method: -cachedPropertyExpansionContextForWorkspaceArenaSnapshot:configurationNamed:
Thread: <NSThread: 0x40030a260>{name = (null), num = 1}
Hints: None
Backtrace:
(...)
---

Re: Eepe on MAC

Posted: Fri Nov 09, 2012 2:17 am
by IceWind
Problem solved, the version of Qmake that is mentioned in the instructions is not compatible with XCode 4.x.
Need to get a newer version: http://get.qt.nokia.com/qt/source/qt-ma ... -4.8.1.dmg

Still having some issues with the path's but it should be easier to fix.

Update: I'm now running rev360. :)
(you can get the .dmg here: http://www.xrotor.net/eepe.dmg)


I still have to figure out the problem with the path generation. The generated project sets the files like main.cpp but when clang goes to compile it changes to /main.cpp that obviously is wrong. My solution was to manually edit the project file and puth the full path /home/user/.../main.cpp.
I don't use much of these mac compilers, any idea how to fix this?

Re: Eepe on MAC

Posted: Fri Nov 09, 2012 7:37 am
by Kilrah
Which version of Xcode are you using?
As far as I know compiling only works up to Xcode 4.1, which can't be installed on Mountain Lion. This had me keep a Lion virtual machine just for compiling companion9x, as I don't know enough to fix it for later versions.

Re: Eepe on MAC

Posted: Fri Nov 09, 2012 8:18 am
by IceWind
I'm running the latest version > Xcode 4.5.2.

Re: Eepe on MAC

Posted: Fri Nov 09, 2012 8:45 am
by Kilrah
Interesting...

EDIT: Ah dang, eepe. I misread and thought you were talking of companion9x.

Re: Eepe on MAC

Posted: Sun Nov 11, 2012 11:34 am
by IceWind
:( The problem I was hopping to be solved on the latest version is not.
Still can't save/load images to generate the logo.
Going to try and fix that.

Re: Eepe on MAC

Posted: Wed Apr 24, 2013 10:34 pm
by MikeB
I don't know whether it is possible the cross compile eepe for the Mac using windows. I'm not quite sure how, or who, has been compiling for the Mac recently.
Groot seems to have been doing it, but he hasn't been on here since last July.
Erazz, who has been building releases seems to have gone very quiet as well.
At present, I can only build for windows. I've tried to build a linux version, but I'm getting a missing header file (e32std.h). I think I'm using QT ver. 4.7.3. I may need to update to 4.8.1.

Anyone able to build the Mac version?

Mike.

Re: Eepe on MAC

Posted: Thu Apr 25, 2013 8:11 am
by Kilrah
Looks like I've been able to following Groot's instructions in the first post.
This is just the zipped app, I don't know how to make an installer package with the dependencies etc. Groot promised he'd tell me how to "by next week" last July :(

EDIT: Tried building eepskye too, but this one fails:

Code: Select all

file.h:90: Invalid use of non-static data member t_radioData::models

Re: Eepe on MAC

Posted: Sat Sep 14, 2013 10:09 am
by davodavo
Hi all,
Sorry to be a pain, but I am running eepe V339 (Apr 8 2012) is this still the latest Mac version?
I'm a bit confused about the reference to V360 in an earlier post here.

Thanks,
Dave.

eepe revision 391 Mac build

Posted: Sat Nov 30, 2013 5:26 am
by TheObstacle
Attached is a Mac build of eepe from svn revison 391. This was created on Mac OS X 10.9 (Mavericks), using Xcode 5.0.2 and Qt 4.8.5.

Building it was pretty straightforward:
- Install Xcode if you haven't already
- Install Qt 4.8.5 from http://qt-project.org/downloads
- svn checkout http://eepe.googlecode.com/svn/trunk eepe
- cd eepe/src
- grab the missing qextserialenumerator_osx.cpp file from https://code.google.com/p/qextserialport/
- qmake
- open eepe.xcodeproj
- build and run

Creating the .dmg required a couple of additional steps:

- Build a non-debug app in Xcode using Project -> Archive
- Go into the .xcarchive bundle (find it by right-clicking the archive in the Xcode Organizer and selecting "Show in Finder") and copy out eepe.app
- in Terminal, find the copy and run 'macdeployqt eepe.app -dmg'

I make no guarantees of anything, but it seems to work on my machine. :)

(Uploaded as a .zip file because the forums don't allow .dmg as an attachment extension. :P )

Share and enjoy,
TheObstacle

Re: Eepe on MAC

Posted: Sat Nov 30, 2013 6:32 am
by jhsa
You need to be a rocket scientist to build eepe :mrgreen:

Sent from my GT-I9195 using Tapatalk

Re: Eepe on MAC

Posted: Sat Nov 30, 2013 6:46 pm
by TheObstacle
jhsa wrote:You need to be a rocket scientist to build eepe :mrgreen:
No rocket surgery necessary, just had to put all the right pieces in a bag and shake well. ;)

Re: Eepe on MAC

Posted: Tue Dec 31, 2013 12:09 am
by MikeB
TheObstacle: When you did the checkout, you should have got the sources for eepskye as well, they're in a sub-directory. Could you try building that please. We are going to need a MAC version of that to support ersky9xr, the 'SKY' version for the new 9XR-PRO.

Mike.

Re: Eepe on MAC

Posted: Mon Jan 13, 2014 5:34 am
by TheObstacle
MikeB wrote:TheObstacle: When you did the checkout, you should have got the sources for eepskye as well, they're in a sub-directory. Could you try building that please. We are going to need a MAC version of that to support ersky9xr, the 'SKY' version for the new 9XR-PRO.

Mike.
Attached is a build of eepskye made from the same svn revision (391).

I had to make a couple of source changes to fix build errors. The other attachment is a patch file containing these changes.

Note that I don't have a "sky" TX, so I haven't been able to test this build at all. Caveat emptor, etc, etc.

Re: Eepe on MAC

Posted: Mon Jan 13, 2014 11:38 am
by Mutchy
Thanks heaps for creating this app. It is very very welcome. I think there is one small problem.
I have installed Eepskye.dmg and it appears to load and run OK. I have not tried to connect to a SKY9x board yet but have noticed that the configuration for Eepskye is different to the Configuration for Eepe for the Mac. Eepskye assumes SAM-BA is the app for communication while Eepe assumes AVRDUDE is present. Here are the screenshots for both Config menus. There is no SAM-BA for the Mac.
Is there something I have missed? can I write in the path for AVRDUDE instead of SAM-BA to make it work?
Steve
Eepsky Configuration Screenshot.jpg
Eepe Configuration Screenshot.jpg

Re: Eepe on MAC

Posted: Mon Jan 13, 2014 12:44 pm
by MikeB
This is a build of the last committed revision, but looks like it works OK generally. Since then I have added the support for the bootloader, but I haven't committed the changes yet.
I'll try to get them committed today, then perhaps we could prevail upon TheObstacle for another build.

Mike.

Re: Eepe on MAC

Posted: Wed Jan 15, 2014 12:59 pm
by MikeB
I've just committed revision 392 of eepe and eepskye.

TheObstacle: I've included your patches, although there are many other changes. If you have time please could you try building eepskye for a MAC again (and perhaps eepe as well).

Mike.

Re: Eepe on MAC

Posted: Wed Feb 26, 2014 6:51 am
by flybabo
Since TheObstacle didn't answer the call :), I've built and tested an eepe-r393.dmg.

One problem of the eepe is its setup dialog is too tall and it doesn't fit to 11.6" MacBook Air screen which is 1366x768.
It would be nice if we split the setup dialog box into two pages/tabs.

I also tried eepskye but I couldn't build it.
I had to add 'QMAKE_CXXFLAGS += -DSKY' to eepskye.pro to build a correct version
but compilation failed with an invalid use of incomplete type error.
That suggests that there's a forward declaration problem.
I quickly glance through the code but I couldn't locate exact cause of the problem.
I encountered the same issue on Ubuntu build.

Re: Eepe on MAC

Posted: Thu Feb 27, 2014 9:11 am
by MikeB
I'll try to look at this today, can you detail the error?

Mike.

Re: Eepe on MAC

Posted: Thu Feb 27, 2014 11:25 pm
by flybabo
MikeB wrote:I'll try to look at this today, can you detail the error?

Mike.
PM sent to your gmail account.

Re: Eepe on MAC

Posted: Fri Feb 28, 2014 2:08 am
by marhar
Mike,

got QT Creator and downloaded eepe via:

svn checkout http://eepe.googlecode.com/svn/trunk/ eepe-read-only

Got this one error:

:-1: error: No rule to make target `../src/qextserialenumerator_osx.cpp', needed by `qextserialenumerator_osx.o'. Stop.


Two questions:

- any clue as to what to do about that
- is there someplace I should be getting the beta test code from?


I see this in the Makefile:


qextserialenumerator_osx.o: ../src/qextserialenumerator_osx.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o qextserialenumerator_osx.o ../src/qextserialenumerator_osx.cpp



and there are these files which are suspiciously close:

mh@violino ~/goo/eepe-read-only/build-eepe-Desktop_Qt_5_2_1_clang_64bit-Debug --> ls
Makefile moc_qextserialenumerator.cpp qextserialenumerator.o qextserialport_unix.o
eepe.app moc_qextserialport.cpp qextserialport.o

Re: Eepe on MAC

Posted: Fri Feb 28, 2014 5:29 am
by flybabo
You can download it from internet. Here's one I have.
By default, qmake creates a xcode project file and you need to build it from xcode ide.
If you want to build it by using make, do:
edit eepe.pro by adding CONFIG-=app_bundle at mac {} (line number 104)
qmake -spec macx-g++
make

Re: Eepe on MAC

Posted: Fri Feb 28, 2014 4:48 pm
by MikeB
I've just done a commit of the sources with some fixes. As I'm running two different versions of Qt, one on windows, the other on linux in a virtualbox, I've added different versions of the project file, so eepe has both eepe.pro and eepeLinux.pro and eepskye has both as well.
This may help with the compile.
Initially I did get the qextserial forward declaration problem in linux, but after sorting the .pro files and removing all moc_*.cpp files etc. the problem "just went away". I was compiling from within QtCreator, I'll try a command line build next.
I've added in qextserialenumerator_osx.cpp to the source files.
I've made the modeledit window shorter for eepskye, I'll have a go at the one on eepe soon.

I can see this could be a bit of a problem to get compiling properly everywhere.
If you could have another go at linux and/or MAC and see waht happens please.

Mike.

Re: Eepe on MAC

Posted: Sat Jul 05, 2014 9:59 am
by gastolectric
Hi guys, help I seem to be chasing my tail in circles...

I've used windows for the past few years to link to my Tx with eePe but in recent weeks have had to migrate to a macbook air (Mac is not my native tongue - so quite a learning curve)

I have downloaded eePe revision 402 and managed to get that running but it does not communicate with the Tx. The usb powers up the Tx but does not allow data transfer.

I am using a Protostack USBASP programmer.

I have downloaded AVRDUDE 5.11 and run the configure command which downloaded Terminal and Xcode but I really don't know what to do from here on..

Can anyone help please? Is there a step by step for 'dummies' posted anywhere?

I presume I'm looking for the ' Mac usb driver' for the Prostack so that eePe can communicate with it - I would far rather use eePe than AVRDUDE (too advanced for me)

Re: Eepe on MAC

Posted: Sat Jul 05, 2014 11:37 pm
by Mutchy
Essentially you just install AVRDUDE and Eepe. Then open Eepe. The path to AVRDUDE should appear in the configuration menu - the one with the gearwheel symbol - already. Then select usbasp from the options in the box next to 'programmer'. Then the next box 'mcu' depends on which processor you are trying to communicate with i.e. depending on the board you are using in the Tx. The next box - 'port' - needs to correspond with the port you are plugged into.

Here's a screenshot from my Eepe App.
Eepe Config Window.tiff
Check that your path to Avrdude is correct. Here is how to check it:
AvrDude path.tiff
Terminal is not used at all. Neither is a programmer device plugged into the usb port. Just a plain USB cable from your Tx to the USB port. Some usb cables are for charging only and do not have all the wires connected end to end.

Hope this helps.
Steve

Re: Eepe on MAC

Posted: Sun Jul 06, 2014 12:38 am
by gastolectric
Thanks Steve, I had a bloke familiar with Linux help me a bit at the field to install avrdude and we now have some activity but get an error that asks us to load libusb..

Any thoughts

Many thanks
Greg

Re: Eepe on MAC

Posted: Sun Jul 06, 2014 3:16 am
by Mutchy
Hi Greg.
It sounds like the list of usb drivers which appear in the second box (programmer) of the Eepe configuration window. It's a long list. One of these is usbap.

Google tells me:

"libusb is a C library that provides generic access to USB devices. It is intended to be used by developers to facilitate the production of applications that communicate with USB hardware.
It is portable: Using a single cross-platform API, it provides access to USB devices on Linux, OS X, Windows and OpenBSD.
It is user-mode: No special privilege or elevation is required for the application to communicate with a device.
It is version-agnostic: All versions of the USB protocol, from 1.0 to 3.0 (latest), are supported.
What platforms are currently supported?

Linux, OS X, Windows, Windows CE, Android, OpenBSD/NetBSD."

Here is the latest libusb folder:
libusb-1.0.19.zip
(499.29 KiB) Downloaded 390 times
I expect you will have to put it in the same directory as AVRDUDE. The ReadMe file may help.

Steve