Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

11.0 installation on Linux problems

Basically, I wanted to setup Dspbuilder 11.0 and MATLAB 11a on linux64-bit(debian5), so that I can use both standard block set and advanced block set.

After installation, setting some environment variables and adding path/javapath in MATLAB, I could simulate demo models coming with standard block set and advanced block set.

However,

1. 1. when I tried to generate codes from the models from standard block set, I got an error. In the MATLAB command window, it says:

“/local/altera/11.0/quartus/dsp_builder/bin64/libPortManager.so: libdinkum_alt.so: wrong ELF class: ELFCLASS32”;

In the SignalCompiler block log box, it says:

Info: Generating HDL

Info: Analyzing Simulink model

Matlab Error

Java exception occurred:

java.lang.UnsatisfiedLinkError: com.altera.dspbuilder.portmanager.PortManager.checkOut()Z

at com.altera.dspbuilder.portmanager.PortManager.checkOut(Native Method)

at com.altera.dspbuilder.serialisation.ModelSerialiser.<init>(Unknown Source)

at com.altera.dspbuilder.serialisation.ModelSerialiser.<init>(Unknown Source)

at com.altera.dspbuilder.serialisation.ModelSerialiser.<init>(Unknown Source)

Error: Error during compilation: Error: Error analyzing model see log for details.

2.2. When I tried to simulate a demo model and generate code from advanced block set, it asked for a license file on MATLAB path, though I had set LM_LICENSE_FILE pointing to our license server.

Without the license file, it only simulated the model, but didn’t do code generation.

I need to solve both problems. Any solutions or suggestions are appreciated.