|
Boost Users : |
Subject: Re: [Boost-users] how can I use jamfile complie WinMain?
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2010-02-24 00:58:47
l.jay Yuan wrote:
> how can I use jamfile complie WinMain?
> my cpp code:
>
> #include <windows.h>
>
> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR
> lpCmdLine, int nCmdShow)
> {
> return 0;
> }
>
> my jamfile:
>
> exe main : [ glob-tree *.cpp *.c : .svn ]
> ;
>
> install . : main : <install-type>EXE ;
>
> compile use msvc7.1, I got error LNK2019(___tmainCRTStartup)
Does
bjam user-interface=gui
work better?
HTH,
Volodya
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net