Thursday, December 15, 2011
Sunday, December 4, 2011
Setting up a project using Libcoap in Eclipse CDT
For those new to Eclipse CDT (as I am), a couple of things may be very helpful.
Look at Eclipse C/C++ and Linux Libraries for a quick tutorial on configuring Eclipse CDT.
Then look at the thread Linker cannot find lib file for how to point the linker to the appropriate library file.
This is likely all pretty obvious to an experienced C programmer, but to a newbie it may be frustrating.
So in my case, under GCC C Compiler/Includes it was necessary to define the include path to where libcoap was installed (the File Browser helps here).
Then you have to go to the GCC C Linker/Libraries dialog and declare "Libraries (-l)" with "coap" and "Library search path (-L)" again to where libcoap was installed.
Refer above:
If your library is called "libmysqlclient.a" you specify -lmysqlclient
to the linker (it automatically adds "lib" prefix and ".a" (or ".so")
suffix.
Look at Eclipse C/C++ and Linux Libraries for a quick tutorial on configuring Eclipse CDT.
Then look at the thread Linker cannot find lib file for how to point the linker to the appropriate library file.
This is likely all pretty obvious to an experienced C programmer, but to a newbie it may be frustrating.
So in my case, under GCC C Compiler/Includes it was necessary to define the include path to where libcoap was installed (the File Browser helps here).
Then you have to go to the GCC C Linker/Libraries dialog and declare "Libraries (-l)" with "coap" and "Library search path (-L)" again to where libcoap was installed.
Refer above:
If your library is called "libmysqlclient.a" you specify -lmysqlclient
to the linker (it automatically adds "lib" prefix and ".a" (or ".so")
suffix.
Wednesday, November 30, 2011
7.77 trillion ?
Bloomberg reported yesterday that
"The Fed didn’t tell anyone which banks were in trouble so deep they required a combined $1.2 trillion on Dec. 5, 2008, their single neediest day."
and
"Add up guarantees and lending limits, and the Fed had committed $7.77 trillion as of March 2009 to rescuing the financial system, more than half the value of everything produced in the U.S. that year."
Where is "Glass-Steagall" when you need it ... oh, that's right, we're smarter now.
"The Fed didn’t tell anyone which banks were in trouble so deep they required a combined $1.2 trillion on Dec. 5, 2008, their single neediest day."
and
"Add up guarantees and lending limits, and the Fed had committed $7.77 trillion as of March 2009 to rescuing the financial system, more than half the value of everything produced in the U.S. that year."
Where is "Glass-Steagall" when you need it ... oh, that's right, we're smarter now.
Wednesday, November 16, 2011
Sunday, November 13, 2011
A Walk on the Dart Side: A Quick Tour of Dart
A talk given by Gilad Bracha on Dart. Gives some of the constraints and thoughts behind the design of the language. Worth watching if interested in Dart.
Monday, October 10, 2011
Dart
Today Google introduced Dart at the Goto; conference. The tooling is primitive as might be expected, but under Linux runs. There are some path errors in the example source, it looks like the directory structure was setup for client & server runtimes, but only the client code was released. The language itself looks very promising as might be expected from Gilad Bracha. It looks very pragmatic, evolutionary rather than revolutionary. Reading posts on the Newspeak language forums, I expect someday to see a Newspeak to Dart compiler, as previously a Newspeak to Javascript compiler was proposed. Newspeak was likely too revolutionary for Google and an unnecessary gamble, given the option to cross-compile later.
Sunday, October 9, 2011
Subscribe to:
Posts (Atom)