October 30, 2025, 08:58:46 AM

News:

IWBasic runs in Windows 11!


no input file

Started by J B Wood (Zumwalt), May 11, 2006, 07:59:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

J B Wood (Zumwalt)

May 11, 2006, 07:59:43 PM Last Edit: May 11, 2006, 08:38:19 PM by zumwalt
I created a new project, placed code in it, I have a global sub main(), but when I try to compile, it tells me, no input file.
Is there something special you have to do to projects to make them compile?

nevermind.. not obvious, but, simply put, although I created my src files and inc files, and the fact I had my project created, even though you create a new src or inc file, it doesn't automatically place it in the project, you will need to add that to the documentation

once you create a project, simply create the src or inc or whatever, with it open, click on Project then Insert File Into Project, it adds it to the project

now to just figure out adding external libraries, I have already done the Project / Insert Library / Object into project, and it stated that it did it... but now new brick walls

Ionic Wind Support Team

You don't need to insert the library in your project.  In any source file you wish to use a static library, or import library that is not included by default:

#use "libraryname.lib"

Ionic Wind Support Team

J B Wood (Zumwalt)

thanks, this is moving along, found a bug, in this alpha, if you compile single and choose windows exe and do not create a windows object, it gets stuck in an endless loop in memory, nothing shows, if you take the same code and make it a console application, this does not occur, test it with the hello.src and you will see what I mean, compile it as a windows exe vs a console exe

need to abort the compile if they are using the wrong type
working on declares at the moment, will get back when i get stuck