MegaPirateNG / FlashTool

Firmware flashing tool
GNU General Public License v2.0
15 stars 14 forks source link

Cannot compile latest FlashTool #13

Closed SirAlex closed 10 years ago

SirAlex commented 10 years ago

I'm can't it compile.

  1. Under Ubuntu: Compilation finished with error: error: Unknown module(s) in QT: serialport

Looks like compiler cannot find this module in QT install path (module actually exist in src dir)

  1. Under windows, it cannot find zlib, so maybe add it as third part library?
smurfy commented 10 years ago

Do you use Qt 5.1.x ?

Compile works great on Windows, i will check MacOsx shortly.

SirAlex commented 10 years ago

Hmm. Yes, now it compile fine under windows. (Before I'm tried previous version (where zlib introduced))

But under ubuntu it won't compile... trying to reinstall QT...

smurfy commented 10 years ago

I can check ubuntu tonight, MacOSX works fine.

SirAlex commented 10 years ago

Ok. Reinstalling Qt help me. Now it compiles fine. Thanks.

smurfy commented 10 years ago

Ok cool, happy to hear. zlib is a bit problematic in old versions of qt on windows. and serialport is qt 5.1.

I changed the code to use the native serialport instead of the external extserialport lib because of the avrdude replacement (separate branch, needs testing) and the guys of apm_planner suggested it.