Author Topic: Error in Compiling  (Read 25030 times)

0 Members and 2 Guests are viewing this topic.

Offline J B Wood (Zumwalt)

  • Partner Developer
  • Hero Member
  • *****
  • Posts: 1189
    • GameDevOnline
Error in Compiling
« on: May 09, 2011, 12:40:42 PM »
I am in the process of updating the header file for my B3DSDK integration, got the following error, which makes no sense since I only have 1 include in the header and it is my include file which worked before in prior versions of Aurora:

Compiling...
headers
nasm: error: more than one input file specified
nasm: error: more than one input file specified
nasm: error: more than one input file specified
type `nasm -h' for help
Error(s) in assembling "C:\Users\XXX\Documents\Downloads\Blitz\B3DSDK\B3DSDK\headers.asm"
b3dsdk
nasm: error: more than one input file specified
nasm: error: more than one input file specified
nasm: error: more than one input file specified
type `nasm -h' for help
Error(s) in assembling "C:\Users\XXX\Documents\Downloads\Blitz\B3DSDK\B3DSDK\b3dsdk.asm"


Anyone ran across this yet or have an idea?
« Last Edit: May 09, 2011, 01:05:29 PM by J B Wood (Zumwalt) »

Offline DominiqueB

  • Partner Developer
  • Jr. Member
  • *****
  • Posts: 90
Re: Error in Compiling
« Reply #1 on: May 09, 2011, 02:20:54 PM »
i've had the same error onece:

i had to delete the project file and to recreate it completly.

This was after updating aurora, and then after recrated project, all whent ok.

Dominique

Offline J B Wood (Zumwalt)

  • Partner Developer
  • Hero Member
  • *****
  • Posts: 1189
    • GameDevOnline
Re: Error in Compiling
« Reply #2 on: May 09, 2011, 02:46:43 PM »
Thanks! That helped, but something new, my code currently has:

Code: [Select]
#autodefine "off"
#use "b3d.lib"

So it should look in the executable folder for the lib file, but instead it is looking:
Linking...
Aurora Linker v1.0 Copyright ©2005,2006 Ionic Wind Software
Unresolved external __imp_bbBeginBlitz3D
Error: Unable to open file C:\Program Files\Aurora\libs\b3d.lib

This is new as to how it used to handle the #use for lib that I want to use, I have no problem putting it in the lib folder to test, just a heads up

Offline sapero

  • Senior Developer
  • Hero Member
  • *****
  • Posts: 1291
Re: Error in Compiling
« Reply #3 on: May 09, 2011, 09:38:51 PM »
Zumwalt, you could open project options and just clear assembler options, instead deleting project file.

The linker does not look up libraries in project directory, but you can add a library (lib, and even o, obj, res files) from project directory to project input files.

Offline J B Wood (Zumwalt)

  • Partner Developer
  • Hero Member
  • *****
  • Posts: 1189
    • GameDevOnline
Re: Error in Compiling
« Reply #4 on: May 13, 2011, 01:58:34 PM »
I had none of those files with the project, just the source and include files and had the error, no worries though, simply deleting the project file and adding all the files back to the project fixed my problem.

Offline Barney

  • Paid Subscriber
  • Sr. Member
  • *****
  • Posts: 365
Re: Error in Compiling
« Reply #5 on: May 13, 2011, 05:19:03 PM »
B3DSDK is now an obsolete product.
Yes. It works but Mark is not working on it just as he is not really working on Blitz3D anymore.
So, I'd suggest you try Xors3D which does a far better job and is very much in continual development. I did not try it with Aurora but it works great with EBasic so there's no reason why it should not work with Aurora.

As for B3DSDK, i have it ever since it appeared and have created a complete header file with all the functions for EBasic, Perhaps it may make your Aurora header creation a bit easier. Let me know.

Barney
« Last Edit: May 14, 2011, 05:03:49 PM by Barney »

Offline J B Wood (Zumwalt)

  • Partner Developer
  • Hero Member
  • *****
  • Posts: 1189
    • GameDevOnline
Re: Error in Compiling
« Reply #6 on: May 14, 2011, 06:55:40 AM »
I didn't know it was no longer in active development, my header file should work, I tested it out and the functions seem to respond ok in Aurora. I will take a look at the next system that you talked about, I will also look in the EBasic forum area for your header and samples for that system too.  Compiling from one system to the other is pretty straight forward, it is just a matter of moving a few statements around and syntax.

That link you have doesn't work for me, not for that Xors3d thing.
« Last Edit: May 14, 2011, 07:00:01 AM by J B Wood (Zumwalt) »

Offline Barney

  • Paid Subscriber
  • Sr. Member
  • *****
  • Posts: 365
Re: Error in Compiling
« Reply #7 on: May 14, 2011, 05:05:46 PM »
That link you have doesn't work for me, not for that Xors3d thing.
Stupid error on my part. There was an extra "http://" piece inserted into the URL string. It should work now.

Barney

Offline J B Wood (Zumwalt)

  • Partner Developer
  • Hero Member
  • *****
  • Posts: 1189
    • GameDevOnline
Re: Error in Compiling
« Reply #8 on: May 15, 2011, 07:06:32 AM »
Interesting trial license, 30 minute timer, I am barely awake in 30 minutes, $100 for the full indie license isn't bad, that is same as Torque products, you said you created a wrapper for this engine?