IonicWind Software

Aurora Compiler => General Discussion => Topic started by: Rock Ridge Farm (Larry) on February 07, 2006, 09:09:36 AM

Title: How do you set up a project?
Post by: Rock Ridge Farm (Larry) on February 07, 2006, 09:09:36 AM
I have a program, a database, and one .bmp file.
If I just compile and execute all works OK.
Once I tried to put it in a project it no longer compiles and executes.
It tells me 'Error compiling resource".
Help!
Title: Re: How do you set up a project?
Post by: Ionic Wind Support Team on February 07, 2006, 09:34:27 AM
Add the resource to your project and make sure to give it a proper ID
Title: Re: How do you set up a project?
Post by: Rock Ridge Farm (Larry) on February 07, 2006, 09:42:29 AM
The bitmap shows up in the project.
Can you expand on your post - talk slow - I am old.
Title: Re: How do you set up a project?
Post by: Ionic Wind Support Team on February 07, 2006, 09:57:26 AM
The resource compiler is giving that error.  Not very explicit is it ;)

Open the resource file (projectname.rc) with a text editor and post it here.
Title: Re: How do you set up a project?
Post by: Rock Ridge Farm (Larry) on February 07, 2006, 10:03:12 AM
Only one line in the file:
chart BITMAP "C:\\aurora\\stocktrak\\chart.bmp"
Title: Re: How do you set up a project?
Post by: Ionic Wind Support Team on February 07, 2006, 10:17:00 AM
Make sure the path is right.  Try using a numeric ID instead of an alpha one.

Title: Re: How do you set up a project?
Post by: Rock Ridge Farm (Larry) on February 07, 2006, 11:50:18 AM
Did all that. I even deleted the project and resource. I deleted all files except the
.src and the .bmp. I created a new project and added the bmp to the resource.
Still errors out. I even went back and took the skeleton example and built it.
It worked but mine fails. It has got to be something simple I am missing but
so far I can not find it.
Title: Re: How do you set up a project?
Post by: lviklund on February 07, 2006, 12:01:33 PM
Larry
I just can't resist:
QuoteCan you expand on your post - talk slow - I am old.
Very funny :D
I know the feeling. That is how I feel when digging into Aurora.
But it is fun!!

Lasse
Title: Re: How do you set up a project?
Post by: Ionic Wind Support Team on February 07, 2006, 12:28:19 PM
Could be a problem with the resource compiler.  Try adding another resource (so you have two).  If so I'll see if he has an updated version.
Title: Re: How do you set up a project?
Post by: Ionic Wind Support Team on February 07, 2006, 12:30:29 PM
Also try loading that bitmap into MS Paint and resaving it.  It occured to me that an invalid bitmap header could cause the resource compiler to complain.
Title: Re: How do you set up a project?
Post by: Rock Ridge Farm (Larry) on February 08, 2006, 06:05:18 AM
It was the bit map - I replaced it with another and it worked.
That was fun.
Title: Re: How do you set up a project?
Post by: Rock Ridge Farm (Larry) on February 08, 2006, 06:16:17 AM
Based on your last suggestion - I loaded the questionable bitmap with paint and
saved it. It still does not work.
I used another bitmap file and it worked.
I renamed chart.bmp to duh.bmp - still did not work.
So it is definately the .bmp file itself.
Could this be a case for a new compiler error?

Title: Re: How do you set up a project?
Post by: Ionic Wind Support Team on February 08, 2006, 08:22:36 AM
A resource compiler error perhaps.  Might be a limitation on size.

The resource compiler is written by Jeremey Gordon. 

http://www.jorgon.freeserve.co.uk/

Download his latest version and put it in your 'bin' directory to see if that helps.

Paul.