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 - Rogof

Pages: [1] 2
1
SFML wiki / Re: sfeMovie project [v1.0 RC1 available]
« on: July 15, 2012, 03:35:56 am »
I've tested the latest source (commit 0ccadac) and the audio plays in sync this time.

Thanks.

2
SFML wiki / Re: sfeMovie project [v1.0 RC1 available]
« on: July 09, 2012, 10:48:47 pm »
I currently have some problems whith my linux system, plus some other issues to attend, so I won't be able to test the library till the next weekend.

3
SFML wiki / Re: sfeMovie project [v1.0 RC1 available]
« on: July 02, 2012, 03:19:59 am »
I have found the problem  (kind of). For some reason the audio is desynchronized when using the project's sfml build.

Using the version that comes whit archlinux, the audio plays synchronised.

4
SFML wiki / Re: sfeMovie project [v1.0 RC1 available]
« on: July 02, 2012, 02:02:07 am »
I did another push. Can you tell me whether audio is still desynchronized when launching the sample program ?

Unfortunately, it is.

5
SFML wiki / Re: sfeMovie project [v1.0 RC1 available]
« on: July 01, 2012, 11:54:49 pm »
Quote from: Ceylo
I couldn't get audio to be late at launch. Even if I've an idea to fix this if it's what I think of. Does it resync when you do pause/play (Space) ?

Yes, it does.

6
SFML projects / Re: SFML2 V8 JavaScript Binding
« on: July 01, 2012, 11:03:13 pm »
Regarding node.js, wouldn't something like this work?

void Init( v8::Handle<v8::Object> target ) {
   target->SetPrototype(sf_v8::sf::Init());
}

That is my current solution (but using the individual init functions).

Quote from: StevenC
If you would like I can wrap all the network stuff with #ifndef NO_SFML_NETWORK so that you can exclude it through a define.

That would be good.

7
SFML wiki / Re: sfeMovie project [v1.0 RC1 available]
« on: July 01, 2012, 10:57:15 pm »
When starting the sample program.

8
SFML projects / Re: SFML2 V8 JavaScript Binding
« on: July 01, 2012, 10:39:14 pm »
Quote from: StevenC
Yes, that makes sense. You don't need any of the networking code as node.js already has it all.

About that, I would like a more "decoupled" bindings, I still have to link the network library even if I don't use it.

EDIT: I have disabled the bindings for the classes listed here: http://www.sfml-dev.org/documentation/2.0/group__network.php. Does something else depends on the network library?

9
SFML wiki / Re: sfeMovie project [v1.0 RC1 available]
« on: July 01, 2012, 09:05:57 pm »
Yes, the video plays without crashing, even those encoded with ffmpeg2theora. The only problem is that the audio still lags.

10
SFML projects / SFML2 V8 Bindings and Node.js
« on: July 01, 2012, 08:45:52 pm »
I have successfully build a Node Addon whit your bindings. However I'm not using the `sf::Init` but the individual `InitP*` functions.

I'm doing this because:
  • The `sf::Init` returns an already constructed object, however node modules are expected to set the properties to a given object, see http://nodejs.org/api/addons.html
  • I only need a subset of the functionality provided with sfml, by using the individual init functions I only include what I need.

Btw, here is a list of some of the gcc invocation flags and their descriptions http://gcc.gnu.org/onlinedocs/gcc-4.6.3/cpp/Invocation.html

11
SFML projects / Missing includes
« on: July 01, 2012, 05:41:14 am »
Hi

An `#include <cstring>` is missing from the v8wrap.h header in the latest version (v0.6.0 according to the changelog). Without it, gcc complains about the missing declarations of ‘strlen` and `strcmp`.

12
SFML projects / Re: SFML2 V8 JavaScript Binding
« on: June 24, 2012, 09:54:26 am »
Hello greeniekin

This are the instructions I followed to build an (slightly) outdated version of the library (v3.9.9).

First you need to have:
  • A working mingw gcc compiler
  • A working scons installation
  • An svn client

Then get the source code using the svn client from this url: http://v8.googlecode.com/svn/tags/3.9.9

For this version, you need to comment, or remove the line 888 of the file 'src/platform-win32.cc':
void* address = 0;
otherwise the compiler will complain about an unused variable and stop the compilation.

Once you edited the code, open a console in the directory where the source code is and issue this command:
scons mode=release library=static arch=ia32 os=win32

This should build a static library 'libv8.a'.


I know this are a somewhat vague instructions, so ask me if you don't understand something or need more details.

13
SFML projects / Re: SFML2 V8 JavaScript Binding
« on: June 19, 2012, 08:11:27 pm »
Indeed, no issues found this time, but then I've only tested it with a hello world project.

By the way, you can add mingw to the windows supported platforms since it does compiles in it (and I'm able to test it to some extend). Also, the bindings compile with clang, so you might want to include it.

You might want to specify the versions which are reported to work. In my case is gcc 4.7 and clang 3.1.

14
SFML projects / Re: SFML2 V8 JavaScript Binding
« on: June 19, 2012, 06:30:52 am »
Yes, the bindings build in linux 32bit but not in linux 64bit.

15
SFML projects / Linux builds
« on: June 19, 2012, 03:58:59 am »
I confirmed it, 32bit linux binaries can build without problems.

The error log is longer of what pastebin allows me to paste, so should I email it to you?

Pages: [1] 2