Eepe on MAC

How to use eePe
DonBarker
Posts: 5
Joined: Sun Oct 07, 2012 6:02 pm
Country: -

Re: Eepe on MAC

Post 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

User avatar
Crucial
Posts: 581
Joined: Tue Dec 27, 2011 6:56 pm
Country: -
Location: SE WI, USA

Re: Eepe on MAC

Post 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.
User avatar
kaos
Posts: 3247
Joined: Wed Dec 28, 2011 1:15 am
Country: United States

Re: Eepe on MAC

Post by kaos »

Crucial: thx for the post to clarify that. I was a bit confused too with the mac version. ;)
User avatar
IceWind
Posts: 35
Joined: Sun Sep 02, 2012 1:45 am
Country: -

Re: Eepe on MAC

Post 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:
(...)
---
User avatar
IceWind
Posts: 35
Joined: Sun Sep 02, 2012 1:45 am
Country: -

Re: Eepe on MAC

Post 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?
Last edited by IceWind on Fri Nov 09, 2012 8:20 am, edited 1 time in total.

User avatar
Kilrah
Posts: 11108
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: Eepe on MAC

Post 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.
User avatar
IceWind
Posts: 35
Joined: Sun Sep 02, 2012 1:45 am
Country: -

Re: Eepe on MAC

Post by IceWind »

I'm running the latest version > Xcode 4.5.2.
User avatar
Kilrah
Posts: 11108
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: Eepe on MAC

Post by Kilrah »

Interesting...

EDIT: Ah dang, eepe. I misread and thought you were talking of companion9x.
User avatar
IceWind
Posts: 35
Joined: Sun Sep 02, 2012 1:45 am
Country: -

Re: Eepe on MAC

Post 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.
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Eepe on MAC

Post 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.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
Kilrah
Posts: 11108
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: Eepe on MAC

Post 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
Attachments
eepe_mac_366.zip
(1.22 MiB) Downloaded 606 times
davodavo
Posts: 2
Joined: Fri Feb 10, 2012 1:43 am
Country: -

Re: Eepe on MAC

Post 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.
User avatar
TheObstacle
Posts: 20
Joined: Tue Jan 29, 2013 5:47 am
Country: United States
Location: Portland, Oregon

eepe revision 391 Mac build

Post 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
Attachments
eepe.dmg.zip
Mac build of eepe from svn revision 391
(9.03 MiB) Downloaded 481 times
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Eepe on MAC

Post by jhsa »

You need to be a rocket scientist to build eepe :mrgreen:

Sent from my GT-I9195 using Tapatalk
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
User avatar
TheObstacle
Posts: 20
Joined: Tue Jan 29, 2013 5:47 am
Country: United States
Location: Portland, Oregon

Re: Eepe on MAC

Post 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. ;)
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Eepe on MAC

Post 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.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
TheObstacle
Posts: 20
Joined: Tue Jan 29, 2013 5:47 am
Country: United States
Location: Portland, Oregon

Re: Eepe on MAC

Post 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.
Attachments
eepskye-mac-build.patch
(1.5 KiB) Downloaded 398 times
eepskye.dmg.zip
(8.96 MiB) Downloaded 383 times
User avatar
Mutchy
Posts: 475
Joined: Wed Dec 28, 2011 3:26 am
Country: -
Location: Wollongong, Australia

Re: Eepe on MAC

Post 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
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Eepe on MAC

Post 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.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Eepe on MAC

Post 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.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
flybabo
Posts: 143
Joined: Wed May 16, 2012 11:41 pm
Country: United States
Location: SF Bay Area, CA

Re: Eepe on MAC

Post 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.
Attachments
eepe-r393.dmg.zip
(9.4 MiB) Downloaded 424 times
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Eepe on MAC

Post by MikeB »

I'll try to look at this today, can you detail the error?

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
flybabo
Posts: 143
Joined: Wed May 16, 2012 11:41 pm
Country: United States
Location: SF Bay Area, CA

Re: Eepe on MAC

Post by flybabo »

MikeB wrote:I'll try to look at this today, can you detail the error?

Mike.
PM sent to your gmail account.
marhar
Posts: 37
Joined: Mon Mar 12, 2012 6:13 am
Country: -
Location: Piedmont, CA
Contact:

Re: Eepe on MAC

Post 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
flybabo
Posts: 143
Joined: Wed May 16, 2012 11:41 pm
Country: United States
Location: SF Bay Area, CA

Re: Eepe on MAC

Post 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
Attachments
qextserialenumerator_osx.cpp
(12.67 KiB) Downloaded 390 times
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Eepe on MAC

Post 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.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
gastolectric
Posts: 46
Joined: Wed Jan 09, 2013 7:59 pm
Country: Australia

Re: Eepe on MAC

Post 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)
User avatar
Mutchy
Posts: 475
Joined: Wed Dec 28, 2011 3:26 am
Country: -
Location: Wollongong, Australia

Re: Eepe on MAC

Post 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
User avatar
gastolectric
Posts: 46
Joined: Wed Jan 09, 2013 7:59 pm
Country: Australia

Re: Eepe on MAC

Post 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
User avatar
Mutchy
Posts: 475
Joined: Wed Dec 28, 2011 3:26 am
Country: -
Location: Wollongong, Australia

Re: Eepe on MAC

Post 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

Post Reply

Return to “eePe”