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

Author Topic: 64 bit linux binary  (Read 5313 times)

0 Members and 2 Guests are viewing this topic.

krav

  • Newbie
  • *
  • Posts: 3
    • View Profile
64 bit linux binary
« on: September 12, 2008, 03:07:10 pm »
Hi!

First of all, why isnt there a 64 bit linux binary download?


I have downloaded the source and tried to compile it, but i get an error:

Code: [Select]
Drawable.cpp: In member function ‘void sf::Drawable::Draw(const sf::RenderWindow&) const’:
Drawable.cpp:340: error: ‘None’ is not a member of ‘sf::Blend’
make[2]: *** [Drawable.o] Error 1
make[2]: Leaving directory `/home/krav/SFML-1.3/src/SFML/Graphics'
make[1]: *** [sfml-graphics] Error 2
make[1]: Leaving directory `/home/krav/SFML-1.3/src/SFML'
make: *** [sfml] Error 2



Any help would be appreciated.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
64 bit linux binary
« Reply #1 on: September 12, 2008, 03:09:18 pm »
Quote
First of all, why isnt there a 64 bit linux binary download?

Because I have no 64 bits system to build it myself.

Quote
I have downloaded the source and tried to compile it, but i get an error

"None" is a member of sf::Blend, so you might have a bad versions of the SFML headers somewhere.
Laurent Gomila - SFML developer

krav

  • Newbie
  • *
  • Posts: 3
    • View Profile
64 bit linux binary
« Reply #2 on: September 12, 2008, 04:04:29 pm »
Quote from: "Laurent"
Quote
First of all, why isnt there a 64 bit linux binary download?

Because I have no 64 bits system to build it myself.


Ok, than if i send you a compiled version of libs for 64, you will put it on the download page? Cause, really, thats the way it should be :)

Quote

Quote
I have downloaded the source and tried to compile it, but i get an error

"None" is a member of sf::Blend, so you might have a bad versions of the SFML headers somewhere.



Ahh, yes..... i have dl-ed the lib again, and now i was able to compile it without any problems. And i remembered why it couldnt compile before. In WindowStyle.hpp, i commented the None from the enum. So yes, im pretty forgetful :)

The problem with the "None" is that i cant compile the project, because i get an error saying:

Code: [Select]
../SFML-1.3/include/SFML/Window/WindowStyle.hpp|39|error: expected identifier before numeric constant|
../SFML-1.3/include/SFML/Window/WindowStyle.hpp|39|error: expected `}' before numeric constant|
../SFML-1.3/include/SFML/Window/WindowStyle.hpp|39|error: expected unqualified-id before numeric constant|
../SFML-1.3/include/SFML/Window/WindowStyle.hpp|48|error: expected declaration before ‘}’ token|
||=== Build finished: 4 errors, 0 warnings ===|


this sounds to me like the "None" is already defined somewhere?

In anycase, after i change it, or comment it, there is an error in Drawable.hpp, and after i change that, everything compiles ok.

Can someone shed some light on this, please?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
64 bit linux binary
« Reply #3 on: September 12, 2008, 04:49:15 pm »
I've decided not to put anything on the download page that I can't control directly (I've already had issues with that), sorry. But you can still upload it on the wiki ;)

There is a conflict with the "None" identifier defined by Xlib, but Xlib.h is only included in one single private cpp file, and so that the conflict doesn't happen.
You really are the only one to get issues with this code
Laurent Gomila - SFML developer

Badestrand

  • Newbie
  • *
  • Posts: 17
    • View Profile
64 bit linux binary
« Reply #4 on: September 14, 2008, 12:22:33 am »
Quote from: "krav"
The problem with the "None" is that i cant compile the project
Maybe you could try a "#undef None" before the enum, if it compiles you know what to search for.

krav

  • Newbie
  • *
  • Posts: 3
    • View Profile
64 bit linux binary
« Reply #5 on: September 15, 2008, 10:46:41 am »
Quote from: "Laurent"
I've decided not to put anything on the download page that I can't control directly (I've already had issues with that), sorry. But you can still upload it on the wiki ;)


ok, i will upload them, but tell me where, i dont think it fits into any of the 3 categories :)

Also, what exactly do you want me to upload? only the libraries, or the whole package (including the docs and install script...)?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
64 bit linux binary
« Reply #6 on: September 15, 2008, 07:12:13 pm »
Hmm yep, I have to create a new category. For now, upload it under en/bin (or whatever you like) and put the link here. I'll then create a new item in the main page which links to it as soon as I can.
Laurent Gomila - SFML developer

 

anything