Crystal Space
Welcome, Guest. Please login or register.
November 18, 2017, 08:32:25 pm

Login with username, password and session length
Search:     Advanced search
9081 Posts in 2051 Topics by 80411 Members
Latest Member: Uyomkew
* 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 3074 times)
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:
csRef<iImage> img_test1=loader->LoadImage(fileData,CS_IMGFMT_ANY);
I have also tried to use
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
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.

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 3.161 seconds with 16 queries.