#69644 - bmnb1234 - Tue Jan 31, 2006 10:24 pm
Hi
I followed the GBA Development with Eclipse IDE HOWTO link on these forums I followed the how to but when I got the point of compiling I got these errors.
http://forum.gbadev.org/viewtopic.php?t=5271
*** missing separator. Stop. makefile Finish line 35
Error launching external scanner info generator (gcc -E -P -v -dD c:/temp/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp) Finish
File not indexed because it was not built main.cpp Finish
VisualBoyAdvance-SDL version 1.7
Windows version
Seaching for file VisualBoyAdvance.cfg
Searching current dir: C:\eclipse
Searching user profile directory: C:\Documents and Settings\publicuser
Searching executable directory
Reading configuration file.
Error opening image c:\temp\Finish\Finish.gba
Failed to load file c:\temp\Finish\Finish.gba
What am I doing wrong?
Also I got on the Handheld Development Environment (HDE) but I could not download the plugging. Is there any benefit to using these over the Eclipse IDE HOWTO way if so where can I download them.
http://hde.gamedev.at/content/view/2/5/
Thank you for your time!
Jason
#69657 - tepples - Tue Jan 31, 2006 11:57 pm
Nine times out of ten, "missing separator" means you used a space where you should have used an actual tab character (U+0009).
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#69695 - NoMis - Wed Feb 01, 2006 8:46 am
HDE provides you a build manifest for the managed build functionality of CDT. It does so by extending the GNU build manifest and add GBA/ARM specific settings like the -specs and the -mthumb, -marm and -mthumb-interwork flags.
It is nice if you don't want to write the makefile on your own.
It also speeds up integrated debugging with gdb and vba. It extends the standart C/C++ debug launch and automatically launches VBA. With the launch shortcut your also able to debug with a single click.
Please take a look at installation guide you like to use it.
I just realized that I need to put up a download or Install section in the main menu to make things more clear.
I also hope that I get some time again to work on it and provide an NSIS installer that makes installation super easy.
NoMis
_________________
www.gamedev.at - The austrian gamedev site
hde.gamedev.at - The Handheld Dev Env plugins for Eclipse
#69719 - bmnb1234 - Wed Feb 01, 2006 2:56 pm
The problem is when I go to the website go to the free plugin section http://hde.gamedev.at/update/ it is down could some please emaill it to me at.
mach1gaming10@gawab.com
#69732 - NoMis - Wed Feb 01, 2006 4:07 pm
Seems that the update site refuses to work under Eclipse 3.2. It works fine if I try it under 3.1.2.
I packed the plugins and put them on http://hde.gamedev.at/upload/hde_0.1.zip
I already tested the plugins within 3.2 and they are working. Future development will take place in 3.2.
NoMis
_________________
www.gamedev.at - The austrian gamedev site
hde.gamedev.at - The Handheld Dev Env plugins for Eclipse
#69735 - bmnb1234 - Wed Feb 01, 2006 4:33 pm
Thanks I wil give the a shot!
#69822 - naleksiev - Thu Feb 02, 2006 5:27 am
Hello,
First I want to thank you guys for this great plug-in. Unfortunately I'm using Eclipse for second time and for the first with C/C++ and I spend 1 day trying to configure my project without big success. I even couldn't set include and lib folders. I tried to add my include folder in "Properties->C/C++ Include & Symbols" - it doesn't work. I set the library folder in "Properties->C/C++ Project Paths->Libraries" - I don't know is it work or not.
I deside to skip this step just to see can I make the rest of the thinks to work. But againt everyting was against me - If i try to run or debug my project I receive message box that says "The file does not exist for the external tool named VisualBoyAdvance SDL" - I have no ideia what this message means.
Tommorow I will continue fighting with this plug-in. But if you guys have some free time it will be great if you explain with more details the last point of Project Creation from the help of the plug-in - "You can set up the ARM and GBA specific options at the "GBA Options" section.".
Thanks again.
#69845 - NoMis - Thu Feb 02, 2006 9:13 am
I don't know why the Include & Library path's should not work. Are you seeing them passed to the command line?
I can take a look at it when I'm at home again.
Regarding VBA. Formery the path to the VBA executable was stored in the launch configuration dialog but is now centralized and can be changed in the preference dialog.
By default it just calls visualboyadvance-sdl.exe. So you can either add the visualboy directory to the path environment variable or set the full path to VisualBoy in the preferences.
For the most features in HDE there is a guide in the Online Help. There is a collection of great development links provided in the help as well.
There is a GBA Development section in the main help toc that contains all the help files i have written.
NoMis
_________________
www.gamedev.at - The austrian gamedev site
hde.gamedev.at - The Handheld Dev Env plugins for Eclipse
#69860 - naleksiev - Thu Feb 02, 2006 2:00 pm
Thanks for the reply. I will try to fix the VBA.
About the Include & Library paths thay are not passed to the command line. I tried to change the make file but it's automaticaly generated so every time that I press build a new make file overwrite my changes. I tried to add the paths before creating starting "Create Make Target..." the result is the same.
I will post the solution here if I found such.
#69863 - NoMis - Thu Feb 02, 2006 2:29 pm
Thats the intention of the managed makefile project. It will generate your makefiles automatically so you don't have to change them. That way you can of course don't change them manually.
I tried the addition of Includes and Libraries and thats what I found out.
- Include directories are passed just fine
- Library search path gets passed just fine
- Libraries are not passed at all
I currently have no Idea why it is not passing the libraries. I'll investigate the issue.
NoMis
_________________
www.gamedev.at - The austrian gamedev site
hde.gamedev.at - The Handheld Dev Env plugins for Eclipse
#69936 - naleksiev - Fri Feb 03, 2006 2:12 am
Hello,
I found the VBA-SDL config field pretty hard :). Now when I press Run the VBA starts I can see my test application, but one error occure.
The message box title is "Lunching"
The error is "Error starting process"
I have 2 buttons OK and Details >>
In details I can see 3 times "Exec error:Launching failed"
Any ideas?
P.S.1. I suppose to have 3 include folders 2 of them must come from the workspace. I don't see any of these folders in the console log.
This is everything: arm-elf-g++ -O0 -g3 -Wall -c -fmessage-length=0 -mthumb -mthumb-interwork -osrc/Main.o ../src/Main.cpp
P.S.2. I recieve the same error with Debug but I don't see any emulator.
I tried a couple of times to reconfigurate everything from scrach but the result is the same. I have no more ideas...
My Eclipse version is 3.1.2 Build id: M20060118-1600
VBA version is VisualBoyAdvance-1.7.2-SDL-Win32
devkitPro version is 1.2.5
Please tell me if I need to change something. THank you
Thanks
#69953 - naleksiev - Fri Feb 03, 2006 6:31 am
At least I have a working include path. I was adding it on the wrong place. Actualy it's not looking wrong, ut maybe it is not for managed make files.
If someone has the same problems - you need to add path to include folders from:
Project->Properties->C/C++ Buil->Tool Settings->GCC C++ Compiler->Directories
The rest of the issues still remain.
#69960 - NoMis - Fri Feb 03, 2006 9:54 am
After the launching error please switch to the debug perspective and check if VisualBoyAdvance-SDL is running.
If this is true it probably does not find arm-elf-gdb. I guess you installed Insight.
To check this open a command prompt and type arm-elf-gdb. If the command is not found it does not find the debugger.
There are 2 possible solutions to make eclipse find the debugger.
The debugger is set up in the launch configuration under the debugger tab. If you used the launch shortcut the debugger command is set to "arm-elf-gdb".
You can either change that to contain the absolute path to your debugger or add the bin directory of Insight to your path environment variable.
I also checked why it does not add the libraries and have currently no idea why. It seems to ignore the -l options alltogether. I'll check that in detail this weekend.
NoMis
_________________
www.gamedev.at - The austrian gamedev site
hde.gamedev.at - The Handheld Dev Env plugins for Eclipse
#70180 - naleksiev - Sat Feb 04, 2006 9:49 pm
Everything looks configured correct, but I still receive these "Exec error:Launching failed" errors when I tried to run/debug.
I still can't debug at all. My emulator freezes. After a minute I stop it and then this log appear in the console:
Code: |
VisualBoyAdvance version 1.7.2 [SDL]
Searching for file VisualBoyAdvance.cfg
Searching current directory: D:\GbaDev\Eclipse
Searching user profile directory: C:\Documents and Settings\aleksiev
Searching executable directory
Reading configuration file.
Parsing debug info
Unknown TAG 39
Unknown TAG 34
Unknown TAG 34
Unknown TAG 34
Unknown TAG 34
Unknown TAG 34
Unknown TAG 34
Unknown TAG 34
Unknown TAG 34
Unknown TAG 34
Searching for file vba-over.ini
Searching current directory: D:\GbaDev\Eclipse
Searching user profile directory: C:\Documents and Settings\aleksiev
Searching executable directory
vba-over.ini NOT FOUND (using emulator settings)
Listening for a connection at port 10000
Got a connection from 127.0.0.1 3331
Color depth: 32
Shutting down
Closing remote socket
Closing listen socket |
Any Ideas?