Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: PySFML and komodo?  (Read 5458 times)

0 Members and 1 Guest are viewing this topic.

m0nkeysensei

  • Newbie
  • *
  • Posts: 1
    • View Profile
PySFML and komodo?
« on: February 23, 2011, 03:34:54 am »
Is PySFML a visual studio only thing, or is it possible for me to use komodo? I prefer komodo's UI. :(
Every time I try and install to python I get a 'cannot find vcvarsall.bat' error.

bastien

  • Full Member
  • ***
  • Posts: 231
    • View Profile
    • http://bastien-leonard.alwaysdata.net
PySFML and komodo?
« Reply #1 on: February 23, 2011, 08:05:57 pm »
I don't understand what your goal is.

Visual Studio would only be useful for compiling PySFML, and the current release doesn't need to be compiled, you can download it directly. (However, it's quite outdated and has some bugs, so maybe that's why you're compiling the latest source?)
The error message you got means that Python couldn't find your Visual Studio installation, which would mean that you're indeed trying to compile PySFML.
Personally I would recommend using Visual C++ 2008+ Express for this purpose. It should be doable with MinGW, but I got a lot of errors when I tried using it for my own binding.

I've never used Komodo, but it seems to be an IDE for dynamic languages like Python, not C++. You can probably use Komodo with PySFML, like any other module.
Check out pysfml-cython, an up to date Python 2/3 binding for SFML 2: https://github.com/bastienleonard/pysfml-cython