Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » External resources » Compiling a U++ Program with eclipse
Re: Compiling a U++ Program with eclipse [message #7150 is a reply to message #7147] Fri, 15 December 2006 20:42 Go to previous messageGo to previous message
filipenf is currently offline  filipenf
Messages: 11
Registered: December 2006
Location: Brasil
Promising Member
One more comment.

I'm trying to compile a simple program that uses a external library to access a website. This is a very good library to work with TCP/IP ( www.alhem.net/Sockets ) it's multi-platform, object-oriented and very good library.

When I try to compile this library inside TheIDE I get several errors, I've included the directories and all seems OK but it doesn't compile.
I got the following error messages:

In file included from C:\upp\MyApps\Test\main.cpp:3:
E:/include/Sockets/SocketHandler.h:63: error: expected `)' before '*' token
E:/include/Sockets/SocketHandler.h:67: error: `StdLog' is not a type
E:/include/Sockets/SocketHandler.h:67: error: ISO C++ forbids declaration of `log' with no type
E:/include/Sockets/SocketHandler.h:72: error: variable or field `RegStdLog' declared void
E:/include/Sockets/SocketHandler.h:72: error: expected `;' before '(' token
E:/include/Sockets/SocketHandler.h:187: error: ISO C++ forbids declaration of `StdLog' with no type
E:/include/Sockets/SocketHandler.h:187: error: expected `;' before '*' token


The same code was compiled by gcc using it's own makefile without no problems.
I couldn't see any problem with this... line of SocketHandler.h contains the following constructor declaration:

SocketHandler(StdLog *log = NULL);

Line 67 is also using StdLog, that class is defined on the file StdLog.h that is included in this file.

Does anyone have a tip for a solution to this ?

Thanks
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OpenMoko
Next Topic: MingW/GCC 4.1
Goto Forum:
  


Current Time: Thu Aug 14 00:27:52 CEST 2025

Total time taken to generate the page: 0.10824 seconds