Forum Discussion
Quartus 7.1 Sp1 and DSPBuilder 7.1Sp1
Hallo everyone,
I have a problem with my Installation. I have installed Quartus 7.1 Sp1 and DSPBuilder 7.1Sp1. If I want compile any Example Model like "singen" an error occured. The SignalCompiler shows the following message: Created Quartus II Project C:\altera\71\quartus\dsp_builder\DesignExamples\Tutorials\GettingStartedSinMdl\singen_dspbuilder\singen.qpf Generating HDL Analyzing model... Matlab Error Java exception occurred: java.lang.UnsatisfiedLinkError: checkOut at com.altera.dspbuilder.portmanager.PortManager.checkOut(Native Method) at com.altera.dspbuilder.serialisation.ModelSerialiser.<init>(ModelSerialiser.java:88) Error during generation: Analyzing Error: See log for details. Has anyone an idea who is the problem? or where I can found the log file? So long Mario31 Replies
- Altera_Forum
Honored Contributor
I am installed on XP with R2007a and when I type this in this is what I get.
I am running just fine by the way. I have added this to help with the debug effort you are going through. >> java.lang.System.load('c:\altera\72\quartus\dsp_builder\bin\PortManager .dll') ??? Java exception occurred: java.lang.UnsatisfiedLinkError: Can't load library: c:\altera\72\quartus\dsp_builder\bin\PortManager .dll at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.load0(Unknown Source) at java.lang.System.load(Unknown Source) - Altera_Forum
Honored Contributor
Sorry, I can't do this since I'm in the middle of upgrading to Matlab R2006b. Will post again with the result, good or bad.
- Altera_Forum
Honored Contributor
Can you tell me what happens when you type this command in the MATLAB console:
java.lang.System.load( 'c:\altera\7.2\quartus\dsp_builder\bin\PortManager.dll' ) where c:\altera\7.2\quartus should be replaced with the path to your quartus installation. - Altera_Forum
Honored Contributor
This is everything I see in the Signal Compiler message window:
Info: Generating HDL Info: Analyzing Simulink model Matlab Error Java exception occurred: java.lang.UnsatisfiedLinkError: checkOut 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. There are no messages from Matlab. - Altera_Forum
Honored Contributor
Java is provided along with MATLAB, so it doesn't matter whether you have it installed separately on your system. If the problem was that Java wasn't there, the Signal Compiler window would not appear. You're definitely getting the following error? :
Java exception occurred: java.lang.UnsatisfiedLinkError: checkOut at com.altera.dspbuilder.portmanager.PortManager.checkOut(Native Method) at com.altera.dspbuilder.serialisation.ModelSerialiser.<init>(ModelSerialiser.java:88) I also think the mpr.dll problem is a red herring since without it, I think your computer would have other problems - it seems to be quite important to Windows. Only other thing I can suggest is to check your MATLAB console window to see if there are any earlier error messages. - Altera_Forum
Honored Contributor
Firstly, I do have Apphelp.dll available in C:\WINDOWS\system32. When I ran DependencyWalker on PortManager.dll, this produced a single message: "Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module." Evidently, this results from 'mpr.dll', which is buried 7 levels down in the call hierarchy. My problem, under WinXP, seems more basic. Yesterday I discovered that if I uninstall the Java runtime environment, Signal Compiler gives me exactly the same messages. It's as though the tool thinks that the JRE is missing altogether.
- Altera_Forum
Honored Contributor
Can you confirm that you've used DependencyWalker and apphelp.dll is not available?
- Altera_Forum
Honored Contributor
I am having what seems to be exactly the same problem using Quartus II V7.2/DSP Builder V7.2 running under Windows XP Pro SP2. Matlab/Simulink is R2006A. I have checked off most of the suggestions in this thread.
- Altera_Forum
Honored Contributor
Subsequent attempts with FILEMON shows Matlab finding quartus_sh.exe in the proper directory. Once the PortManager.dll is loaded things go south. The install DVD for version 7.1 seems to imply that the software is compatible with Window 2K.
- Altera_Forum
Honored Contributor
Is quartus_sh on your path? Try starting a cmd window and just running the command.
If not, does it work if you add %QUARTUS_ROOTDIR%/bin to your path?