Ghost linker errors
Moderator: InsideQC Admins
8 posts
• Page 1 of 1
Ghost linker errors
I have been working with Darkplaces, and I was able to Compile. it seems that after I close msvc or Dev c++, and reopen, then compile, I get a swarm Of linker errors. But When I start fresh again, and copy over my code progress, it compiles just fine. There is No errors, and a few unused int warnings, but nothing that would cause Link problems.
Any ideas? This is getting pretty annoying...
Any ideas? This is getting pretty annoying...
-

Mexicouger - Posts: 514
- Joined: Sat May 01, 2010 10:12 pm
I cleaned it, and it didn't fix the problem. There are still linker errors. There is alot that say like u8_xxx. Like...
u8_strpad
u8_encodech
u8_fromchar
etc...
u8_strpad
u8_encodech
u8_fromchar
etc...
-

Mexicouger - Posts: 514
- Joined: Sat May 01, 2010 10:12 pm
My understanding is that the "correct" way to compile DarkPlaces is type going to the command line (Start -> Run -> cmd.exe) and switching to the DarkPlaces folder and typing "make".
This brings up a big menu of DarkPlaces compiling options.
In the past, I have never had a problem of compiling DarkPlaces with MSVC6 but I have not tried to compile very recent DarkPlaces.
DarkPlaces binaries are generally compiled on Linux for Windows via cross-compilers if I understand this correctly. I'm guessing this is the MinGW compiler.
This brings up a big menu of DarkPlaces compiling options.
In the past, I have never had a problem of compiling DarkPlaces with MSVC6 but I have not tried to compile very recent DarkPlaces.
DarkPlaces binaries are generally compiled on Linux for Windows via cross-compilers if I understand this correctly. I'm guessing this is the MinGW compiler.
The night is young. How else can I annoy the world before sunsrise?
Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
-

Baker - Posts: 3666
- Joined: Tue Mar 14, 2006 5:15 am
It sounds like whatever project file you're using is out of date. The u8_* functions are defined in utf8lib.c. If you're using MSVC6, that project file probably isn't kept up to date very zealously.
And what do you mean when you say "starting fresh again"? You mean with a clean svn checkout?
And what do you mean when you say "starting fresh again"? You mean with a clean svn checkout?
F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe.
- Sajt
- Posts: 1215
- Joined: Sat Oct 16, 2004 3:39 am
I've compiled recent versions of DP using MSVC++ 2008 Express without any trouble at all. You literally just load it up, hit Ctrl-Shift-B, and a few minutes later there it is. It's a long long long time since I've used earlier versions of MSVC, and if you're still using 6 you really should move up.
Dev-C++ is a load of crap, by the way. Why you shouldn’t use Dev-C++
Dev-C++ is a load of crap, by the way. Why you shouldn’t use Dev-C++
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
We knew the words, we knew the score, we knew what we were fighting for
-

mh - Posts: 2292
- Joined: Sat Jan 12, 2008 1:38 am
What I mean by starting fresh again, Is taking the DP source(no modified changes), and compiling it, and re-adding my changes.
I used to be able to compile on Dev c++ just fine. Now I am getting the linker errors. The linker errors show up on MSVC 08 as well. my Version says Microsoft visual c++ 2008 express edition.
I got my DP source from this place:
http://icculus.org/twilight/darkplaces/
I used to be able to compile on Dev c++ just fine. Now I am getting the linker errors. The linker errors show up on MSVC 08 as well. my Version says Microsoft visual c++ 2008 express edition.
I got my DP source from this place:
http://icculus.org/twilight/darkplaces/
-

Mexicouger - Posts: 514
- Joined: Sat May 01, 2010 10:12 pm
Mexicouger wrote:I used to be able to compile on Dev c++ just fine. Now I am getting the linker errors.
Mexicouger wrote:http://icculus.org/twilight/darkplaces/
Problem Exists Between Keyboard And Chair?
The night is young. How else can I annoy the world before sunsrise?
Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
-

Baker - Posts: 3666
- Joined: Tue Mar 14, 2006 5:15 am
8 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest
