Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Linking with usb library
Re: Linking with usb library [message #10289 is a reply to message #10263] Sat, 30 June 2007 00:48 Go to previous messageGo to previous message
malaugh is currently offline  malaugh
Messages: 7
Registered: June 2007
Promising Member
Thanks for you help. Actually my problem was I did not know how to include the library.

I found that adding the lines

When Libraries
GCC usb
GCC stdc++

in the package organizer solved my problem. I have a new problem though. I am trying to make a combined windows/linux program using the libusb library. The problem is windows requires the libusb.lib library, and linux the usb lib. This means I need to have something like

When Libaries
Windows libusb.lib
linux usb

The problem is both I use the GCC compiler on both linux and windows machines. Is there a way to use the "when" in this configuration?

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: shared libraries for debug, static for release ?
Next Topic: How to predefine compiler wide macro from IDE?
Goto Forum:
  


Current Time: Fri Jul 18 16:16:41 CEST 2025

Total time taken to generate the page: 0.03382 seconds