Descent BB

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

   Descent BB Forum Index > Descent Support > Compiler problems Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Norcimo
Rookie




PostPosted: Fri Jan 13, 2012 2:39 pm View user's profile Reply with quote Send private message

Well, started to learn how to use dallas. but the compiler gives errors.
I got two folders in games- DESCENT and Descent 3. when I moved the cpp file and the dllinit.c to the descent (1) folder' it progressed better, but still an error.

how can I configure that compiler to compile the cpp in it's right folder?

Thanks a lot- omicron.
Norcimo
Rookie




PostPosted: Mon Jan 16, 2012 4:23 pm View user's profile Reply with quote Send private message

ummmm... guys?
I've played a bit with the compilers settings, but the result still looks like that:

"Virtual GCC Compiler layer for Descent 3
Copyright 1999 Outrage Entertainment
Warning: Ignoring malformed command line option: 3\Editor\SDK\osiris
Source: "d:\games\descent\scriptin.cpp"
Output: "d:\games\descent\scriptin.dll"
DLLinit: "D:\GAMES\Descent\dllinit.c"
Debug Info: C7
Warning Level: 3
DLL Type: Level Script
Using gcc.exe found in D:\GAMES\Descent 3\Editor\EGCS\bin
Warning: C7/COFF Debug information not supported, using gcc default debug info
Usage: Descent [switches] input output
Switches:
-include <file> Include the contents of <file> before other files
-imacros <file> Accept definition of marcos in <file>
-iprefix <path> Specify <path> as a prefix for next two options
-iwithprefix <dir> Add <dir> to the end of the system include paths
-iwithprefixbefore <dir> Add <dir> to the end of the main include paths
-isystem <dir> Add <dir> to the start of the system include paths
-idirafter <dir> Add <dir> to the end of the system include paths
-I <dir> Add <dir> to the end of the main include paths
-nostdinc Do not search the system include directories
-nostdinc++ Do not search the system include directories for C++
-o <file> Put output into <file>
-pedantic Issue all warnings demanded by strict ANSI C
-traditional Follow K&R pre-processor behaviour
-trigraphs Support ANSI C trigraphs
-lang-c Assume that the input sources are in C
-lang-c89 Assume that the input sources are in C89
-lang-c++ Assume that the input sources are in C++
-lang-objc Assume that the input sources are in ObjectiveC
-lang-objc++ Assume that the input sources are in ObjectiveC++
-lang-asm Assume that the input sources are in assembler
-lang-chill Assume that the input sources are in Chill
-+ Allow parsing of C++ style features
-w Inhibit warning messages
-Wtrigraphs Warn if trigraphs are encountered
-Wno-trigraphs Do not warn about trigraphs
-Wcomment{s} Warn if one comment starts inside another
-Wno-comment{s} Do not warn about comments
-Wtraditional Warn if a macro argument is/would be turned into
a string if -tradtional is specified
-Wno-traditional Do not warn about stringification
-Wundef Warn if an undefined macro is used by #if
-Wno-undef Do not warn about testing udefined macros
-Wimport Warn about the use of the #import directive
-Wno-import Do not warn about the use of #import
-Werror Treat all warnings as errors
-Wno-error Do not treat warnings as errors
-Wall Enable all preprocessor warnings
-M Generate make dependencies
-MM As -M, but ignore system header files
-MD As -M, but put output in a .d file
-MMD As -MD, but ignore system header files
-MG Treat missing header file as generated files
-g Include #define and #undef directives in the output
-D<macro> Define a <macro> with string '1' as its value
-D<macro>=<val> Define a <macro> with <val> as its value
-A<question> (<answer>) Assert the <answer> to <question>
-U<macro> Undefine <macro>
-u or -undef Do not predefine any macros
-v Display the version number
-H Print the name of header files as they are used
-C Do not discard comments
-dM Display a list of macro definitions active at end
-dD Preserve macro definitions in output
-dN As -dD except that only the names are preserved
-dI Include #include directives in the output
-ifoutput Describe skipped code blocks in output
-P Do not generate #line directives
-$ Do not include '$' in identifiers
-remap Remap file names when including files.
-h or --help Display this information
Descent: Too many arguments
Error compiling "d:\games\descent\scriptin.cpp""


you see? "Ignoring malformed command line option: 3\Editor\SDK\osiris"
no other directory is working.
Dunno what to do now...

Anybody?
Grendel
Ninja Admin




PostPosted: Mon Jan 16, 2012 7:16 pm View user's profile Reply with quote Send private message

Looks like there is a space in a path somewhere, something like "Descent 3"... Try putting quotes ("c:\Descent 3\...") around it.

_________________
Borders? I have never seen one. But I have heard they exist in the minds of some people. -- Thor Heyerdahl
Durch einen Stich bereits geschafft, erschlafft und ohne Saft und Kraft! -- Donald, examining a Deflator Dextrospirillus
Norcimo
Rookie




PostPosted: Tue Jan 17, 2012 7:45 am View user's profile Reply with quote Send private message

That method does not working too. Sad
I really got my "Descent 3" file with a space.
If i'll take it off' it may make some problems...
Any other options?
Norcimo
Rookie




PostPosted: Thu Jan 19, 2012 8:38 am View user's profile Reply with quote Send private message

um... someone?
Grendel
Ninja Admin




PostPosted: Thu Jan 19, 2012 1:02 pm View user's profile Reply with quote Send private message

Maybe this helps ?

_________________
Borders? I have never seen one. But I have heard they exist in the minds of some people. -- Thor Heyerdahl
Durch einen Stich bereits geschafft, erschlafft und ohne Saft und Kraft! -- Donald, examining a Deflator Dextrospirillus
Norcimo
Rookie




PostPosted: Thu Jan 19, 2012 3:16 pm View user's profile Reply with quote Send private message

Not really Sad , I've been there before a lot of time...
I'm perplexed.
What should I do now?
To post it at dateiliste?
At the .net forum?
To change my "Descent 3" file to "Descent3"?
To install the editor somewhere else?

Help!
Grendel
Ninja Admin




PostPosted: Thu Jan 19, 2012 4:19 pm View user's profile Reply with quote Send private message

Easiest way forward is probably to get rid of any spaces in the paths -- there's a good chance that it'll clear up the problem.

_________________
Borders? I have never seen one. But I have heard they exist in the minds of some people. -- Thor Heyerdahl
Durch einen Stich bereits geschafft, erschlafft und ohne Saft und Kraft! -- Donald, examining a Deflator Dextrospirillus
Norcimo
Rookie




PostPosted: Fri Jan 20, 2012 5:54 pm View user's profile Reply with quote Send private message

Messed alot with the compiler, finally made it to work.
That's nice now...

Thanks grendel.
View previous topic :: View next topic  
All times are GMT - 6 Hours
Post new topic   Reply to topic
Jump to:  
   Descent BB Forum Index > Descent Support > Compiler problems

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Image hosting by postimage.org Powered by phpBB © 2001, 2005 phpBB Group