Jump to content


stl problems


4 replies to this topic

#1 anubis

    Senior Member

  • Members
  • PipPipPipPip
  • 2225 posts

Posted 25 June 2003 - 01:30 PM

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... :(
If Prolog is the answer, what is the question ?

#2 anubis

    Senior Member

  • Members
  • PipPipPipPip
  • 2225 posts

Posted 25 June 2003 - 01:44 PM

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...
If Prolog is the answer, what is the question ?

#3 anubis

    Senior Member

  • Members
  • PipPipPipPip
  • 2225 posts

Posted 25 June 2003 - 01:58 PM

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...
If Prolog is the answer, what is the question ?

#4 Noor

    Senior Member

  • Members
  • PipPipPipPip
  • 503 posts

Posted 25 June 2003 - 02:18 PM

What kind of coding are you using?
what kind of OS are u using?
"What ever happened to happily ever after?"

#5 anubis

    Senior Member

  • Members
  • PipPipPipPip
  • 2225 posts

Posted 25 June 2003 - 03:04 PM

windows
vs.net
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.
If Prolog is the answer, what is the question ?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users