Hi,
> I could really do with help getting my environment into a place where I can
> build your distributions - I just don't seem to be able to get bbfreeze or
> any of that stuff in a good working order.
> Can you recommend any forum post? or drop me some hints?
Hmm yeah, that's a bit though. And something I should document, if only
for myself :)
Linux is the simplest:
1) Install the protobuf-compiler, python and scons.
2) Install bbfreeze using "easy_install bbfreeze"
3) Go to top nanopb directory and run:
tools/make_linux_package.sh
Windows differs only in installation of tools:
1) I have installed protoc from the binary packages distributed by
Google.
2) Python from
python.org, I think scons and bbfreeze were installed
with easy_install.
3) Git bash or MSYS bash is required to run the script:
tools/make_windows_package.sh
4) The windows packaging script hardcodes some dll paths, this may or
may not cause trouble..
Mac OS X was a bit more problematic for me, though I cannot remember
details:
1) Protobuf-compiler etc. from homebrew. Installing homebrew required
digging up some Xcode command line tools which somehow didn't work
on first install for me. Well, google gave some hints and eventually
it worked.
2) Pyinstaller from somewhere, probably installed from source.
3) Script should run fine under Mac's bash:
tools/make_mac_package.sh
These were from memory, so probably a lot missing. Please report back if
you try it out, I'll probably remember the solutions once you remind me
of the problems :)
If it helps, you can see the working version console outputs here:
http://lakka.kapsi.fi:50140/job/nanopb-binary-windows/102/console
http://lakka.kapsi.fi:50140/job/nanopb-binary-linux/98/console
--
Petteri