Compiler.h
-
- Posts: 0
- Joined: March 18th, 2006, 10:32 pm
-
- Posts: 0
- Joined: March 18th, 2006, 10:32 pm
<!--QuoteBegin-stumbler+Dec 12 2005, 08:21 PM--><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><div class='genmed'><b>QUOTE(stumbler @ Dec 12 2005, 08:21 PM)</b></div></td></tr><tr><td class='quote'><!--QuoteEBegin-->Hello, <br /><br />I'm attempting to compile the sample app included with the SDK under the VC++ Express enviroment. <br /><br />A compiler.h file is refrenced, but I don't know where to locate it. <br /><br />Can anyone provide help? <br /> </td></tr></table><br /><br />It should be a standard part of your compiler. On Linux I'd have to change the #include from <br /><!--c1--><table width='95%' cellspacing='1' cellpadding='3' border='0' align='center'><tr><td><b><div class='genmed'>CODE</div></b></td></tr><tr><td class='code'><div><!--ec1-->#include <compiler.h><!--c2--></div></td></tr></table><br />to <br /><!--c1--><table width='95%' cellspacing='1' cellpadding='3' border='0' align='center'><tr><td><b><div class='genmed'>CODE</div></b></td></tr><tr><td class='code'><div><!--ec1-->#include <linux/compiler.h><!--c2--></div></td></tr></table><br />or I'd have to create a symbolic link to "move" the file to the right place. <br /><br />So it should exist on your system it just may not be in the standard search path for c/c++ macros.
See <a href='http://concept2.ipbhost.com/index.php?showtopic=366' target='_blank'>this thread</a>, where blairy asked the same question. c2scott's reply was:<br /><br /><i>The sample application code as meant just as that, sample code. It was not intended to be compiled and run as an application directly. <br /><br />Concept2 will include the files in the next release of the SDK.<br /><br />-- Scott</i><br /><br />However, that was more than a year ago and I think the SDK has been updated since then, so what I said above may no longer be the case. Do you have the other files that blairy cites as missing?
In the most recent SDK, the example still looks incomplete and unable to be compiled. <br /><br />Even if you were to define the two or three missing macros from the missing include files, the compiled code still wouldn't run -- because it is also missing the Windows resource (RC) file necessary to compile the dialog. You could recreate these, but at that point you're better off creating your own program using the source and documentation as a guide.<br /><br />Mike