C Board  

Go Back   C Board > General Programming Boards > C++ Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 06-16-2002, 11:05 AM   #1
Unregistered
Guest
 
Posts: n/a
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?
  Reply With Quote
Old 06-16-2002, 01:10 PM   #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...
ninebit is offline   Reply With Quote
Old 06-17-2002, 04:35 AM   #3
Unregistered
Guest
 
Posts: n/a
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?
  Reply With Quote
Old 06-17-2002, 04:57 AM   #4
&TH of undefined behavior
 
Fordy's Avatar
 
Join Date: Aug 2001
Posts: 5,183
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
__________________
"If A is success in life, then A equals x plus y plus z. Work is x; y is play; and z is keeping your mouth shut."
Albert Einstein (1879 - 1955)


Board Rules
Fordy is offline   Reply With Quote
Old 06-19-2002, 03:01 AM   #5
Unregistered
Guest
 
Posts: n/a
Where is the "All Configuration"??
  Reply With Quote
Old 06-19-2002, 04:54 AM   #6
Me want cookie!
 
Monster's Avatar
 
Join Date: Dec 2001
Posts: 680
Quote:
Originally posted by Unregistered
Where is the "All Configuration"??
If you are using VC++
Project -> Settings -> Settings For:
Monster is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Printer Problems: Cups Configuration problem I Believe Matus Tech Board 0 03-21-2009 12:23 PM
No clue how to make a code to solve problems! ctnzn C Programming 8 10-16-2008 02:59 AM
makefile problems cpjust C++ Programming 4 06-16-2008 03:14 AM
Compiled App as release - won't run - as debug runs XenoCodex Admin C++ Programming 7 08-05-2002 04:43 PM
problem with MSVC++ 6's release mode dirkduck C++ Programming 13 03-23-2002 03:05 PM


All times are GMT -6. The time now is 05:12 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22