02 February 2011, 14:38 | #1 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,753
|
NDK 3.1 Include file problem.
Hi,
After obtaining the NDK 3.1 include files, I've been unable to use any _LVOxxx names in my source code, such as _LVOOpenLibrary and _LVOOpenScreenTagList. In the case of the exec functions in exec_lib.i, the problem seems to be that all functions need this FUNCDEF thing, and for other libraries there's no libname_lib.i at all! What is going on here? I want to use the NDK 3.1 include files because I only have the Devpak Os 2.x includes, and want to use proper OS 3.0+ include files. Any help is appreciated |
03 February 2011, 03:41 | #2 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
|
Hi Thorham,
please, try to include my "ALL IN ONE" LVOs.i instead of lots of these lib_xyz_lvo.i files. I hope it works for you Tell me if you still need LVOs for other libraries ?!! (Btw, I've renamed some of these 'private' functions) Last edited by PeterK; 03 February 2011 at 03:54. |
03 February 2011, 09:54 | #3 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
|
All the LVOs are in amiga.lib. So you just have to import the symbols you need and link your objects with amiga.lib, when generating the executable.
To make it easier you could use Macros like this: Code:
macro CALLSYS xref _LVO\1 jsr _LVO\1(a6) endm Code:
CALLSYS OpenScreenTagList |
03 February 2011, 18:28 | #4 | ||
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,753
|
Thanks guys
Quote:
Quote:
Perhaps I'll just stick to the 2.x include files instead. Shouldn't matter much for OS 3.0, right? |
||
04 February 2011, 20:58 | #5 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,753
|
Someone on AmigaOrg told me to just generate the LVOs from the C includes. Guess I'll do that instead Problem solved
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Programming on the A1200, NDK 3.1 ? | weiju | Coders. General | 2 | 20 August 2011 22:10 |
Amiga NDK | petemaxi | Coders. General | 4 | 23 May 2011 14:52 |
NDK 3.1 - Original Disks | SuperIO | request.Other | 2 | 16 February 2011 10:40 |
NDK for OS 3.9 | ramon.ortega | request.Apps | 8 | 17 March 2008 22:21 |
Amiga OS 3.9 BoingBags and NDK | MethodGit | request.Apps | 3 | 24 February 2006 11:32 |
|
|