Author Topic: Error while setup Codeblocks-Python  (Read 500 times)

Offline Chaniat

  • Single posting newcomer
  • *
  • Posts: 2
Error while setup Codeblocks-Python
« 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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6671
    • My Best Post
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6671
    • My Best Post
Re: Error while setup Codeblocks-Python
« Reply #2 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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org