Mercurial > hg > vamp-plugin-sdk
comparison host/simplehost.cpp @ 10:83d3eb580731
* Use a single Makefile
author | cannam |
---|---|
date | Thu, 06 Apr 2006 12:01:07 +0000 |
parents | 8f10d35a4090 |
children | 61887dda7fe0 |
comparison
equal
deleted
inserted
replaced
9:44113b1e296b | 10:83d3eb580731 |
---|---|
61 | 61 |
62 void *libraryHandle = DLOPEN(soname, RTLD_LAZY); | 62 void *libraryHandle = DLOPEN(soname, RTLD_LAZY); |
63 | 63 |
64 if (!libraryHandle) { | 64 if (!libraryHandle) { |
65 std::cerr << argv[0] << ": Failed to open plugin library " | 65 std::cerr << argv[0] << ": Failed to open plugin library " |
66 << soname << std::endl; | 66 << soname << ": " << DLERROR() << std::endl; |
67 return 1; | 67 return 1; |
68 } | 68 } |
69 | 69 |
70 std::cout << argv[0] << ": Opened plugin library " << soname << std::endl; | 70 std::cout << argv[0] << ": Opened plugin library " << soname << std::endl; |
71 | 71 |