Homepage Forums How-to and troubleshooting "Error while creating UI…"

Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #6396
    JustTheApeJustTheApe
    Participant

    Get an error “Error while creating UI…” (see attachments).
    Free version.

    Attachments:
    You must be logged in to view attached files.
    #6410
    Bla BlablaGreg Driver
    Keymaster

    can you please manually install visual studio redistributables 2015 (x86) and tell me if there is any error?
    it is important must be x86 version.
    https://www.microsoft.com/en-us/download/details.aspx?id=48145

    #6627
    JustTheApeJustTheApe
    Participant

    There’s no errors.

    Attachments:
    You must be logged in to view attached files.
    #10809
    JustTheApeJustTheApe
    Participant

    So what?

    #10824
    Lee AngusLee Angus
    Participant

    I have exactly the same problem. Did you get a solution to this? I already have visual studio redistributables 2015 (x86) and I still get the same error message.

    #10825
    JustTheApeJustTheApe
    Participant

    No, I haven’t.
    Author ignores me.

    #10826
    Bla BlablaGreg Driver
    Keymaster

    i tried different environments and could not reproduce error.
    pre-requisities seems to be fine so I guess one option that I avoid giving is to reinstall windows…

    do you mind doing a steps as described here?

    1. Download x86 version of DependencyWalker.
    2. Open it and drop cvextern.dll file from C:\Program Files (x86)\Driver4VR\x86
    3. Some errors will pop up. Close them all and minimize and show me a window as below.

    opencv dependencies

    thank you.

    #10839
    Lee AngusLee Angus
    Participant

    Here is the output from my computer.

    Attachments:
    You must be logged in to view attached files.
    #10855
    Bla BlablaGreg Driver
    Keymaster

    i found some tip regarding this issue. can u try ?

    Please start the command prompt (cmd.exe) with admin rights and run sfc:
    sfc.exe /scannow

    and what version of Windows u are using ?

    #10881
    Lee AngusLee Angus
    Participant

    I ran sfc.exe /scannow and it came back scan complete found nothing.
    I am running windows 7 professional 64bit.

    #10927
    Lee AngusLee Angus
    Participant

    No response or fix, so basically the only option to get it to work is reinstall windows and try it again? Sorry but that would be a major pain, to install all my games and applications again. I guess I will just give it a miss. Thankfully, you are allowed to try it before you buy it.

    • This reply was modified 5 years, 5 months ago by Lee AngusLee Angus.
    #11414
    Bla BlablaGreg Driver
    Keymaster

    i can understand that. but it is problem with your pc not driver4vr.
    i had this problem when helping set up Oculus Setup to my friend.
    tried all tricks and still could not get it done until windows was reinstalled.

    https://forums.oculusvr.com/community/discussion/60902/when-trying-to-install-oculus-setup-i-get-a-microsoft-visual-c-2015-x64-error

    #11613
    Antony DavisonAntony Davison
    Participant

    i am getting this error on win7x64 too — my build is too mature to start again (
    maybe there some clues here

    https://www.codeproject.com/Articles/257502/Creating-Your-First-EMGU-Image-
    Processing-Project

    x64 Architecture and the EMGU.CV.Invoke Exception

    If you are running an x64 system or designing for them you will have to download separate DLL’s. The steps on forming a project are identical however you will need to change an additional build parameter. Right click on your project file in the solution explorer and select “Properties” at the bottom. Select the “Build” tab from the ribbon bar on the right of this window. There will be an option for Platform Target: with a drop down menu change this from x86 to x64.

    Hint: If you are using the express version of visual studio you may not see the x64 option in such a case go to menu option Tools > Options. In this window using the arrows to the left hand side to expand and collapse options. Select “Projects and Solutions” and select the Show advanced build configurations check box.

    This will now allow the compilation to run if this is not done correctly. As soon as you access any EMGU code an exception will be thrown ‘EMGU.CV.Invoke’ through an exception with the ‘InnerException’ “An attempt was made to load a program with an incorrect format….”.

    =====
    Emgu CV #5: The type initializer for ‘Emgu.CV.CvInvoke’ threw an exception

    Remove Emgu CV Invoke Error in 64 bit windows!

    http://fewtutorials.bravesites.com/entries/announcements/-level-0-emgucv-installation-guide-for-64-bit-windows-users

    http://fewtutorials.bravesites.com/entries/emgu-cv-c/level-0-begining-with-emgucv

    Attachments:
    You must be logged in to view attached files.
    #11616
    Antony DavisonAntony Davison
    Participant

    The type initializer for ‘EmguCVCvInvoke’ threw an exception’ issue.how to solve,tutorial

    #11624
    Bla BlablaGreg Driver
    Keymaster

    but driver4vr client is 32bit app.
    those videos are rather about invalid project setup which is not case here.
    in most cases it related to problem with installing visual studio redistributable. and it does not do it properly. like I said before I had such problem with installing Oculus Setup. I tried uninstalling redistributable from 2017 to 2015 then installing 2015. but it still failed.

    #11643
    Antony DavisonAntony Davison
    Participant

    applied the following updates to my old, never updated win7x64.sp1 os ==

    step1 == Windows6.1-KB3020369-x64.msu
    step2 == windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu

    wait half and hour and go through a few reboots

    prior to the 2 windows update i already had vc2015-2107-2019 x32 & x64 installed, and i did not remove them

    step 3 == install Driver4VR

    error goes away, UI is opened, program useable

    #11644
    Antony DavisonAntony Davison
    Participant
    #11672
    Bla BlablaGreg Driver
    Keymaster

    did update helped you ?
    it says for windows 7.

    #11686
    Antony DavisonAntony Davison
    Participant

    yes, update overcame that w7x64 error )

Viewing 19 posts - 1 through 19 (of 19 total)
  • You must be logged in to reply to this topic.