Am 07.10.2015 um 07:12 schrieb Mack Paul:
> Hi guys:
>
> I started to learn mingw64 and tried to compile this cpp file using netbeans 
> 8.0.1
> What I need to see is the dialog of printing of windows and to print the text 
> "Hola mundo".
[...]

> g++     -o dist/Debug/MinGW-Windows/cppapplication_2 
> build/Debug/MinGW-Windows/main.o  -v

Adding -lcomdlg32 should help (if that is the only missing library,
otherwise
add the missing ones, too).

> I think, mingw-w64 includes the win32 apis. The library that has to be linked 
> is \mingw32\i686-w64-mingw32\lib\libcomdlg32.a, but I'm getting error of 
> undefined reference.
>

Only the standard C and C++ libraries are added automatically.
All others have to be added to the command line.

Regards
Stefan


------------------------------------------------------------------------------
Full-scale, agent-less Infrastructure Monitoring from a single dashboard
Integrate with 40+ ManageEngine ITSM Solutions for complete visibility
Physical-Virtual-Cloud Infrastructure monitoring from one console
Real user monitoring with APM Insights and performance trend reports 
Learn More http://pubads.g.doubleclick.net/gampad/clk?id=247754911&iu=/4140
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to