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: Installation, Compiling and Running of theide » Error compiling uvs sources on Ubuntu
Error compiling uvs sources on Ubuntu [message #11974] Fri, 05 October 2007 20:52
mdelfede is currently offline  mdelfede
Messages: 1259
Registered: September 2007
Senior Contributor
I don't know if that's the right place to post devel version bugs... I hope yes !

In Path.cpp, function
Array<FileSystemInfo::FileInfo> FileSystemInfo::Find(String mask, int max_count) const


			do
			{
				FileInfo& f = fi.Add();
				f.filename = ff.GetName();
				f.is_archive = ff.IsArchive();
				f.is_compressed = ff.IsCompressed();
				f.is_hidden = ff.IsHidden();
				f.is_read_only = ff.IsReadOnly();
				f.is_system = ff.IsSystem();
				f.is_temporary = ff.IsTemporary();
				f.length = ff.GetLength();


Should be :
			do
			{
				FileInfo& f = fi.Add();
				f.filename = ff.GetName();
#ifdef PLATFORM_WIN32
				f.is_archive = ff.IsArchive();
				f.is_compressed = ff.IsCompressed();
				f.is_hidden = ff.IsHidden();
				f.is_read_only = ff.IsReadOnly();
				f.is_system = ff.IsSystem();
				f.is_temporary = ff.IsTemporary();
#endif
				f.length = ff.GetLength();


In file ImageWin32.cpp :

#include "Draw.h"
#include <shellapi.h>
NAMESPACE_UPP


Should be :

#include "Draw.h"
#ifdef PLATFORM_WIN32
#include <shellapi.h>
#endif
NAMESPACE_UPP


With both fixes, theide compiles and starts ok.
I'll make more tests later.

Ciao

Max

[Updated on: Fri, 05 October 2007 20:53]

Report message to a moderator

Previous Topic: segmentation fault on Ubuntu Feisty
Next Topic: X11DnD case mismatch bug still in svn
Goto Forum:
  


Current Time: Thu Dec 12 00:13:53 CET 2019

Total time taken to generate the page: 0.01552 seconds