For anyone else suffering with this, I fixed this:
Needed to use -R flags as well as -L..
Everything builds now, but the block doesn't seem to do anything. The problem is that I don't even get an error message. So I have no idea where to start debugging..
From: ogless@hotmail.com
To: discuss-gnuradio@gnu.org
Subject: Creating a new GNU Block
Date: Mon, 8 Aug 2011 21:01:13 +0100
Needed to use -R flags as well as -L..
Everything builds now, but the block doesn't seem to do anything. The problem is that I don't even get an error message. So I have no idea where to start debugging..
From: ogless@hotmail.com
To: discuss-gnuradio@gnu.org
Subject: Creating a new GNU Block
Date: Mon, 8 Aug 2011 21:01:13 +0100
Hello All,
I am trying to make a new block for GNU Radio, which uses MATLAB (MCR).
When I get to the 'sudo make check' stage, it gives me the following error:
"libmwmclmcr.so" is located in "/usr/local/matlab/r2010b/bin/glnxa64", and I _have_ included this in the Makefile.am as follows:
It is also in my ~/.bashrc file.
I can get past this error by copying the libmwmclmcr.so to the folder /usr/lib64/, and then I can get through the entire 'boostrap/configure/make/install' procedure successfully without any errors, but then the actual block does nothing!
Could anyone help me out with this please? I have tried everything I could possibly think of..
Thanks,
OGLES
I am trying to make a new block for GNU Radio, which uses MATLAB (MCR).
When I get to the 'sudo make check' stage, it gives me the following error:
"/usr/bin/isn/lib/.libs/lt-test_all: error while loading shared libraries: libmwmclmcr.so: cannot open shared object file: No such file or directory"
"libmwmclmcr.so" is located in "/usr/local/matlab/r2010b/bin/glnxa64", and I _have_ included this in the Makefile.am as follows:
MATLAB_ROOT = /usr/local/matlab/r2010b
MY_LIB_ROOT=$(HOME)/homedir/gnuradio/Blocks/MI
LD_LIBRARY_PATH=$(MATLAB_ROOT)/bin/glnxa64:/usr/lib64:$(MATLAB_ROOT)/runtime/glnxa64:$(MATLAB_ROOT)/bin/glnxa64:$(MATLAB_ROOT)/sys/os/glnxa64:$(MATLAB_ROOT)/sys/java/jre/glnxa64/jre/libamd64/native_threads:$(MATLAB_ROOT)/sys/java/jre/glnxa64/jre/lib/amd64/server:$(MATLAB_ROOT)/sys/java/jre/glnxa64/jre/lib/amd64:$(MY_LIB_ROOT)
It is also in my ~/.bashrc file.
I can get past this error by copying the libmwmclmcr.so to the folder /usr/lib64/, and then I can get through the entire 'boostrap/configure/make/install' procedure successfully without any errors, but then the actual block does nothing!
Could anyone help me out with this please? I have tried everything I could possibly think of..
Thanks,
OGLES
No comments:
Post a Comment