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 » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Create new package
Create new package [message #9717] Sun, 27 May 2007 22:06 Go to previous message
gertwin is currently offline  gertwin
Messages: 25
Registered: May 2007
Location: Netherlands
Promising Member
Hello,

I searched the forum for this build error but i could not find it. Confused

If i create a new package (linux) with template "CtrlLib application with main window" the generated code is missing the line "using namespace Upp;"

This is generated and will not compile:
#ifndef _test_test_h
#define _test_test_h

#include <CtrlLib/CtrlLib.h>

#define LAYOUTFILE <test/test.lay>
#include <CtrlCore/lay.h>



class test : public TopWindow {
public:
typedef test CLASSNAME;
test();
};

#endif

This will compile:
#ifndef _test_test_h
#define _test_test_h

#include <CtrlLib/CtrlLib.h>

#define LAYOUTFILE <test/test.lay>
#include <CtrlCore/lay.h>

using namespace Upp;

class test : public TopWindow {
public:
typedef test CLASSNAME;
test();
};

#endif

Gertwin
 
Read Message
Read Message
Read Message
Previous Topic: Different IDE behavior: Win32 - SuSE 10.0 - SuSE 10.2
Next Topic: linking problems
Goto Forum:
  


Current Time: Tue Jul 08 01:08:33 CEST 2025

Total time taken to generate the page: 0.03214 seconds