anubis at June 25th, 2003 09:30 — #1
yesterday evening i ran into a strange problem. i suddenly couldn't compile my code anymore. the linker generated a "missing external" error for every line of code where i made a call to the stl. this seemed very strange since the stl has no external libs. as i was to tired to investigate this yesteraday i went to sleep. today i looked at the problem again and tried isolate the error. so i set up a few other test projects. what it came down to is this :
- the code compiles without an error if i compile it into an .exe file.
- the code also compiles into a dll if and that's the big if
--- if the code calling the sdl does not get exported ---
i have not the slightest clue why this error is there and what the solution might be.
if anybody has any ideas on how to solve this... please...
anubis at June 25th, 2003 09:44 — #2
ok, the problem was somehow related to the crt. i told it to link to the non-debug libs even in debug build and after that everything worked fine. now i just need to find out what's going wrong when i link to the debug libs...
anubis at June 25th, 2003 09:58 — #3
ok, now nothing works again. i compiled when i linked to the non-debug libs but it throws an expection when i start it. i'm thinking about reinstalling visual studio...
noor at June 25th, 2003 10:18 — #4
What kind of coding are you using?
what kind of OS are u using?
anubis at June 25th, 2003 11:04 — #5
my stl implementation was stlport...
i found out that the problems i have are related to stlport since the programm compiles with the ms stl. vs totally messes up the project settings when i create a new dll so i'll just have to reinstall it. i never had such an error before. strangest thing i have seen so far.