Jump to content

Sign in to follow this  
arno

Compile Error - problem with API

Recommended Posts

Guest meiilaX

Hello,I have created an API object (EOD) and when I want to add it into AFW 2.60 B160 and compile, I get error log with this message :Error in macro file C:Program FilesEOD DesignworkplotNGgr.api line 81-> Bitmap( plotxgreen.bmp 0 0 0 0 )-> in expression .. bmp 0 0 0 0 ) ..Scasm compilation status: error(s) 1Texture "plotxgreen.bmp" is bitmap 444-4 with transparency channel (pure green). What is bad ? Can anyone help me ? Thanks milan

Share this post


Link to post
Share on other sites

With the old Bitmap command the name of your texture can only be 8 characters. Try to shorten the name or use the new LoadBitmap command.


Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
  • Donation Goals

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    18%
    $4,720.00 of $25,000.00 Donate Now
×
×
  • Create New...