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++ Library support » Draw, Display, Images, Bitmaps, Icons » Problem building U++ Lib VC2008 - iml_source.h
Problem building U++ Lib VC2008 - iml_source.h [message #15943] Mon, 19 May 2008 14:36 Go to next message
milan1612 is currently offline  milan1612
Messages: 2
Registered: May 2008
Location: Germany
Junior Member
Hi there,

I recently downloaded U++ and installed it normally. I set the paths
to the Visual C++ 9.0 Compiler and SDK and created a test project
using the 'CtrlLib application with main window' template.

I selected the 'MSC9 Speed' configuration and started building the project.
The IDE successfully completed building the library, but when it started
compiling the project itself, it showed up this error:
Quote:

C:\Development\UPP\uppsrc\Draw/iml_source.h(43) : error C2466: cannot allocate an array of constant size 0
C:\Development\UPP\uppsrc\Draw/iml_source.h(54) : error C2466: cannot allocate an array of constant size 0

By the way, I enabled the 'Imagelist file' option at the template
selection dialog.
How can it be solved?

Thanks...
Re: Problem building U++ Lib VC2008 - iml_source.h [message #15944 is a reply to message #15943] Mon, 19 May 2008 14:41 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
The problem is that you can't have an empty image list if it is included in one of you files. Just insert any image into the list, and the compiler will stop complaining.
Re: Problem building U++ Lib VC2008 - iml_source.h [message #15945 is a reply to message #15944] Mon, 19 May 2008 14:46 Go to previous message
milan1612 is currently offline  milan1612
Messages: 2
Registered: May 2008
Location: Germany
Junior Member
Thank you, this solution makes sense Very Happy
Previous Topic: .pcx images [FEATURE REQUEST]
Next Topic: X11 MIT Shared Memory Extension
Goto Forum:
  


Current Time: Fri Apr 19 08:56:42 CEST 2024

Total time taken to generate the page: 0.04528 seconds