by Roody_Yogurt » Fri Dec 30, 2011 10:08 pm
Tdarcos, if you are using the Windows frontend, go to Setup under Options and make sure it's all pointing at the right directories. I mean, you're right, it should see a library file in the same directory as the source file, but it's good to make sure your paths are set correctly just to be safe.
Also, as far as the frontend goes, I've found that you can run into problems if you do too much directory-hopping in one session. If you want to compile a file in a new directory, close out completely and start again.
Otherwise, if you are using Windows but aren't using the frontend (hcwin.exe), I recently found the usefulness of Hugo's environment variables support. If you don't already use environment variables, look up where to change them in your version of Windows.
Then, make a HUGO_LIB entry that points to where you keep your library files. Then, make a HUGO_OBJECT entry if you want every compiled file to go to the same directory (I like having new compiles go straight to my Desktop).
This way, you don't have to worry about any paths at compile time.
Anyhow, I have to think that most, if not all, of your recent problems are due to files not getting included properly. There's no reason you should have to go creating your own characters like that.
Tdarcos, if you are using the Windows frontend, go to Setup under Options and make sure it's all pointing at the right directories. I mean, you're right, it [i]should[/i] see a library file in the same directory as the source file, but it's good to make sure your paths are set correctly just to be safe.
Also, as far as the frontend goes, I've found that you can run into problems if you do too much directory-hopping in one session. If you want to compile a file in a new directory, close out completely and start again.
Otherwise, if you are using Windows but [i]aren't[/i] using the frontend (hcwin.exe), I recently found the usefulness of Hugo's environment variables support. If you don't already use environment variables, look up where to change them in your version of Windows.
Then, make a HUGO_LIB entry that points to where you keep your library files. Then, make a HUGO_OBJECT entry if you want every compiled file to go to the same directory (I like having new compiles go straight to my Desktop).
This way, you don't have to worry about any paths at compile time.
Anyhow, I have to think that most, if not all, of your recent problems are due to files not getting included properly. There's no reason you should have to go creating your own characters like that.