User forums > Using Code::Blocks

Error: Failed to load the wizard's script

(1/1)

iamnirbhay:
Hello!

I am using Code::Blocks 17.12 and I want to run an OpenCV code in it.

When I try to create a new Project - Console - OpenCV , it says 'Failed to load the Wizard's script' with a notification window in the right hand side corner of the screen.

When I try to edit the OpenCV script by right clicking on the OpenCV oprtion, it says 'Couldn't open script:
/usr/share/codeblocks/templates/wizard/opencv/wizard.script'

Now, I checked that in the above address, the opencv folder is missing.

Help me with this please.

Thanks.

oBFusCATed:
What distro are you using? How have you installed codeblocks?

iamnirbhay:
Thanks for the answer. I installed it using the official website.

codeblocks_17.12-1_amd64_stable.tar.xz - This is the file I downloaded.

http://www.codeblocks.org/downloads/26 - Link to the file.

I tried everything but I don't understand how to solve this.

Just for the info I downloaded OpenCV 3.4.1 version using the terminal in Ubuntu 16.04 LTS (Virtual Box).

When I try to create the new project, I can't even see the symbol of OpenCV Project below the name, this means the whole wizard file is missing.

iamnirbhay:
This Person just became Demi-God for me ..

Link to the solution- https://forum.openframeworks.cc/t/code-blocks-cannot-find-resources/20091

Solution

sudo apt-get autoremove codeblocks
sudo apt-get purge codeblocks

Navigation

[0] Message Index

Go to full version