GeNi's bulk

To content | To menu | To search

Prima compilation errors with VC 2008 Express

While building perl distrib Prima-1.38 using vc 2008 express, I got the following error:

C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(358) : error C3163: '_vsnprintf': attributes inconsistent with previous declaration
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(350) : see declaration of '_vsnprintf'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.EXE"' : return code '0x2'

The quick and dirty hack I found was to comment out the stdio.h line 358, and run nmake again. If you follow this hack, don't forget to uncomment the line 258 of stdio.h after building the distibution.

Then the build process continue until these error messages:

img/conv.c(286) : error C2065: 'int64_t' : undeclared identifier
img/conv.c(286) : error C2146: syntax error : missing ';' before identifier 'aNumerator'
img/conv.c(286) : error C2065: 'aNumerator' : undeclared identifier
//and so on...

Ok, the data type in64_t is not defined, so I edit the file img/conv.c and add the following definition just before "#define minimum_ByteValue 0" :

#define int64_t __int64

Then, nmake, nmake test and nmake install.

That's not a fix, but I works and I can now try Data::Dumper::GUI :)

Perl strange compilation messages on win32

I am using SciTE to edit a package and running with perl 5.10.1 on win32 and sudently I got compilation message that I couldn't understand.

Continue reading...

showing executable console

Did you ever try to write to the standard output using STDOUT but never seen your output in the console?

This is a little known thing about PE executable on windows that were compiled to be GUI.

Continue reading...

Powerbuilder::ORCA 0.06

This is a pre-unofficial release, It just allow to open powerbuilder project up to 12.0, but a lot of new api are not mapped yet. Here is was we could do with it.

Continue reading...

NSIS nsPerl 1.4.1

I have ported it to perl 5.10.1.

Continue reading...

Win32::ODBC 0.35 (Unofficial)

Win32::ODBC 0.35 Added a hdbc contructor (allow to share ODBC connection between languages, so nice for embedding perl !).

Continue reading...

Win32::Exe 0.15 more powerbuilder compliant

An offical perl contribution,

Continue reading...

perl to Powerbuilder

One of my sleeping projects, is a beginning of a bridge between Powerbuilder (static language) and Perl. You can learn more here

Continue reading...


Win32::Lglcd - Perl extension for writting perl's app for logitech devices.

Continue reading...

Tic-Tac-Toe, my first script :)

This was my first gui perl script.

Continue reading...