Visualc++ Devkit???

Anything related in any way to game development as a whole is welcome here. Tell us about your game, grace us with your project, show us your new YouTube video, etc.

Moderator: PC Supremacists

Tvspelsfreak
Chaos Rift Junior
Chaos Rift Junior
Posts: 272
Joined: Wed Sep 29, 2004 5:53 pm
Favorite Gaming Platforms: NES, SNES
Programming Language of Choice: C/C++
Location: Umeå, Sweden
Contact:

Post by Tvspelsfreak »

Check your makefile ([projectname].mak).
My guess is that DEVDIR is incorrect.
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Post by Falco Girgis »

Yeah, I'm almost positive that you're right, Tvspelsfreak.
User avatar
JS Lemming
Game Developer
Game Developer
Posts: 2383
Joined: Fri May 21, 2004 4:09 pm
Location: C:\CON\CON

Post by JS Lemming »

You've done it again! It compiled.. but it did have 1 warning... didn't say what though. is that common?
Small girl at the harbor wrote:Look Brandon, that crab's got ham!
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Post by Falco Girgis »

Actually, it is. I always get at least one warning. I'm sure it's one of two.

1) No newline at end of file

2) No global symbol at nmake blah blah whatever.

If it's the first one, just put a return at the end. If it's the second one, which it always is, who cares? Just forget about it...
User avatar
JS Lemming
Game Developer
Game Developer
Posts: 2383
Joined: Fri May 21, 2004 4:09 pm
Location: C:\CON\CON

Post by JS Lemming »

Ok, about the errors on my compilation. I have narrowed them down and found this after fixing a strange define error. Here are the results:
Deleting intermediate files and output files for project 'PVR_TestGood - Win32 Debug'.
--------------------Configuration: PVR_TestGood - Win32 Debug--------------------
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
C:\DevKitDC\bin\createim c:\DREAMCAST\HOMEBREW\PVR_TestGood\romdisk.img c:\DREAMCAST\HOMEBREW\PVR_TestGood\romdisk
0 rom 41e89117 [0xffffffff, 0xffffffff] 37777777777, sz 0, at 0x0
1 . [0x1000 , 0x26494bf1] 0040755, sz 0, at 0x20
1 .. [0x1000 , 0x1fef2898] 0040755, sz 0, at 0x40 [link to 0x20 ]
C:\DevKitDC\bin\createo c:\DREAMCAST\HOMEBREW\PVR_TestGood\romdisk.img romdisk c:\DREAMCAST\HOMEBREW\PVR_TestGood\romdisk.o
C:\DevKitDC\bin\g++ -o PVR_TestGood.elf romdisk.o startup.o PVR_TestGood.cpp -I C:\DevKitDC\include -I C:\DevKitDC\kernel\arch\dreamcast\include -ml -m4-single-only -O2 -fno-builtin -fno-strict-aliasing -fomit-frame-pointer -fno-optimize-sibling-
calls -nostartfiles -nostdlib -Wl -Ttext=0x8c010000 -L C:\DevKitDC\lib -L C:\DevKitDC\sh-sega-dreamcast\lib -lkallisti -lgcc -ltsunami -lk++ -lparallax -lpcx -lz -lm -Ttext=0x8c010000
In file included from C:/DevKitDC/include/newlib-libm-sh4/math.h:9,
from C:/DevKitDC/include/math.h:17,
from /cygdrive/c/DevKitDC/include/g++-v3/bits/std_cmath.h:40,
from /cygdrive/c/DevKitDC/include/g++-v3/cmath:31,
from PVR_TestGood.cpp:7:
C:/DevKitDC/include/newlib-libm-sh4/sys/reent.h:183: field `_localtime_buf' has
incomplete type
NMAKE : fatal error U1077: 'C:\DevKitDC\bin\g++.exe' : return code '0x1'
Stop.
Error executing NMAKE.

PVR_TestGood.exe - 1 error(s), 0 warning(s)
Maybe you, Tvspelsfreak, recognize that error in the reent.h file?
Small girl at the harbor wrote:Look Brandon, that crab's got ham!
Tvspelsfreak
Chaos Rift Junior
Chaos Rift Junior
Posts: 272
Joined: Wed Sep 29, 2004 5:53 pm
Favorite Gaming Platforms: NES, SNES
Programming Language of Choice: C/C++
Location: Umeå, Sweden
Contact:

Post by Tvspelsfreak »

I sure do, comment out line 183 in reent.h and it'll work.
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Post by Falco Girgis »

I sure remember that too.

I just didn't remember how to fix it.

Damn I always hated that.
User avatar
JS Lemming
Game Developer
Game Developer
Posts: 2383
Joined: Fri May 21, 2004 4:09 pm
Location: C:\CON\CON

Post by JS Lemming »

Compilation Successful. Woot Ya'll!

But why the heck would somebody realese something so big as KOS and not give it just one single test compile before releasing it??? How do you get by with things like that?
Small girl at the harbor wrote:Look Brandon, that crab's got ham!
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Post by Falco Girgis »

That's the only thing I've encountered.

And actually, it really isn't that big. I've never met anybody else besides Tvspels and (I think GPF?) that used this setup.

It is the best, but people normally use that crappy Cygwin setup. . .

Oh, and also, people saying that the DC is only Devvable through Cygwin/Linux doesn't help any. . .
Post Reply