Code::Blocks Forums

User forums => Embedded development => Topic started by: Chaniat on September 10, 2019, 11:11:02 am

Title: Error while setup Codeblocks-Python
Post by: Chaniat on September 10, 2019, 11:11:02 am
I am using Codeblocks 17.12 under Windows 10 64 bits

When I try to setup Codeblocks-Python, I have the followed error
error "This file should only be included when using Microsoft Visual C++"inside the file setup.h (line 11-12)
#ifndef _MSC_VER
    #error "This file should only be included when using Microsoft Visual C++"
#endif

Please could you help me

Thank in advance
Title: Re: Error while setup Codeblocks-Python
Post by: stahta01 on September 10, 2019, 01:46:16 pm
Build log and compiler information?
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F)

Tim S.
Title: Re: Error while setup Codeblocks-Python
Post by: stahta01 on September 10, 2019, 02:36:36 pm
Did you self build Code::Blocks, already?

Edit: What build command did you use to build wxWidgets?
Edit2: You need to either self-build wxWidgets and Code::Blocks or
  You need to use the same compiler as used by the CB Team to build C::B and wxWidgets;
  with the source download of wxMSW-2.8.12.7z from the C::B sourceforge website.

Tim S.