- Posts: 402
Bulding fltk in debian squeeze
- blackmoon
- Topic Author
- Offline
Less
More
23 Nov 2012 22:55 #3109
by blackmoon
Bulding fltk in debian squeeze was created by blackmoon
Hi,
(I think this is the right place for this, deleted it from Feedback & Questions, doesn't belong there)
I followed the instructions on bitbucket for setting a build environment.
summon-arm-toolchain went surprisingly well (but quite long ), and installed the build environment.
Then I tried to compile fltk.
It fails with the following error and halted:
=== making test ===
Compiling unittests.cxx...
Linking unittests.exe...
Compiling adjuster.cxx...
Linking adjuster.exe...
Compiling arc.cxx...
Linking arc.exe...
Compiling ask.cxx...
Linking ask.exe...
Compiling bitmap.cxx...
Linking bitmap.exe...
Compiling blocks.cxx...
Linking blocks.exe...
Compiling boxtype.cxx...
Linking boxtype.exe...
Compiling browser.cxx...
Linking browser.exe...
Compiling button.cxx...
Linking button.exe...
Compiling buttons.cxx...
Linking buttons.exe...
Compiling cairo_test.cxx...
Linking cairo_test.exe...
Compiling checkers.cxx...
Linking checkers.exe...
Compiling clock.cxx...
Linking clock.exe...
Compiling colbrowser.cxx...
Linking colbrowser.exe...
Compiling color_chooser.cxx...
Linking color_chooser.exe...
Compiling cursor.cxx...
Linking cursor.exe...
Compiling curve.cxx...
Linking curve.exe...
Compiling demo.cxx...
Linking demo.exe...
Compiling device.cxx...
Linking device.exe...
Compiling doublebuffer.cxx...
Linking doublebuffer.exe...
Compiling editor.cxx...
Linking editor.exe...
Generating fast_slow.cxx and header from fast_slow.fl...
run-detectors: unable to find an interpreter for ../fluid/fluid.exe
make[1]: *** [fast_slow.cxx] Error 2
make: *** [all] Error 1
I downloaded fltk (1.3.1) from this link : www.fltk.org/software.php?VERSION=1.3.1&...-1.3.1-source.tar.gz
Any ideas ?
Thank you.
Paulo.
PS. just saw I didn't edited the summon script to include these two steps :
LIBOPENCM3=libopencm3
LIBOPENCM3_GIT=83d62e9bfc79e03737c2f1977004bef6e6e20562
But this should only concern the toolchain for building the firmware, I think.
How do I clean the build so I can include these two lines in the script.
I don't see a clean/uninstall (as in make clean) parameter ?
Thank you again.
(I think this is the right place for this, deleted it from Feedback & Questions, doesn't belong there)
I followed the instructions on bitbucket for setting a build environment.
summon-arm-toolchain went surprisingly well (but quite long ), and installed the build environment.
Then I tried to compile fltk.
It fails with the following error and halted:
=== making test ===
Compiling unittests.cxx...
Linking unittests.exe...
Compiling adjuster.cxx...
Linking adjuster.exe...
Compiling arc.cxx...
Linking arc.exe...
Compiling ask.cxx...
Linking ask.exe...
Compiling bitmap.cxx...
Linking bitmap.exe...
Compiling blocks.cxx...
Linking blocks.exe...
Compiling boxtype.cxx...
Linking boxtype.exe...
Compiling browser.cxx...
Linking browser.exe...
Compiling button.cxx...
Linking button.exe...
Compiling buttons.cxx...
Linking buttons.exe...
Compiling cairo_test.cxx...
Linking cairo_test.exe...
Compiling checkers.cxx...
Linking checkers.exe...
Compiling clock.cxx...
Linking clock.exe...
Compiling colbrowser.cxx...
Linking colbrowser.exe...
Compiling color_chooser.cxx...
Linking color_chooser.exe...
Compiling cursor.cxx...
Linking cursor.exe...
Compiling curve.cxx...
Linking curve.exe...
Compiling demo.cxx...
Linking demo.exe...
Compiling device.cxx...
Linking device.exe...
Compiling doublebuffer.cxx...
Linking doublebuffer.exe...
Compiling editor.cxx...
Linking editor.exe...
Generating fast_slow.cxx and header from fast_slow.fl...
run-detectors: unable to find an interpreter for ../fluid/fluid.exe
make[1]: *** [fast_slow.cxx] Error 2
make: *** [all] Error 1
I downloaded fltk (1.3.1) from this link : www.fltk.org/software.php?VERSION=1.3.1&...-1.3.1-source.tar.gz
Any ideas ?
Thank you.
Paulo.
PS. just saw I didn't edited the summon script to include these two steps :
LIBOPENCM3=libopencm3
LIBOPENCM3_GIT=83d62e9bfc79e03737c2f1977004bef6e6e20562
But this should only concern the toolchain for building the firmware, I think.
How do I clean the build so I can include these two lines in the script.
I don't see a clean/uninstall (as in make clean) parameter ?
Thank you again.
Please Log in or Create an account to join the conversation.
- blackmoon
- Topic Author
- Offline
Less
More
- Posts: 402
23 Nov 2012 23:32 - 23 Nov 2012 23:51 #3111
by blackmoon
Replied by blackmoon on topic Bulding fltk in debian squeeze
Ok, after doing my homework... I needed to install wine.
Is it mandatory for deviation 10 to build with :
LIBOPENCM3=libopencm3
LIBOPENCM3_GIT=83d62e9bfc79e03737c2f1977004bef6e6e20562
Because this is only in the readme for deviation 8, the readme for 10 doesn't have it.
Now to re-size my VM disk, it seems 4Gb for the / partitions isn't enough
Is it mandatory for deviation 10 to build with :
LIBOPENCM3=libopencm3
LIBOPENCM3_GIT=83d62e9bfc79e03737c2f1977004bef6e6e20562
Because this is only in the readme for deviation 8, the readme for 10 doesn't have it.
Now to re-size my VM disk, it seems 4Gb for the / partitions isn't enough
Last edit: 23 Nov 2012 23:51 by blackmoon.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
Less
More
- Posts: 4402
24 Nov 2012 20:06 #3127
by PhracturedBlue
Replied by PhracturedBlue on topic Bulding fltk in debian squeeze
Why not juts build for linux?
I use native fltk from Ubuntu, but i assume debian's will work as well. You don't need Wine. I do all of my development in a pure-linux env.
I use native fltk from Ubuntu, but i assume debian's will work as well. You don't need Wine. I do all of my development in a pure-linux env.
Please Log in or Create an account to join the conversation.
- blackmoon
- Topic Author
- Offline
Less
More
- Posts: 402
25 Nov 2012 21:22 - 25 Nov 2012 21:28 #3179
by blackmoon
Replied by blackmoon on topic Bulding fltk in debian squeeze
I'm trying to do this on a linux VM since don't want to mess with MingW.
Because I want to test the devo 10 emulator (just to know if I buy a devo10 next month or wait for you to have those nice 2.4" board you grabbed on eBay and recycle some of my old Wk transmitters).
Builing the Windows binary on Linux
Install fltk:
apt-get install mingw32 mingw32-binutils mingw32-runtime
<Download and unpack fltk source code>
./configure --disable-largefile --enable-localjpeg \
--enable-localzlib --enable-localpng \
--disable-gl --host=i586-mingw32msvc \
--prefix=/opt/fltk-w32
make
sudo make install
Install portaudio:
<Download and unpack portaudio source code>
./configure --prefix=/opt/portaudio-w32
make
sudo make install
Are you saying I don't need to build FLTK and just grab the deb package instead ?
The same for portaudio ?
I know if I have to build the FW, I'll do it in pure linux environment.
I just compiled fltk because the readme says so, but if I can do it with a simple apt-get fltk, then by all means...
Paulo.
PS. After reading again, I think I understand.
Build the emu in linux and try it in linux ?
Because I want to test the devo 10 emulator (just to know if I buy a devo10 next month or wait for you to have those nice 2.4" board you grabbed on eBay and recycle some of my old Wk transmitters).
Builing the Windows binary on Linux
Install fltk:
apt-get install mingw32 mingw32-binutils mingw32-runtime
<Download and unpack fltk source code>
./configure --disable-largefile --enable-localjpeg \
--enable-localzlib --enable-localpng \
--disable-gl --host=i586-mingw32msvc \
--prefix=/opt/fltk-w32
make
sudo make install
Install portaudio:
<Download and unpack portaudio source code>
./configure --prefix=/opt/portaudio-w32
make
sudo make install
Are you saying I don't need to build FLTK and just grab the deb package instead ?
The same for portaudio ?
I know if I have to build the FW, I'll do it in pure linux environment.
I just compiled fltk because the readme says so, but if I can do it with a simple apt-get fltk, then by all means...
Paulo.
PS. After reading again, I think I understand.
Build the emu in linux and try it in linux ?
Last edit: 25 Nov 2012 21:28 by blackmoon.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
Less
More
- Posts: 4402
25 Nov 2012 21:47 #3183
by PhracturedBlue
Ubuntu Lucid in a LinuxVM on my windows7 laptop. This is my primary development platform. I test the emu inside the VM.
I also have a mingw env that I build with on the same laptop to ensure there are no compatibility issues.
And then I have a full Linux machine (running Precise) that also builds ok (both cross-compiling to Windows and as native Linux)
So it should work pretty well in just about all combinations.
Or wait a day or two. I'll be doing an official Deviation release very soon, and will include emulator builds (for windows) with the release.
I recommend trying both the Devo8 and Devo10 emulators. If the conversion goes well, I'll likely be using the Devo8 code as the basis. Of course that won't give you a feel for the real Tx, but the Devo10 should feel a lot like a Devo7 (or older WK series) except for the interface.
Replied by PhracturedBlue on topic Bulding fltk in debian squeeze
Right. I actually do what you are saying:blackmoon wrote:
PS. After reading again, I think I understand.
Build the emu in linux and try it in linux ?
Ubuntu Lucid in a LinuxVM on my windows7 laptop. This is my primary development platform. I test the emu inside the VM.
I also have a mingw env that I build with on the same laptop to ensure there are no compatibility issues.
And then I have a full Linux machine (running Precise) that also builds ok (both cross-compiling to Windows and as native Linux)
So it should work pretty well in just about all combinations.
Or wait a day or two. I'll be doing an official Deviation release very soon, and will include emulator builds (for windows) with the release.
I recommend trying both the Devo8 and Devo10 emulators. If the conversion goes well, I'll likely be using the Devo8 code as the basis. Of course that won't give you a feel for the real Tx, but the Devo10 should feel a lot like a Devo7 (or older WK series) except for the interface.
Please Log in or Create an account to join the conversation.
- blackmoon
- Topic Author
- Offline
Less
More
- Posts: 402
25 Nov 2012 21:49 #3184
by blackmoon
Replied by blackmoon on topic Bulding fltk in debian squeeze
Thank you for the explanation.
I'll wait for your release and on the mean time will try to build in the VM.
It's always fun to discover new things.
I'll wait for your release and on the mean time will try to build in the VM.
It's always fun to discover new things.
Please Log in or Create an account to join the conversation.
Time to create page: 0.042 seconds
- Home
- Forum
- General
- General Discussions
- Bulding fltk in debian squeeze