Author
Topic: codeblocks wxwidget script error (Read 1295 times)

I am working on building wxwidget project on codeblocks. I am using wxWidget 2.8.12, Codeblocks 16.01.I build wxwidget libraries in the configuration SHARED=1, MONOLITHIC=1, UNICODE=1. Also using the same wxwidget, I build the codeblocks sdk code also successfully. So I am sure that wxwidget buildup is fine.

Now, when I try to create a wxwidget project in codeblocks, It gave me error that script error has occurred.Can anyone help? I need to learn wxwidget project building so as to use it in creating plugin

Note: while creating wxwidget project I checked wxwidgetDLL, unicode and monolithic options in the options given by wxwizard in codeblocks

Edited info below this line to help answer the above questions.NOTE: For the above compiler names I would like the logical CB compiler titles/names like these below:"GNU GCC Compiler""Microsoft Visual C++ 2010""Borland C++ Compiler (5.5, 5.82)""OpenWatcom (W32) Compiler"

I have first downloaded codeblocks sdk code from svn repo at codeblocks.org/sources, I downloaded wxwidget2.8.12 build it in Dynamic library, monolithic and unicode configuration. Then I tried to build this codeblocks svn code [ Note: I build only codeblocks.cbp but not codeblocks.workspace] based on this wxwidget. I ran update.bat file. Then I open the generated codeblock.exe and I tried to create plugin and install the plugin.. it works fine. Then I tried to create wxsmith panel for that plugin it works fine. Problem occurs only when I tried to build wxwidget project on this codeblocks.I hope building only codeblocks.cbp but not codebloblocks.workspace won't be a problem?

I tried to create the wxwidget project from binary downloaded from here "http://www.codeblocks.org/downloads/26"and wxwidget project gets created successfully. I tried to build and run, that also works fine.

I then open my svn codeblocks->codeblocks.exe and try to create a wxwidget project again..Voila it build up fine without any script error, that I mentioned, May be restarting codeblocks solve the purpose.

Anyways, if you are building codeblocks from its sdk, it will be really helpful Thanks

I was able to confirm if you choose a compiler that is NOT one of the four types of Compilers supported by the wxWidgets wizard you get that script error. I would also guess it might happen if the Compiler has NOT been saved which happens on CB close.