Skip to main content
GameDev.net gamedev.net
🔒 Locked

problem compiling in visual studios .net

Started by kenjin Sep 8, 2003 at 3:37 PM 3 replies 1k views
Original Post
kenjin
kenjin
I think I added some line where I wasn''t supposed to and I can''t compile it anymore for some reason. Can anyone deciphere the message below I''d really appreciat it .I looked everywhere. compiling... cl : Command line warning D4026 : options apply to entire command line cl : Command line error D2004 : ''/o'' requires an argument Project : warning PRJ0018 : The following environment variables were not found: $(CG_BIN_PATH) Build log was saved at "file://c:\Documents and Settings\Student1\Desktop\k\Debug\BuildLog.htm" Tutorial 7 - 1 error(s), 1 warning(s) ---------------------- Done ---------------------- Build: 0 succeeded, 1 failed, 0 skipped
games rule
JonStelly
JonStelly
/o is the optimization compiler flag. Normally in the form of /O1 or similiar.
kenjin
kenjin
thanks I''m not sure where to fix this but those hints
gives me a direction of where to look. Do I fix it in the properties? I looked all over. Thanks though
-Kenjin
games rule
sbennett
sbennett
quote:
Original post by kenjin
thanks I''m not sure where to fix this but those hints
gives me a direction of where to look. Do I fix it in the properties? I looked all over. Thanks though
-Kenjin


Try Project Settings, then the C/C++ tab. At the bottom should be a large text box with all the command line options in it. Remove /o from this box.

This is for VC++ 6; it may be slightly different for .NET.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.