#20 sgl compile errors using MSVC++

Compile/Install
closed-works-for-me
sgl - core (21)
5
2001-05-04
2001-04-20
Anonymous
No

Error message from MSVC++

sglBezierCurveSet.cpp
C:\Program Files\DevStudio\VC\INCLUDE\xmemory(33) : error C2027: use of undefined type
'sglTexture'
Error executing cl.exe.

I have trace this problem to sglStats.hpp
in this file there is the following statement

// forward declare
class sglTexture;

on examining the rest of the file there is no definition of sglTexture
if I replace the class sglTexture with #include sglTexture.hpp
then I am able to compile this file.

Discussion

  • Scott McMillan

    Scott McMillan - 2001-04-24
    • assigned_to: nobody --> mcmillan
     
  • Scott McMillan

    Scott McMillan - 2001-04-24

    Logged In: YES
    user_id=2995

    In version 0.3.0 of SGL, I do not have this problem with
    VC++ 6.0 with all available patches (Service Paks). What
    version of of VC++ and what Service Paks do you have
    installed (I am assuming you are compiling the 0.3.0 release
    of SGL).

    P.S. without logging into sourceforge (or providing an email
    address) I have no way of contacting you directly for this
    information.

     
  • Scott McMillan

    Scott McMillan - 2001-05-04
    • status: open --> closed-works-for-me
     
  • Scott McMillan

    Scott McMillan - 2001-05-04

    Logged In: YES
    user_id=2995

    No one has followed up with more information. I will assume
    that this is a problem with lack of service paks and will
    resolve as "Works For Me." The reporter is requested to
    reopen this bug if this is not the case.

     

Log in to post a comment.