U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Issues with new stable release 3211
Re: Issues with new stable release 3211 [message #31318 is a reply to message #31317] Mon, 21 February 2011 02:45 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
koldo wrote on Sun, 20 February 2011 17:50

Hello Patrick

Excellent news.

Quote:

I think I got the error. The "include game.h" line in the EatMe.h file was set before the declarations :

#include "CtrlLib/CtrlLib.h"
I supposed that something before CtrlLib.h crash with it.

You are right, I would put everything after CtrlLib.h. include.

However in the code you enclose, you put:

#ifndef _EatMe_EatMe_h
#define _EatMe_EatMe_h

#include "CtrlLib/CtrlLib.h"
#include "Controls4U/Controls4U.h"
#include "Functions4U/Functions4U.h"
#include "Game.h"




Note: Use <> instead of " for those includes ( <CtrlLib/CtrlLib.h> )

" means, at least for GCC, "look into the same directory as is the file", while <> means "search all dirs in include path".

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Various fixes to uppsrc
Next Topic: Ctrl Background
Goto Forum:
  


Current Time: Thu May 14 11:13:15 GMT+2 2026

Total time taken to generate the page: 0.00849 seconds