Thread: Release Configuration Problems

  1. #1
    Unregistered
    Guest

    Release Configuration Problems

    In my application, i have several structures and directx8 objects (its a directx8 application). When I compile as DEBUG Configuration, it works fine. But when I switch to the RELEASE, it generates literally hundreds of errors, errors that werent when i compiled with the debug conf. Any ideas to what it might be?
    Some errors are:

    Code:
    G:\RT C++\Rendertech\input.cpp(14) : warning C4273: 'RTInputServer::RTInputServer' : inconsistent dll linkage.  dllexport assumed.
    G:\RT C++\Rendertech\input.cpp(15) : error C2065: 'loger' : undeclared identifier
    G:\RT C++\Rendertech\input.cpp(15) : error C2228: left of '.WLog' must have class/struct/union type
    G:\RT C++\Rendertech\input.cpp(16) : error C2228: left of '.WLog' must have class/struct/union type
    G:\RT C++\Rendertech\input.cpp(18) : error C2065: 'g' : undeclared identifier
    G:\RT C++\Rendertech\input.cpp(18) : error C2227: left of '->Misc' must point to class/struct/union
    G:\RT C++\Rendertech\input.cpp(18) : error C2228: left of '.EnApp' must have class/struct/union type
    G:\RT C++\Rendertech\input.cpp(18) : error C2228: left of '.hInstance' must have class/struct/union type
    G:\RT C++\Rendertech\input.cpp(19) : error C2227: left of '->Input' must point to class/struct/union
    G:\RT C++\Rendertech\input.cpp(19) : error C2228: left of '.input8' must have class/struct/union type
    G:\RT C++\Rendertech\input.cpp(21) : error C2228: left of '.WLog' must have class/struct/union type
    G:\RT C++\Rendertech\input.cpp(23) : error C2228: left of '.WLog' must have class/struct/union type
    G:\RT C++\Rendertech\input.cpp(25) : error C2228: left of '.WLog' must have class/struct/union type
    G:\RT C++\Rendertech\input.cpp(26) : error C2227: left of '->Input' must point to class/struct/union
    G:\RT C++\Rendertech\input.cpp(26) : error C2228: left of '.input8' must have class/struct/union type
    G:\RT C++\Rendertech\input.cpp(26) : error C2227: left of '->CreateDevice' must point to class/struct/union
    G:\RT C++\Rendertech\input.cpp(26) : error C2227: left of '->Input' must point to class/struct/union
    G:\RT C++\Rendertech\input.cpp(26) : error C2228: left of '.inpdev8' must have class/struct/union type
    G:\RT C++\Rendertech\input.cpp(28) : error C2228: left of '.WLog' must have class/struct/union type
    G:\RT C++\Rendertech\input.cpp(30) : error C2228: left of '.WLog' must have class/struct/union type
    G:\RT C++\Rendertech\input.cpp(32) : error C2228: left of '.WLog' must have class/struct/union type
    G:\RT C++\Rendertech\input.cpp(33) : error C2227: left of '->Input' must point to class/struct/union
    G:\RT C++\Rendertech\input.cpp(33) : error C2228: left of '.inpdev8' must have class/struct/union type
    G:\RT C++\Rendertech\input.cpp(33) : error C2227: left of '->SetDataFormat' must point to class/struct/union
    G:\RT C++\Rendertech\input.cpp(35) : error C2228: left of '.WLog' must have class/struct/union type
    and so on.. help pls?

  2. #2
    Registered User
    Join Date
    Feb 2002
    Posts
    114
    are you includeing all librarys you need? so you not only include them in the debug version...

  3. #3
    Unregistered
    Guest
    I think Im using the DX8 SDK in the debug version. What should I do to fix that? Is there a way to make the dx8 sdk released version, so i can compile with the approprtiate libs?

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    With VC++, make sure you click "All Configuration" when changing project options that are not specific to DEBUG or RELEASE...

    Look in the debug configuration and see if any libs are there that are missing from the release configuration

  5. #5
    Unregistered
    Guest
    Where is the "All Configuration"??

  6. #6
    Me want cookie! Monster's Avatar
    Join Date
    Dec 2001
    Posts
    680
    Originally posted by Unregistered
    Where is the "All Configuration"??
    If you are using VC++
    Project -> Settings -> Settings For:

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 0
    Last Post: 03-21-2009, 12:23 PM
  2. No clue how to make a code to solve problems!
    By ctnzn in forum C Programming
    Replies: 8
    Last Post: 10-16-2008, 02:59 AM
  3. makefile problems
    By cpjust in forum C++ Programming
    Replies: 4
    Last Post: 06-16-2008, 03:14 AM
  4. Compiled App as release - won't run - as debug runs
    By XenoCodex Admin in forum C++ Programming
    Replies: 7
    Last Post: 08-05-2002, 04:43 PM
  5. problem with MSVC++ 6's release mode
    By dirkduck in forum C++ Programming
    Replies: 13
    Last Post: 03-23-2002, 03:05 PM