Crystal Space
Welcome, Guest. Please login or register.
November 21, 2014, 08:01:31 pm

Login with username, password and session length
Search:     Advanced search
9018 Posts in 2046 Topics by 9089 Members
Latest Member: Dariurm
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  General Crystal Space Discussion
| | |-+  LoadImageW' : is not a member of 'iLoader' error
« previous next »
Pages: [1] Print
Author Topic: LoadImageW' : is not a member of 'iLoader' error  (Read 2002 times)
Allked
Newbie
*
Posts: 8


View Profile Email
« on: August 19, 2009, 04:18:48 pm »

 I always get this error when I loading image use this function,here is the code:
Code:
csRef<iImage> img_test1=loader->LoadImage(fileData,CS_IMGFMT_ANY);
I have also tried to use
Code:
img_test1=iio->Load(fileData,CS_IMGFMT_ANY);
which the iio is the iImageIO, but when I use this way to load Image as the same function in the  g2dTest demo ,return value of img_test1.IsValid() are always false,iio.IsValid() and fileData.isValid() are already true,so what's going on? thank you
Logged
jorrit
Administrator
Hero Member
*****
Posts: 1706


View Profile
« Reply #1 on: August 19, 2009, 07:48:30 pm »

You are probably including a windows.h or windows specific file. Don't
do that. This file makes defines that conflict with the CS stuff.

Greetings,
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 4.202 seconds with 16 queries.