# Code::Blocks on Windows: "export" button disabled

**URL:** <https://forum.juce.com/t/code-blocks-on-windows-export-button-disabled/30239>\
**Category:** The Projucer\
**Created:** [November 8, 2018, 1:30pm UTC](https://forum.juce.com/t/code-blocks-on-windows-export-button-disabled/30239 "2018-11-08T13:30:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![CrushedPixel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/crushedpixel/32/8654_2.png) [@CrushedPixel](https://forum.juce.com/u/CrushedPixel)\
**Post date:** [November 8, 2018, 1:30pm UTC](https://forum.juce.com/t/code-blocks-on-windows-export-button-disabled/30239/1 "2018-11-08T13:30:27Z")

</div>

Since I can’t get Visual Studio and MSVC to compile my project on Windows (it builds just fine with Apple LLVM), I decided to look for an alternative toolchain.  
I’ve read that Code::Blocks and MinGW seem to work pretty well for many users, so I installed Code::Blocks and MinGW and added a “Code::Blocks (Windows)” exporter in the Projucer.

However, when selecting this exporter, the “export” button with the Code::Blocks logo stays disabled. What am I missing?

I’m on the latest Projucer (v5.4.0).

---

<div class="post-metadata">

**Author:** ![xenakios](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/xenakios/32/4047_2.png) [@xenakios](https://forum.juce.com/u/xenakios)\
**Post date:** [November 8, 2018, 1:41pm UTC](https://forum.juce.com/t/code-blocks-on-windows-export-button-disabled/30239/2 "2018-11-08T13:41:57Z")

</div>

What are the problems you are getting with MSVC? What version are you on?

---

<div class="post-metadata">

**Author:** ![CrushedPixel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/crushedpixel/32/8654_2.png) [@CrushedPixel](https://forum.juce.com/u/CrushedPixel)\
**Post date:** [November 8, 2018, 1:51pm UTC](https://forum.juce.com/t/code-blocks-on-windows-export-button-disabled/30239/3 "2018-11-08T13:51:13Z")

</div>

It fails to compile some more complex template classes I’ve created:

```auto
 error C3668: 'SkewedIncrementPropertyAction<float,Vibrato::FrequencyProperty,Vibrato::FrequencyProperty *extractFrequency<extractVibrato>(const std::shared_ptr<GraphObject> &)>::hasChanges': method with override specifier 'override' did not override any base class methods (compiling source file ..\..\JuceLibraryCode\include_crispy_tuner_lib.cpp)

```

The overrides are definitely correct, as I said, it compiles with `clang` on macOS.

The value of the solution’s “Platform Toolset” setting is _Visual Studio 2017 (v141)_.

---

<div class="post-metadata">

**Author:** ![CrushedPixel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/crushedpixel/32/8654_2.png) [@CrushedPixel](https://forum.juce.com/u/CrushedPixel)\
**Post date:** [November 8, 2018, 2:06pm UTC](https://forum.juce.com/t/code-blocks-on-windows-export-button-disabled/30239/4 "2018-11-08T14:06:59Z")

</div>

Whatever the reason for switching to Code::Blocks is, I still need help getting the Code::Blocks exporter to work. Can someone assist me there?

---

<div class="post-metadata">

**Author:** ![ed95](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ed95/32/7635_2.png) [@ed95](https://forum.juce.com/u/ed95)\
**Post date:** [November 8, 2018, 2:10pm UTC](https://forum.juce.com/t/code-blocks-on-windows-export-button-disabled/30239/5 "2018-11-08T14:10:36Z")

</div>

You can’t launch a Code::Blocks project from the Projucer directly, instead save the project with `cmd/ctrl + P` and then open the `.cbp` project from the builds folder.

A quick forum search returns a few topics with the same answer:  
[https://forum.juce.com/search?q=code%3A%3Ablocks%20launch](https://forum.juce.com/search?q=code%3A%3Ablocks%20launch)

---

<div class="post-metadata">

**Author:** ![CrushedPixel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/crushedpixel/32/8654_2.png) [@CrushedPixel](https://forum.juce.com/u/CrushedPixel)\
**Post date:** [November 8, 2018, 2:12pm UTC](https://forum.juce.com/t/code-blocks-on-windows-export-button-disabled/30239/6 "2018-11-08T14:12:29Z")

</div>

Thank you very much. I did search for Code::Blocks related forum topics, but apparently I entered the wrong keywords 🙂  
A tooltip in the Projucer when hovering over the icon would be most helpful!
