
514 So.2d 1142 (1987)
Darrin BELLINGER, Appellant,
v.
STATE of Florida, Appellee.
No. BP-252.
District Court of Appeal of Florida, First District.
November 5, 1987.
Michael E. Allen, Public Defender, and P. Douglas Brinkmeyer, Asst. Public Defender, Tallahassee, for appellant.
Robert A. Butterworth, Atty. Gen., and Patricia Conners, Asst. Atty. Gen., Tallahassee, for appellee.
JOANOS, Judge.
In this appeal from a conviction for armed robbery with a firearm, appellant appeals both the imposition of a three year mandatory minimum sentence under section 775.087(2), Florida Statutes (1985), for possession of a firearm during commission of a crime, and the imposition of $200 in additional court costs under section 27.3455, *1143 Florida Statutes (1985). Appellee concedes that both points were in error. We agree and reverse.
Section 775.087(2) states that any person who is convicted of robbery and who "had in his possession a `firearm'" shall be sentenced to a minimum term of three years imprisonment. While constructive or vicarious possession is sufficient to sustain a conviction for robbery with a firearm, it is insufficient to constitute possession under this statute. Earnest v. State, 351 So.2d 957 (Fla. 1977). Actual physical possession of the weapon is contemplated before imposition of the section 775.087(2) mandatory minimum three-year term of imprisonment may be imposed. See Lester v. State, 458 So.2d 1194 (Fla.1st DCA 1984). As both appellant and appellee point out, appellant's accomplice had possession of the weapon during the entire course of the crime. Appellant was never in possession. Therefore, the mandatory minimum sentence portion of appellant's sentence is reversed.
As to costs assessed pursuant to section 27.3455, Florida Statutes (1985), appellant was entitled to a determination of his indigency status at the time of sentencing. Lawton v. State, 492 So.2d 404, 406 (Fla. 1st DCA 1986). Had appellant been adjudged indigent at sentencing, the trial court would have been required to impose a term of community service in lieu of costs. § 27.3455, Fla. Stat. (1985). Additionally, appellant, who had been adjudged indigent for the purposes of representation by a public defender, should have received adequate notice and a full opportunity to object prior to the imposition of costs, as well as a judicial finding of his ability to pay prior to any enforcement of the collection of costs. Jenkins v. State, 444 So.2d 947 (Fla. 1984); Lawton, 492 So.2d at 406. As to these costs, the cause is remanded for resentencing under amended section 27.3455, Florida Statutes (Supp. 1986), after appellant is given notice and an opportunity to be heard on the issue of his indigency. Carter v. State, 513 So.2d 782 (Fla. 1st DCA 1987); Gaskins v. State, 513 So.2d 1087 (Fla. 1st DCA 1987); Riddell v. State, 509 So.2d 956 (Fla. 1st DCA 1987).
Appellant also was assessed costs of $20.00 pursuant to section 960.20, Florida Statutes, and $2.00 pursuant to section 943.25(4), Florida Statutes. Appellant similarly should have received notice and an opportunity to object prior to the imposition of these costs. Jenkins, 444 So.2d at 950. Though appellant failed to object to these costs at trial, sentencing errors that produce an illegal sentence and are apparent from the record can be addressed on appeal without a contemporaneous objection. Brown v. State, 508 So.2d 776 (Fla. 1st DCA 1987). And though appellant fails to raise the issue of these particular costs in his brief on appeal, appellant does in his notice of appeal generally request that this court review the judgment wherein these costs are imposed. The sentencing error is apparent from a review of the record. As to these costs, the cause is remanded so that appellant can be given notice and an opportunity to be heard prior to their imposition.
The conviction is affirmed, but the sentence is reversed and the cause is remanded for resentencing in accordance with this opinion.
SMITH, C.J., and WENTWORTH, J., concur.
