HalfHour / libnxt

Automatically exported from code.google.com/p/libnxt
GNU General Public License v2.0
0 stars 0 forks source link

libnxt fails to build on Ubuntu 12.04 #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Unpack the libnxt-0.3 distribution 
2. Verifying the prerequisites are installed.
3. Running scons from inside the distraction directory.

What is the expected output? What do you see instead?
scons: done building targets.

What version of the product are you using? On what operating system?
libnxt-0.3 on Ubuntu 12.04

Please provide any additional information below.
Changing the following lines in SConstruct so that the usb
library comes after the nxt library fixed it for me.

Default(BuildEnv.Program('fwflash', 'main_fwflash.c',
                         LIBS=['nxt', 'usb'], LIBPATH='.'))

Default(BuildEnv.Program('fwexec', 'main_fwexec.c',
                         LIBS=['nxt', 'usb'], LIBPATH='.'))

Original issue reported on code.google.com by clark.ra...@gmail.com on 23 Jun 2012 at 8:47

GoogleCodeExporter commented 8 years ago
Same problem on same OS: Kubuntu 12.10.  I even tried "export 
LIBPATH=/lib/x86_64-linux-gnu" since this is where libnxt libraries seem to 
live.

Original comment by rost0...@gmail.com on 12 Dec 2012 at 7:20

GoogleCodeExporter commented 8 years ago
Also  found that this fixed the issue on Ubuntu 12.04.

Original comment by PeterNSt...@gmail.com on 2 Mar 2013 at 10:08