Search found 4 matches

by jperez
Mon Feb 29, 2016 7:00 pm
Forum: Platform Related Issues
Topic: wxWidgets 3 Warnings about ssize_t on MSVC12 that led to linking errors on wxFile::Read
Replies: 4
Views: 1092

Re: wxWidgets 3 Warnings about ssize_t on MSVC12 that led to linking errors on wxFile::Read

Yes, must be a CMake problem; I tested the minimal sample and modified the source to include the wxFile::Read lines and compiling it with different combinations: + With the provided sln I found no trouble and it run without problems, in this I added the include file <wx/file.h> within the #ifndef WX...
by jperez
Mon Feb 29, 2016 6:56 am
Forum: Platform Related Issues
Topic: wxWidgets 3 Warnings about ssize_t on MSVC12 that led to linking errors on wxFile::Read
Replies: 4
Views: 1092

Re: wxWidgets 3 Warnings about ssize_t on MSVC12 that led to linking errors on wxFile::Read

Thanks for the response. I am using MSVC++ 12 (from VisualStudio 2013), i got these problems when compiling the program with VisualStudio 2013 without updates and with the update 5; I will try it with the VC11 (VisualStudio 2012). I build the wxWidgets library from the provided wx_vc12.sln file as a...
by jperez
Sat Feb 27, 2016 11:34 am
Forum: Platform Related Issues
Topic: wxWidgets 3 Warnings about ssize_t on MSVC12 that led to linking errors on wxFile::Read
Replies: 4
Views: 1092

wxWidgets 3 Warnings about ssize_t on MSVC12 that led to linking errors on wxFile::Read

Since i started using wxWidgets 3 on MSVC12 i get these warnings: include\wx/defs.h(1241): error C2628: 'wxInt32' followed by 'long' is illegal (did you forget a ';'?) in this block: /* If we really don't have ssize_t, provide our own version. */ #ifdef HAVE_SSIZE_T #ifdef __UNIX__ #include <sys/typ...
by jperez
Sat Feb 20, 2016 9:27 pm
Forum: The Code Dump
Topic: wxWidgets and Allegro (gfx library)
Replies: 1
Views: 5453

Re: wxWidgets and Allegro (gfx library)

Hi, I tried to use it with the Allegro 5 but that function seems to be deprecated, but i found another way using wxWidgets 3.1 and Allegro 5.1 through an wxMemoryInputStream object. The idea is to store the rendered Allegro bitmap to a memory file using the allegro function al_open_memfile and then ...