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

Pages: 1 ... 4 5 [6] 7
76
General / Semaphore?
« on: October 07, 2010, 05:18:40 pm »
It’s not that I can’t, I’d rather not too... keep library count to a minimum for maintainability sake. when it’s says SFML supports threading I didn’t expect it was partially supported. No worries, I went for a duo SFML / SDL until I find something more elegant.

77
General / Semaphore?
« on: October 07, 2010, 01:54:20 am »
And the rabbit hole goes deeper... std::thread(C++0x) is not implemented in VC++ 2010 and I`m not a fan of boost:: … at all.

I was hoping not to look back at SDL again…

78
General / Semaphore?
« on: October 07, 2010, 01:18:10 am »
Basically, I`m  trying to convert this tutorial:

http://dranger.com/ffmpeg/tutorial03.html

It’s been a nightmare so far… I`m astonish by the lack of support with this, for this tutorials being about 7 years old. I was hoping to make an SFML version. I think video playback would be a great plus for SFML. All it is missing is the equivalent of:

SDL_CondWait();
SDL_CondSignal();

would this be a valuable feature to implement?

With a little guidance setting the audio streaming, it shouldn’t take much to make this work. But I can’t make it happen by myself so far.

Still digging,

79
General / Semaphore?
« on: October 06, 2010, 09:42:20 am »
Oh i see, that is very unfortunate... thx for pointing that out… just the wait condition would do… any library you would recommend beside SDL?

80
General / Semaphore?
« on: October 06, 2010, 01:41:51 am »
Greetings,

Is there an equivalent as SDL_CondSignal (Restart a thread wait on a condition variable) within the SFML threads... Semaphore?

thx

81
Audio / How to manage audio with SFML?
« on: October 04, 2010, 10:26:28 pm »
Hi Laurent,

Actually my real problem is to output audio from FFmpeg... honestly, I don't know where to start. Did you plan on extending this tutorial?

http://www.sfml-dev.org/wiki/fr/tutoriels/integrervideo

82
Audio / How to manage audio with SFML?
« on: October 04, 2010, 09:39:48 pm »
Greetings,

I thought I would be able to play sounds that way :

sf::Music music;
music.OpenFromFile("../Data/Music/canary.wav");
music.Play();

If music is destroyed the sound will stop playing. What is a common technique for handling several sound entities and music playback in SFML? A separate thread for each sound and/or wrapping a sound class?

83
General / SFML and FFMpeg Tutorial English Translation
« on: October 04, 2010, 12:51:12 am »
I kind of dig this thread from the grave but you could look at this to get a better view:

http://www.sfml-dev.org/wiki/fr/tutoriels/integrervideo

84
General / SFML and FFMpeg Tutorial English Translation
« on: October 03, 2010, 09:18:12 pm »
Hi there,

Is anyone managed to make the audio work as well using FFmpeg and SFML?

85
General / Windows 7 64bit, VS 2010 and and SFML 2.0 (1570)
« on: September 28, 2010, 06:33:13 pm »
Greetings,

Both x32 and x64 versions compile just fine but I'm having unresolved external symbol with the x64 version when linking it to my project:

Error   8   error LNK2019: unresolved external symbol jpeg_CreateCompress referenced in function "private: bool __cdecl sf::priv::ImageLoader::WriteJpg(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::vector<unsigned char,class std::allocator<unsigned char> > const &,unsigned int,unsigned int)" (?WriteJpg@ImageLoader@priv@sf@@AEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV?$vector@EV?$allocator@E@std@@@5@II@Z)   sfml2-graphics-s.lib(ImageLoader.obj)
Error   1   error LNK2019: unresolved external symbol jpeg_destroy_compress referenced in function "private: bool __cdecl sf::priv::ImageLoader::WriteJpg(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::vector<unsigned char,class std::allocator<unsigned char> > const &,unsigned int,unsigned int)" (?WriteJpg@ImageLoader@priv@sf@@AEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV?$vector@EV?$allocator@E@std@@@5@II@Z)   sfml2-graphics-s.lib(ImageLoader.obj)
Error   2   error LNK2019: unresolved external symbol jpeg_finish_compress referenced in function "private: bool __cdecl sf::priv::ImageLoader::WriteJpg(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::vector<unsigned char,class std::allocator<unsigned char> > const &,unsigned int,unsigned int)" (?WriteJpg@ImageLoader@priv@sf@@AEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV?$vector@EV?$allocator@E@std@@@5@II@Z)   sfml2-graphics-s.lib(ImageLoader.obj)
Error   6   error LNK2019: unresolved external symbol jpeg_set_defaults referenced in function "private: bool __cdecl sf::priv::ImageLoader::WriteJpg(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::vector<unsigned char,class std::allocator<unsigned char> > const &,unsigned int,unsigned int)" (?WriteJpg@ImageLoader@priv@sf@@AEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV?$vector@EV?$allocator@E@std@@@5@II@Z)   sfml2-graphics-s.lib(ImageLoader.obj)
Error   5   error LNK2019: unresolved external symbol jpeg_set_quality referenced in function "private: bool __cdecl sf::priv::ImageLoader::WriteJpg(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::vector<unsigned char,class std::allocator<unsigned char> > const &,unsigned int,unsigned int)" (?WriteJpg@ImageLoader@priv@sf@@AEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV?$vector@EV?$allocator@E@std@@@5@II@Z)   sfml2-graphics-s.lib(ImageLoader.obj)
Error   4   error LNK2019: unresolved external symbol jpeg_start_compress referenced in function "private: bool __cdecl sf::priv::ImageLoader::WriteJpg(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::vector<unsigned char,class std::allocator<unsigned char> > const &,unsigned int,unsigned int)" (?WriteJpg@ImageLoader@priv@sf@@AEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV?$vector@EV?$allocator@E@std@@@5@II@Z)   sfml2-graphics-s.lib(ImageLoader.obj)
Error   9   error LNK2019: unresolved external symbol jpeg_std_error referenced in function "private: bool __cdecl sf::priv::ImageLoader::WriteJpg(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::vector<unsigned char,class std::allocator<unsigned char> > const &,unsigned int,unsigned int)" (?WriteJpg@ImageLoader@priv@sf@@AEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV?$vector@EV?$allocator@E@std@@@5@II@Z)   sfml2-graphics-s.lib(ImageLoader.obj)
Error   7   error LNK2019: unresolved external symbol jpeg_stdio_dest referenced in function "private: bool __cdecl sf::priv::ImageLoader::WriteJpg(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::vector<unsigned char,class std::allocator<unsigned char> > const &,unsigned int,unsigned int)" (?WriteJpg@ImageLoader@priv@sf@@AEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV?$vector@EV?$allocator@E@std@@@5@II@Z)   sfml2-graphics-s.lib(ImageLoader.obj)
Error   3   error LNK2019: unresolved external symbol jpeg_write_scanlines referenced in function "private: bool __cdecl sf::priv::ImageLoader::WriteJpg(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::vector<unsigned char,class std::allocator<unsigned char> > const &,unsigned int,unsigned int)" (?WriteJpg@ImageLoader@priv@sf@@AEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV?$vector@EV?$allocator@E@std@@@5@II@Z)   sfml2-graphics-s.lib(ImageLoader.obj)

would be nice to simply turn on and off external libs.

86
General / Remove OpenGL deprecated features?
« on: August 18, 2010, 05:52:26 pm »
crickets!?

87
General / SFML x64 cause QT to stall... window.lib compatibility issue
« on: August 14, 2010, 05:03:20 am »
Quote
Another example is that I'm linking my project library (including sfml-window-s.lib) to a Softimage 2010 C++ plug-in. When loading the plug-in, Softimage gets stall before any plug-in callbacks are being executed. I never had that problem before with SDL and I'm using a few other libs like FMOD and Nvidia Physx.


I m currently working on building an DLL + LIB... but I m having trouble with:

template __declspec(dllexport) std::vector<int>;

seems to be a well known issue but I cant get it to work yet... what a nitghmare that is!

88
General / SFML x64 cause QT to stall... window.lib compatibility issue
« on: August 13, 2010, 05:54:26 pm »
Humm… can I link SFML to my project with Freetype enabled and turn it off without recompiling SFML?

89
General / SFML x64 cause QT to stall... window.lib compatibility issue
« on: August 13, 2010, 02:33:58 am »
After recompiling every libraries with /MD I’m getting the exact same results… Oh well, at least I’m having all the latest libs now  8)

Quick question: when A.lib is compiled using lib.B… is it possible to link lib.A without lib.b?

90
General discussions / SVN repository?
« on: August 12, 2010, 05:41:02 pm »
Hi I m using TortoiseSVN and when I check out :

http://sfml.svn.sourceforge.net/viewvc/sfml/branches/sfml2/

I get:

Repository moved temporarily to '/viewvc/sfml/branches/sfml2/'; please relocate

I'm not used to SVN so I'm not sure if it is on my side or not.

Thx

Pages: 1 ... 4 5 [6] 7