LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-28-2009, 01:55 AM   #1
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Rep: Reputation: 31
libMSN Compile in Visual Studio Error Help


Hello to all of you, i have downloaded the libMSN from sourceForget

but i encounter several error where some of the unix library file cannot be found but some of them can be find.

1. I don't know how Visual Studio lookip the Unix library header file(Which Directory).

For instance, #include <sys/stat.h> can be find but not these header file

#include <sys/socket.h>
#include <sys/unistd.h>
#include <sys/poll.h>


Why cause this error ?

I have cygwin and MingW install.

2. Besides that, i have code blocks installed but when compile a project MSN Test - Debug" uses an invalid compiler. Skipping...


3. I need the visual studio to lookup this header file correctly.

#include <sys/socket.h>

#include <unistd.h>
#include <sys/poll.h>

#include <arpa/inet.h>
#include <netinet/in.h>

#include <netdb.h>
//#include <openssl/ssl.h>





Please help.

Thanks.

Last edited by Peter_APIIT; 09-28-2009 at 02:41 AM.
 
Old 09-29-2009, 07:22 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
build in MinGW ( i use Dev c++ as an IDE )

it should be the standard
Code:
./configure
make && make install
it is possible to get MS visual studio to use the MinGW *.h's but a "BIG pain in the A?? "
 
Old 09-29-2009, 10:23 PM   #3
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
Do we need to build need source of the libMSN library ?

The problem i encounter now is i try to compile the msnTest program in Visual Studio which give me a lot of pain.

Therefore, i wonder how i can compile the msnTest sample program in Visual Studio.

Besides that, i also need to compile my Qt project together with this libMSN and other open source project such as SMPP API.

I have CMake, qMake, cygwin, MIngw32 and TDM GCC/Mingw32 installed.

What approach you recommend ?

Thanks for your help.

Last edited by Peter_APIIT; 09-30-2009 at 07:26 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to compile in Visual Studio Alternative - SharpDevelop 2.2 ussr_1991 Programming 4 08-12-2008 09:18 AM
Stupid Question: Microsoft Visual Studio 6.0 (A.K.A. Visual Basic 6) Will it run? S0RD3N Linux - Software 8 05-07-2008 08:42 PM
GCC vs VISUAL STUDIO paragkalra Linux - Software 1 01-05-2007 01:21 AM
VB6 on Visual Studio? mohbana Programming 1 11-23-2004 01:40 PM
visual studio on wine supermatt Linux - Software 5 03-03-2004 04:16 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration