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

Author Topic: JSFML - A Java binding for SFML  (Read 46817 times)

0 Members and 1 Guest are viewing this topic.

Masthiks

  • Newbie
  • *
  • Posts: 10
    • View Profile
JSFML - A Java binding for SFML
« Reply #75 on: January 22, 2012, 01:59:40 pm »
I use MinGW-get with the latest snapshot of SFML.

pdinklag

  • Sr. Member
  • ****
  • Posts: 330
  • JSFML Developer
    • View Profile
    • JSFML Website
JSFML - A Java binding for SFML
« Reply #76 on: January 23, 2012, 06:42:13 am »
Hm, but where did you get the 64-bit extlibs (freetype, OpenAL-soft, etc)? I can't build SFML in 64-bit because there are only 32-bit versions of those in the repository.
JSFML - The Java binding to SFML.

Masthiks

  • Newbie
  • *
  • Posts: 10
    • View Profile
JSFML - A Java binding for SFML
« Reply #77 on: January 24, 2012, 04:05:08 pm »
I get the files from the directory "extlib/bin/x64" of GIT repository, and it works fine with SFML2. I think. Maybe I should test tonight :?

pdinklag

  • Sr. Member
  • ****
  • Posts: 330
  • JSFML Developer
    • View Profile
    • JSFML Website
JSFML - A Java binding for SFML
« Reply #78 on: January 24, 2012, 09:36:59 pm »
So you build SFML using Microsoft Visual C++ and JSFML using MinGW? Mixing those is probably not a good idea at all.

Still, it should be compilable. I'll look into setting everything up for 64-bit building, but I won't be able to test it until somebody builds the SFML dependencies for MinGW as 64-bit.
JSFML - The Java binding to SFML.

Masthiks

  • Newbie
  • *
  • Posts: 10
    • View Profile
JSFML - A Java binding for SFML
« Reply #79 on: January 24, 2012, 09:56:15 pm »
No, I build SFML using MinGW, I don't use Visual C++.

The compilation works fine but I have an application error when I try to use the audio module :?

EDIT: Ah, it's ok with x86 binaries of libsndfile-1.dll and openal32.dll. I thought that MinGW was also a 64-bit compiler... I understand the problem now.

pdinklag

  • Sr. Member
  • ****
  • Posts: 330
  • JSFML Developer
    • View Profile
    • JSFML Website
JSFML - A Java binding for SFML
« Reply #80 on: January 28, 2012, 07:12:20 pm »
I will change the build process to use Microsoft's Visual C++ compiler for Windows again, because I can't figure out how to build the SFML dependencies using mingw-w64.

The Windows SDK with C++ compilers should suffice to build JSFML then, the Visual Studio should not be required. However, it will probably be required to build SFML itself... anyway, more details will follow.
JSFML - The Java binding to SFML.

pdinklag

  • Sr. Member
  • ****
  • Posts: 330
  • JSFML Developer
    • View Profile
    • JSFML Website
JSFML - A Java binding for SFML
« Reply #81 on: January 29, 2012, 09:02:53 am »
I changed the build system now to use MSVC++ on Windows, this way 64-bit is possible and works fine. :) I got rid of the cpptasks Ant plugin, it's just of no proper use if you want to compile with MSVC++.

More details: http://www.sfml-dev.org/forum/viewtopic.php?t=6906
Working on Linux right now.
JSFML - The Java binding to SFML.

 

anything