Library loaded but unsatisfies

Hi All,
I have the following problem: with the following signature generated by
javah -jni -d media/huffyuv media.huffyuv.HuffYUVEncoder
/* signature taken from generated .h file
JNIEXPORT jint JNICALL Java_media_huffyuv_HuffYUVEncoder_openEnc
  (JNIEnv *, jobject, jint, jint, jint, jint, jint, jint, jint);
C++ function:  */
JNIEXPORT jint JNICALL Java_media_huffyuv_HuffYUVEncoder_openEnc(JNIEnv *env, jobject o,
     jint handle,jint inform,jint width,jint height,jint content,jint method,jint bitcount) {
     Encoder* enc=new Encoder(handle,inform,width,height,
          content,method,bitcount);
     return (jint)enc;
}media.huffyuv.HuffYUVEncoder.openEnc declared as
protected native int openEnc(int handle,int inform,int width,int height,int content,int method,int bitcount);causes
java.lang.UnsatisfiedLinkError: openEnc
        at media.huffyuv.HuffYUVEncoder.openEnc(Native Method)
        at media.huffyuv.HuffYUVEncoder.open(HuffYUVEncoder.java:193)
...when I want to call it. Loading library as
static {
     if(!loaded) {
          loaded=true;
          try {
               System.loadLibrary("huffyuv");
          }catch(Throwable t) {
               System.out.print("Unable to load huffyuv!\n");
               loaded=false;
          if(loaded)
               System.out.print("huffyuv loaded.\n");
}is successful (I see 'huffyuv loaded.').
What can be the problem? Thank you in advance.
ps: I use Visual C++ 6.0 and Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode) under Win2k

Hi there,
I checked, extern "C" was there. Nevertheless, I translated the C++ stuff into C (and checked #ifdef __cplusplus was not true) to avoid it, but nothing changed. My compiler is what comes with MS Visual C++ 6.0:
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.Its settings are (I tried to get rid of every fancy and non-standard):
/nologo /MTd /Za /W3 /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "HUFFYUV_EXPORTS" /Fo"Debug/" /Fd"Debug/" /FD /GZ /c for linking:
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /pdb:none /map:"Debug/huffyuv.map" /debug /machine:I386 /out:"Debug/huffyuv.dll" /implib:"Debug/huffyuv.lib" what can be the problem?
thanx in advance: kolaloka

Similar Messages

  • TS2972 My computer crashed and the hard drive is no longer.  I have purchased a new laptop but now have no access to my old itunes library.  My laptop has created a new itunes account with NOTHING in it?? My Itouch has everything loaded but it wont sync

    My computer crashed and the hard drive is no longer.  I have purchased a new laptop but now have no access to my old itunes library.  My laptop has created a new itunes account with NOTHING in it?? My Itouch has everything loaded but it wont sync with this itunes account....HELP

    - Transfer iTunes purchases:
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    - Transfer other music by using a third-party program like one of those discussed here:
    newer copy
    - Connect the iPod to the computer and make a backup by right clicking on the iPod under Devices in iTunes and select Back Up
    - Restore the iPod from that backup
    Note that the iPod backup that iTunes makes does not included synced media like apps and music.

  • I have just added sound fonts in my library bank, but everytime i try to load a sound tru DLS my logic crashes... Plz help.

    I have just added sound fonts in my library bank, but everytime i try to load a sound tru DLS my logic crashes... Plz help.
    cassykeys

    Have you tried importing them into the EXS 24 ? Assuming the process is the same if you're on Logic X, its just a matter of putting the soundfont files into the ~/Library/Application Support/Logic/Sampler Instruments folder and the EXS converts them when you try to load them - its explained properly in the Software Instruments manual (EXS24 section), but its very quick and  easy. It might provide a decent alternative.

  • I have an "Untitled" test service that no longer exists in Library/Services/ but still loads in the context menu and finder services menu.  How do I get rid of it?

    I created an "Untitled" test service, then deleted it.  It no longer exists in Library/Services/ but still loads in the context menu and finder services menu.  Reboots do not change the behavior.  How do I get rid of it?

    ... and mysteriously, it's gone again.  Multiple reboots across the day between then and now, plus a few hibernations as I moved about.  It's as if Finder cached the [deleted!] workflow file and continued to operate off of the cache for an indeterminate time....

  • I activated iTunes Match and ever since have been unable to load itunes. When I choose to open the app, a message "library loading" appears but nothing happens.. could anyone help me?

    I activated iTunes Match and ever since have been unable to load itunes. When I choose to open the app, a message "library loading" appears but nothing happens.. could anyone help me?

    I'm the same! iTunes just keeps crashing!!! I'm still waiting on a response to this...

  • PDFMaker loads but won't work in Word 2013 - Acrobat XI and DC - Win 8.1 Pro

    OK, I opened a question that never got answered and it never was resolved...
    Just updated to Acrobat DC - same problem exists...
    I'm running Windows 8.1 Pro fully up to date..
    I've uninstalled and reinstalled Office 2013 Pro (I have an Office 365 subscription so it's the click-to-run install).
    I've uninstalled and reinstalled Acrobat Pro DC.
    I've rebooted (a full restart, not Win 8's fast boot restart) between each installation.
    I've tried this in multiple Office applications, none of them work EXCEPT for Outlook.
    For the following I will use Word as my examples...
    I've uninstalled all plug-ins and still it won't work.
    I've tried running Word as Administrator.... still won't work.
    OK... so this is what it looks like... as you can see the toolbar loads, but no icons...
    https://www.dropbox.com/s/wsbs4kon3z4e965/Word%20Acrobat%20Screenshot.jpg?dl=0
    When you click on those buttons... it goes through the motions as if it were creating the PDF... but no file is ever created...
    If I right-click on a Word document and select Convert to PDF - it goes through the motions of creating the PDF, asks me where to save... and then a dialog box named "Acrobat PDFMaker" comes up saying " {Exclamation Point Yellow Triangle Icon} An unexpected error occurred. PDFMaker was unable to produce the Adobe PDF."
    If I right-click on a text file... and select Covert to PDF,  it immediately pops open a PDF of the text file.  Same with any image file.
    This was all working perfectly up until out of nowhere it stopped working on January 26, 2015.  See my original posting here: Acrobat XI Pro Word 2013 add-in stopped working
    I can Print to PDF using the PDF Printer without any problems.
    Creating a PDF in Outlook, no problems...
    I'm hoping somebody can figure this one out... I'm completely stumped.... and I'm usually very good at troubleshooting stuff.

    Click to Run according to Microsoft: 
    https://technet.microsoft.com/en-us/library/jj219427.aspx
    "Click-to-Run is a Microsoft streaming and virtualization technology that reduces the time that is required to install Office and helps you run multiple versions of Office on the same computer. The streaming technology enables you to download and begin to use an Office product before the whole product is installed on your computer. The virtualization technology provides an isolated environment for Office to run on your computer. This isolated environment allows you to run the latest version of Office side-by-side with an earlier version of Office that is already installed on your computer."

  • I'm using iphoto9.1.3 but now it doesn't seem to work, whenever I try to open it, it just shows loading, but never loads. Can anybody help me with this ?

    I'm using iphoto9.1.3 but now it doesn't seem to work, whenever I try to open it, it just shows loading, but never loads. Can anybody help me with this ?    

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • IPhoto quits unexpectedly before loading, but works fine for other user

    iPhoto won't load, it bounces on the dock, the menus load across the top, and then the message "the application iPhoto has unexpectedly quit..." comes up.
    When iPhoto is started by another user, it loads well, although there are no photos in that one.
    I tried removing all photos from mine and that didn't do anything, it still failed to load.
    I also trashed the com.apple.iphoto.plist file, and that did nothing.
    This is a new mac, and the last thing I did when iPhoto worked was import a whole bunch of photos from an external hard=drive (which had come from iPhoto on my old emac). I watched while it imported, and it seemed ok.
    Then I changed the desktop picture to a photo out of that library. Just to see whether that had anything to do with it, I removed that picture from the desktop, but that didn't stop iPhoto quitting again.
    I also tried holding down option while opening iPhoto to manually choose the library. Funnily enough, the iPhoto library file in my Pictures folder wasn't available - I could see it, but it was grayed out and couldn't be selected. Then I tried creating a new one - iPhoto Library 2, but that didn't stop the program from quitting either.
    There is 3.38 GB of photos in the original photo folder.
    Is there anything else I can do? I can see that all the files are there when I open the originals folder, I just can't get iPhoto to work.
    thanks in advance!
    Lachlan

    Welcome to the Apple Discussions. Since it works OK in the other account there may be a preference file other than iPhoto's that's interfering with iPhoto. Here's how to determine if that's the case:
    Trouble Shooting Preferences in Leopard
    1 - Create a folder titled "Preferences A" on the Desktop.
    2 - Open the working Preferences folder, HD/Users/your_name/Library/Preferences, and move the contents to the Preferences A folder on the Desktop.
    3 - Make a duplicate copy of the Preferences A folder on the Desktop as a precautionary backup.
    4 - With the working Preferences folder empty run the application again and determine if the problems is fixed.
    NOTE: you may have to drag the contents of the working folder to the trash and empty if moving the contents to the A folder only copies them instead of moving.
    5 - If the problem is fixed:
    A - open the working Preferences folder (HD/Users/your_name/Library/Preferences).
    B - Open the Preferences A folder on the Desktop, select all of the contents and drag them into the working Preferences folder.
    C - When the Copy window pops up check the "Apply to All" check box and then click on the Don't Replace button as seen here.
    6 - If the problem is NOT fixed, empty the working Preferencess folder and move the contents of the Preferences folder on the desktop back into it.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.≤br>
    Note: There now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

  • Whenever I try to upload photos into iPhoto, they load but when importing it just stops a picyure or two into it and then just sits there. I can't stop the import so I have to shut off my camera when it is importing and start again. Help?

    Whenever I try to upload photos into iPhoto, they load but when importing it just stops a picture or two into it and then just sits there. I can't stop the import so I have to shut off my camera when it is importing and start again. Does anyone know how to fix this?

    As a test  launch iPhoto with the Option key held down and create a new, test library.  Tru importing from your camera to it and to see if the same problem persists. Does it?
    OT

  • Why wont my itunes open it acts like its loading but then it just never comes up

    itunes acts like its loading but never comes up and rarely when it does come up it freezes.

    Hello, jessykins25.
    Thank you for the question.  This sounds like you will need to rebuild your iTunes library file.  Below, I have included the article that walks you through this process.  Start with the section labeled Re-creating the iTunes Library file.
    iTunes: How to re-create your iTunes library and playlists
    http://support.apple.com/kb/ht1451
    Cheers,
    Jason H.

  • Safari loads but no window displayed,

    Safari seems to load but no window displayed. New Window doesn't help. Loading from Application folder, no difference. Yesterday I loaded an application DataGuardian, thought that might be confilicting so I removed it, no difference. Have rebooted several times. Looked for changes to system by date, no clue. Need a solution that doesn't require a web browser. I'm sending this from a different machine. THanks.

    Welcome to Apple Discussions
    You may have a corrupted preference file. Move to your Desktop from your User Library/Preferences folder .com.apple.safari.plist and restart Safari. Any change? If you now get a browser window, then reset the Preferences to your custom settings. If not, move the above file back to its original location replacing the newly created file.
    If no change, does the same problem occur if you open Safari from another User Account (create one if necessary in System Preferences>Accounts).
    Post back with results.

  • I bought Photoshop elements 12 the organizer loads but the editor just churns

    I bought Photoshop Elements 12 at Costco, the organizer loads but when I click to edit a photo the app says it needs to load the editor, gets my ID and password, and then just churns and churns for over an hour (and I've tried this multiple times).  It only stops when I use task manager to stop it.  I cannot edit my photos and am getting ready to take this back.  Elements 7 worked just fine.

    Hi,
    Could you please try the following solutions and see if any of these work:
    1. Navigate to 'PhotoshopElementsEditor.exe' located inside:
    Win x64: C:\Program Files (x86)\Adobe\Photoshop Elements 13
    Win x32: C:\Program Files\Adobe\Photoshop Elements 13
         Right click on 'PhotoshopElementsEditor.exe' and select 'Run as Admin'
    2.  Just after this keep on pressing 'Ctrl+Alt+Shift' on Windows (or Command+Option+Shift on Mac). You will get a popup asking to delete Elements settings file.  Click Yes.
         If the above does not work, please try the following:
    3. Please rename SLCache folder present at location "<root drive:>\Program Files (x86)\Common Files\Adobe\SLCache"
         Win: Also please rename opm.db on your machine to resolve this issue @  <root drive>\Users\<user name>\AppData\Local\Adobe\OOBE
          Mac : Users Library/Application Support/Adobe/OOBE
         Now re-launch the application.
    4.  In case any network printer is attached try to launch without network or printer uninstall or make different printer as default.
    5.  Try launching with anti-virus off or removing PSE from conflicting list.
    If none of these work, please let me know.
    Regards,
    vaishali

  • Type Library Registered - but error still present.

    I am trying to automate this equipment = "Goniomertic
    Radiometer LD8900R".
    The installer included a LabVIEW library that references a new Type Library.
    So, I manually registered my type library (Gonio32.tlb).  It was successful.
    However, I am still having the same error "Error -2147221164 occurred at Class not registered ..."
    What am I missing?
    Ref:
    How Do I Manually Register Type Libraries, ActiveX Controls, and ActiveX Servers?

    ----------Attempt #1 -------------------------------------------------------------------------------------------------------
    Command String Entered:     "C:\I386\regsvr32.exe"  "C:\Program Files\Photon\GonioR\Gio32.dll"
    ERROR MESSAGE:
    ....\Gio32.dll was loaded, but the DllRegisterServer entry point was not Found.
    THis file cannot be registered.cannot be registered
    ----------Attempt #2 -----------------------------------------------------------------------------------------------------
    Command String Entered:    "C:\I386\regsvr32.exe" /i /n "C:\Program Files\Photon\GonioR\Gio32.dll"
    ERROR MESSAGE:
    ....\Gio32.dll was loaded, but the DllInstall entry point was not Found.
    THis file cannot be registered.cannot be registered.
    Attachments:
    GONIO_Install.jpg ‏64 KB
    Gonio.zip ‏119 KB

  • Itunes songs won't populate in the audio browser for slideshow. Says that they are loading, but after 2 hours gave up. How do I fix this challenge?

    itunes songs won't populate in the audio browser for slideshow. Says that they are loading but after 2 hours I gave up. How do I fix this challenge?

    Can you access the iTunes Library in other app? IPhoto? IMovie? If not, then I'd bring that to the iTunes forum

  • Sharing: Playlists/Library Visible, but won't Play

    I am running iTunes 6.0.1.3 on 1 PC and two PC laptops. There is also a Roku m500 on the network. All three PCs have iTunes sharing enabled. All are running XP or XP Pro. None have firewalls turned on.
    All three can see each other within iTunes just fine, including opening playlists, library, etc. The Desktop however will not allow anything to PLAY. Either notebook can see what is in the library, but double clicking results in the song loading, but never playing...just sits on 0:00. Same thing with the Roku, which can play off the notebooks fine.
    Not a wired/wireless problem...I have reinstalled iTunes.
    Strange...Help?
    Thanks,
    Ryan

    I'm having the same problem. I have a laptop and a desktop on a home network. the desktop can play shared files from the laptop, however when I try to play shared files on the laptop from the desktop, it hangs at "0:00" and never plays. Same answer for purchased and ripped music. I have no router service blocking in place, and disables all firewalls and anti-virus/anti-worm software. I've also reinstalled iTunes on both machines, and rebuilt the library on both.
    Hoping someone has figured out why this is happening?!?
    Thanks!

Maybe you are looking for