electronstudio / raylib-python-cffi

Python CFFI bindings for Raylib
http://electronstudio.github.io/raylib-python-cffi
Eclipse Public License 2.0
142 stars 29 forks source link

not in bindings.md in raylib #15

Closed chriscamacho closed 3 years ago

chriscamacho commented 3 years ago

do send Ray a PR with this project will you for their BINDINGS.md the only python module in there is for raylb 2.0 !

electronstudio commented 3 years ago

Yeah I meant to but I was going to do a new release first... which I haven't had time to do!

chriscamacho commented 3 years ago

more into the C side of things, but if theres anyway I can help?

electronstudio commented 3 years ago

Currently Linux and Mac have been updated to 3.0 but I don't have Windows VM setup to do a windows build. (And it's a pain even when you do.)

chriscamacho commented 3 years ago

just a thought have you tried windows subsystem for linux, much less painful build environment basically you use the mingw-cross packages, which you can actually do from Linux too, allround easier way to make a windows exe... (building libs should be as painless)

On Sat, 19 Sep 2020 at 09:13, Richard Smith notifications@github.com wrote:

Currently Linux and Mac have been updated to 3.0 but I don't have Windows VM setup to do a windows build. (And it's a pain even when you do.)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/electronstudio/raylib-python-cffi/issues/15#issuecomment-695182193, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFO4SI2DTGLV2OPTWGIUVLSGRR27ANCNFSM4RLWY7FA .

--

blog bedroomcoders.co.uk http://bedroomcoders.co.uk

Disclaimer: By sending an email to ANY of my addresses you are agreeing that:

  1. I am by definition, "the intended recipient"

  2. All information in the email is mine to do with as I see fit and make such financial profit, political mileage, or good joke as it lends itself to. In particular, I may quote it where I please.

  3. I may take the contents as representing the views of your company.

  4. This overrides any disclaimer or statement of confidentiality that may be included on your message.

electronstudio commented 3 years ago

I do usually cross-compile windows libs but for some reason for Raylib I'm not doing that. I suspect I tried and it wouldn't work with mingw and so was forced to use visual studio build tools.

electronstudio commented 3 years ago

I think the issue might be that python is compiled with VS so extensions for python must also be compiled with VS.

chriscamacho commented 3 years ago

one of many ways to do it... http://bedroomcoders.co.uk/looking-again-at-compiling-a-windows-raylib-app/

On Sat, 19 Sep 2020 at 13:49, Richard Smith notifications@github.com wrote:

I do usually cross-compile windows libs but for some reason for Raylib I'm not doing that. I suspect I tried and it wouldn't work with mingw and so was forced to use visual studio build tools.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/electronstudio/raylib-python-cffi/issues/15#issuecomment-695209186, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFO4SNQERHRI65NU3WZCUDSGSSD5ANCNFSM4RLWY7FA .

--

blog bedroomcoders.co.uk http://bedroomcoders.co.uk

Disclaimer: By sending an email to ANY of my addresses you are agreeing that:

  1. I am by definition, "the intended recipient"

  2. All information in the email is mine to do with as I see fit and make such financial profit, political mileage, or good joke as it lends itself to. In particular, I may quote it where I please.

  3. I may take the contents as representing the views of your company.

  4. This overrides any disclaimer or statement of confidentiality that may be included on your message.

chriscamacho commented 3 years ago

urgh shudder I hate stuff like this!

On Sat, 19 Sep 2020 at 13:59, Richard Smith notifications@github.com wrote:

I think the issue might be that python is compiled with VS so extensions for python must also be compiled with VS.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/electronstudio/raylib-python-cffi/issues/15#issuecomment-695210304, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFO4SJNGMVQECKNF5NLXRDSGSTM3ANCNFSM4RLWY7FA .

--

blog bedroomcoders.co.uk http://bedroomcoders.co.uk

Disclaimer: By sending an email to ANY of my addresses you are agreeing that:

  1. I am by definition, "the intended recipient"

  2. All information in the email is mine to do with as I see fit and make such financial profit, political mileage, or good joke as it lends itself to. In particular, I may quote it where I please.

  3. I may take the contents as representing the views of your company.

  4. This overrides any disclaimer or statement of confidentiality that may be included on your message.