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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - austinmw

Pages: [1]
1
General / Re: Parallels Tools breaks SFML
« on: July 18, 2015, 12:14:43 am »
Well I fixed it somehow with a lot of luck. I replaced:

    sf::RenderWindow app(sf::VideoMode(1024, 768), "SFML window");

with:

    sf::VideoMode desktop =  sf::VideoMode::getDesktopMode();
    sf::RenderWindow app(sf::VideoMode(1024, 768, desktop.bitsPerPixel), "SFML window");

2
General / Re: Parallels Tools breaks SFML
« on: July 17, 2015, 11:24:37 pm »
-Spent hours.
-There's a lot about BadMatch invalid parameter attributes and X_CreateWindow, but not specifically with my scenario and most of it is way above my head.
-Yep, tried:

int main() {
    sf::RenderWindow app(sf::VideoMode(800, 600), "SFML window");}

I still get the same error with just this.

3
General / Re: Parallels Tools breaks SFML
« on: July 17, 2015, 09:50:00 pm »
Sorry, I know the pool of people who've used Parallels with SFML is probably small and I wanted to maximize the possibility that someone who ran across the same issue might see it. I'll try VirtualBox, just wish I could get it working with Parallels since I paid for it and VB lacks retina support  :( Ah well.

4
General / Re: Parallels Tools breaks SFML
« on: July 17, 2015, 09:28:24 pm »
The programs I write for class have to compile in Codeblocks for Xubuntu though and using it without Parallels Tools copy/paste, drag/drop, etc. is a huge pain. I realize that it's not officially supported, I was just wondering if anyone else came across this or understood the error message better to know if I might be able to patch or edit a config file or something to fix it.

5
General / Parallels Tools breaks SFML
« on: July 17, 2015, 12:54:21 am »
So I created a clean VM of Xubuntu 14.04.2 in Parallels 10.2.1 and I got SFML working properly with sudo apt-get install libsfml-dev. Then I rebooted and made sure it still worked, and after that the only thing I did was install Parallels Tools. Now when I try to run my sfml-app by command line or through Codeblocks I get the error message:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  1 (X_CreateWindow)
  Serial number of failed request:  74
  Current serial number in output stream:  75

Anyone know how Parallels Tools could be causing SFML to malfunction or how to fix this? I can't find anything online about compatibility issues between the two.

6
General / Error running sfml-app
« on: July 16, 2015, 08:14:33 am »
Hi, I just tried following the tutorial http://www.sfml-dev.org/tutorials/2.3/start-linux.php on a fresh install of Xubuntu 15.04 in Parallels. I did the updates and upgrades, then ran sudo apt-get install libsfml-dev. I also downloaded and extracted SFML-2.3.1 to my Documents folder, but I wasn't sure if I needed to do both. After following the steps, when trying to run the sfml-app I created, I get the message:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  1 (X_CreateWindow)
  Serial number of failed request:  74
  Current serial number in output stream:  75

I also get the same error if I try it in Codeblocks. Can anyone tell me what this means? Did I need to also do something with the SFML download after I ran the sudo apt-get install libsfml-dev command or was that an either/or type of thing? Any help is greatly appreciated, thanks. 

Pages: [1]
anything