Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: iamnirbhay on May 03, 2018, 01:19:03 pm

Title: Error: Failed to load the wizard's script
Post by: iamnirbhay on May 03, 2018, 01:19:03 pm
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.
Title: Re: Error: Failed to load the wizard's script
Post by: oBFusCATed on May 03, 2018, 01:34:02 pm
What distro are you using? How have you installed codeblocks?
Title: Re: Error: Failed to load the wizard's script
Post by: iamnirbhay on May 03, 2018, 01:36:26 pm
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.
Title: Re: Error: Failed to load the wizard's script
Post by: iamnirbhay on May 03, 2018, 05:57:37 pm
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