- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 MarioLink Copied
- « Previous
-
- 1
- 2
- Next »
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hmmm, I'm not actually near a DSP Builder installation at the moment so I was guessing the path. Does the file actually exist on your system? (Beware the forum seems to insert spaces into file names - when I typed it there were no spaces between the quotes).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I got rid of the space after PortManager
Yes, the file PortManager.dll is in that directory. When I hit return, all that ocurs is a very slight delay, then a new prompt.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That is what I would expect - it means the DLL has loaded properly. The question is - what happens on a machine where DSP Builder is not working properly...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
And I'm your guy...
This is what I get: >> java.lang.System.load('c:\altera\7.2\quartus\dsp_builder\bin\PortManager.dll') ??? Java exception occurred: java.lang.UnsatisfiedLinkError: Can't load library: c:\altera\7.2\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) >> Same result as Avatar? And after installing Matlab R2006b and re-installing DSP Builder 7.2, I still have exactly the same problem with Signal Compiler. But are you saying that this is the expected repsonse to the load and indicates success?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh, OK, I just read Avatar's response more carefully. I was careful to remove spaces, so don't think that's my problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, please reset me.
I just noticed that my directory path is in fact c:\altera\72\quartus\dsp_builder\bin\PortManager.dll (i.e. not ...\7.2\...) After this correction I get: >> java.lang.System.load('c:\altera\72\quartus\dsp_builder\bin\PortManager.dll') ??? Java exception occurred: java.lang.UnsatisfiedLinkError: C:\altera\72\quartus\dsp_builder\bin\PortManager.dll: Invalid access to memory location at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(Unknown Source) at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.load0(Unknown Source) at java.lang.System.load(Unknown Source) >> This is clearly a different failure. What could it mean?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok this message is the key to the problem. When PortManager.dll is loaded, it or one of the libraries it links to is misusing memory on your machine.
I suspect a library somewhere on your computer is corrupt. If you have access to Visual C++ or some other debugger, you could attach to the MATLAB process and trap the access exception which would tell us where the error was happening... Other than that I can only suggest trying another machine.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had a similar problem involving PortManager.dll with DSP Builder 7.2 (no service packs) on a W2K machine.
When I tried compile in Signal Compiler I got: ============================= Pop-up window: MATLAB.exe - Entry Point Not Found The procedure entry point SymFromAddr could not be located in the dynamic link library dbghelp.dll ============================= signal compiler Messages: 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. ============================ Matlab commando window: C:\altera\72\quartus\dsp_builder\bin\PortManager.dll: The specified procedure could not be found ============================ So I googled on SymFromAddr and dbghelp.dll and found http://msdn2.microsoft.com/en-us/library/ms679294.aspx DbgHelp Versions Versions 4.0 and 5.1 The following functions were added to DbgHelp versions 4.0 and 5.1. SymFromAddr So I noticed I had a rather old dbghelp.dll: C:\WINNT\system32>dir dbgh* 2003-06-19 13:05 163 088 dbghelp.dll I don't know how to check the actual version number, but I guess it's older than 4.0/5.1 I found http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx downloaded and installed dbg_x86_6.5.3.8.exe and rebooted and then signal compiler worked :-)- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I have quite similar problems with DSP Builder...
I have Windows XP + Matlab R2007a installed + Quartus II 7.2sp2 Web Edition + DSP Builder 7.2. I've installed this dbg_x86_6.5.3.8.exe from http://www.microsoft.com/whdc/devtoo...nstallx86.mspx. Before this installation when I typed "java.lang.System.load('d:\quartus\quartus\dsp_builder\bin\PortManager.dll') " then I was getting the same error as Factsarescarce. After installation dbg_x86_6.5.3.8.exe when I type "java.lang.System.load('d:\quartus\quartus\dsp_builder\bin\PortManager.dll') " Matlab is freezed, status changes to Busy and there is no response from Matlab and i must shut it down from process manager. When I open an example project from DSP Builder directory (singen.mdl), click on Signal Complier and click Compile it runs but after a while it stops at this point... http://www3.speedyshare.com/data/295207951/9660288/20451456/signalcompiler.jpg and again I must shut Matlab down from process manager... When I run Dependency Walker the result was as in screen http://www3.speedyshare.com/data/247563530/9660326/56727428/dependency.jpg I don't know what is wrong...Matlab is installed without option "read-only", envirnoment variable QUARTUS_ROOT is set to d:\quartus\quartus (DSP Builder is installed in D:\quartus\quartus\dsp_builder). Maybe You have some suggestions? You think that it isn't a problem with DSP Builder but the problem is in my system? Thanks in advance.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, I've read carefully DSP Builder User Guide and found a source of a problem.
In Troubleshooting chapter I found the "DSP Builder StartUp Dependencies", checked all error possibilities and found this note: "4. When Cygwin is installed, make sure that it is listed after Quartus in the path. Correct environment settings in Cygwin do not guarantee that Signal Compiler will start properly, as DSP Builder relies on DOS settings rather than Cygwin. (When MATLAB is started from a Cygwin command prompt window, system env in the MATLAB command window only reflects the Cygwin settings.)" and.. "5. If there are any other operation systems, such as WinVar, installed on top of Windows, make sure that they are listed after Quartus in the PATH environment variable." I have Cygwin installed on my computer and when I done everything according to point 4, then DSP Builder started to work :) Cheers!- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- « Previous
-
- 1
- 2
- Next »