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 » Community » Newbie corner » using namespace Upp; causes errors
using namespace Upp; causes errors [message #37413] Mon, 01 October 2012 22:26 Go to previous message
Mircode is currently offline  Mircode
Messages: 17
Registered: September 2012
Promising Member
Hi!

Actually I only want to create labeled buttons with a custom background color. The only way to this seems to be chameleon, though I do not know whether this is something I have to install or just the example files that can be found here:

http://ultimatepp.org/redmine/projects/upp/repository/show/t ags/n-2011-15/reference/Chameleon

I downloaded and tried to compile, getting a load of errors. The first few being:

C:\eigene dateien\c-gefrickel\chameleon\main.cpp:3: error: expected namespace-name before ';' token
C:\eigene dateien\c-gefrickel\chameleon\main.cpp:3: error: `<type error>' is not a namespace

Also the simple helloworld project yields the same:

#include <CtrlLib/CtrlLib.h>

using namespace Upp;

GUI_APP_MAIN {
    PromptOK("Hello world");
}


Am I missing something here? Where is this Upp namespace supposed to be defined? (I ran a windows search for files containing "namespace Upp" in the uppsrc folder and found nothing)(I am using windows, by the way).

Thanks in advance!

Greetings,
Mirko
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: HOW TO DETECT TROJANS IN U++ [FEATURE REQUEST]
Next Topic: Field for misc. control information?
Goto Forum:
  


Current Time: Sat Apr 27 15:18:09 CEST 2024

Total time taken to generate the page: 0.05494 seconds