Hi all,

I have been experimenting with MingW as the development and build 
environment
under Windows, but I have run into a nasty problem.

Let me first explain the setup:
- I have MingW installed under Windows XP
- I use the Windows CMake executable in a MingW console to generate the
  makefiles (UNIX makefiles to be precise)
- I have excluded all languages except C and C++, using the gcc compiler
  that comes with MingW (I actually only looked at the C bindings and 
examples).
- I have excluded all but the PostScript devices

Generating the makefiles and building the libraries and the examples works
like a charm.

The problem arises when I try to run an example: It hangs. Nothing happens.
No output to the screen, nothing.

To see where in PLplot it is going wrong, I have added print statements. 
But
the program does not even seem to get into the main function:

int main( int argc, char *argv[] ) {
    printf( "In main\n" );
    ...
}

does not even print "In main".

A "Hello, world" example does work, so the compiler basically does its job.

Now, I have tried this with both dynamic and static libraries - in both 
cases
the program simply hangs.

Does anybody have a clue as how to proceed here? I think it is using wrong
start-up code but I have no idea where that could be coming from or how
to resolve the problem.

Regards,

Arjen






-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to