Need help compiling sumthing...
-
- DCEmu Crazy Poster
- Posts: 29
- https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
- Joined: Thu Nov 07, 2002 10:30 pm
- Location: High, So High
- Has thanked: 0
- Been thanked: 0
Need help compiling sumthing...
Ok, I downloaded the source of TrepDos (a partial SNES emulator) and made a couple changes to it (print the value of a unknown variable i need to know) but im not sure how to compile all the files back together. Do I add all the files to a project and then just compile or what?
We are the people our parents warned us about - Jimmy Buffett.
-
- DCEmu Uncool Newbie
- Posts: 2718
- Joined: Tue Apr 09, 2002 8:09 pm
- Location: On top of the World
- Has thanked: 0
- Been thanked: 0
Re: Need help compiling sumthing...
Look for the main file add it to project source and it should find the other files and compile them in automatically. This is how it works in VC++.robertjuric wrote:Ok, I downloaded the source of TrepDos (a partial SNES emulator) and made a couple changes to it (print the value of a unknown variable i need to know) but im not sure how to compile all the files back together. Do I add all the files to a project and then just compile or what?
DNR the current kickass dc programer. Thanks
for the emulator I've been waiting 2 years for.
Thanks to Reaper2k2 also for showing interest into WSC emulation.
Selfbooting for Noobs
for the emulator I've been waiting 2 years for.
Thanks to Reaper2k2 also for showing interest into WSC emulation.
Selfbooting for Noobs
-
- DCEmu Crazy Poster
- Posts: 29
- Joined: Thu Nov 07, 2002 10:30 pm
- Location: High, So High
- Has thanked: 0
- Been thanked: 0
Well...
Well I am using Bloodshed Dev-C++ 4.9 and
I only have the following files:
65c816.cpp
65c816.h
adrsmode.cpp
adrsmode.h
memory~1.cpp
memory~1.h
opcodes1.cpp
opcodes1.h
regist~1.h
snesstru.h
trepdos.cpp - Main File ??
and some other misc files, do I create a new empty project and put all of these in there and compile??
I only have the following files:
65c816.cpp
65c816.h
adrsmode.cpp
adrsmode.h
memory~1.cpp
memory~1.h
opcodes1.cpp
opcodes1.h
regist~1.h
snesstru.h
trepdos.cpp - Main File ??
and some other misc files, do I create a new empty project and put all of these in there and compile??
We are the people our parents warned us about - Jimmy Buffett.
- toastman
- Iron Fist of Justice
- Posts: 4933
- Joined: Sat Nov 10, 2001 3:08 am
- Location: New Orleans
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Well...
You need to put all of the .cpp files in the project.robertjuric wrote:Well I am using Bloodshed Dev-C++ 4.9 and
I only have the following files:
65c816.cpp
65c816.h
adrsmode.cpp
adrsmode.h
memory~1.cpp
memory~1.h
opcodes1.cpp
opcodes1.h
regist~1.h
snesstru.h
trepdos.cpp - Main File ??
and some other misc files, do I create a new empty project and put all of these in there and compile??
No signature.
-
- DCEmu Crazy Poster
- Posts: 29
- Joined: Thu Nov 07, 2002 10:30 pm
- Location: High, So High
- Has thanked: 0
- Been thanked: 0
ok
oh i tried to compile all of them together and it was takin forever so i quite compiling it. So then what do i do with the .h files??
We are the people our parents warned us about - Jimmy Buffett.
- toastman
- Iron Fist of Justice
- Posts: 4933
- Joined: Sat Nov 10, 2001 3:08 am
- Location: New Orleans
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: ok
Ignore. The source code should have lines like: #include "stuffystuff.h"robertjuric wrote:oh i tried to compile all of them together and it was takin forever so i quite compiling it. So then what do i do with the .h files??
The include directive pretty much copies and pastes whatever is in the included file directly into the current file.
No signature.