Mail Archives: djgpp/2000/12/29/20:51:39
>
> Krogg wrote:
>
> > I want to convert some of my eyecandy programs to
> > windows screen savers.I have MSVC 4.0 and the latest
> > allegro dlls/headers/and librarys...I figured the
> > best thing to do was to try to compile the screen
> > saver that comes as an example,but i cant get around
> > this hurdle:
> >
> > LIBC.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
> >
> > I am assuming that someone here has succesfully compiled the
> > example screensaver and can lend a hand...
> >
> > So,what kind of moronic oversight have i had?...
"A. Jans-Beken" wrote:
>
> Had similar problems... Try to add the line
> END_OF_MAIN()
> right after your main() function. That may help.
>
> Example:
> int main() { /* your code */ }
> END_OF_MAIN()
Thank you for your reply,please ignore the rest of this post.
I all ready tried that,but that doesnt work...(for the screen
saver example that i downloaded,i CAN compile some other things)
The best part is that after compiling another example that i found
on a "allegro+msvc howto" site and the allegro dll page
faulted...I run it through the debugger and find the problem
is in install_allegro()....so i download the precompiled
demo to see if that is cause my .lib and .dll's are not
the same and i find that it crashes with the same message.
There is some problem with the dlls somewhere in install_allegro()
that wont work on my box....I even tried putting in SYSTEM_NONE
just to see if it was a problem with my hardware,but it still
crashed...
I am getting fustrated to death...
I really want to keep using allegro,as i have come to like it,but
somehow the stars are against me.......
I cant take it anymore.......I have stayed up over 2 days trying
everything under the sun to get this to work.I quit...I dont know
what pitfalls there are in DX but I am going to start down that
path now and see where it leads......Oh ya,and while i am venting
i might as well say that...never mind......I might regret it....
For anyone who read this far,
be cool.........
--
.sig went crazy.
- Raw text -