Compilation Error with Swordfish Toolsuite

Coding and general discussion relating to the compiler

Moderators: David Barker, Jerry Messina

Post Reply
bitfogav
Registered User
Registered User
Posts: 169
Joined: Sat Oct 09, 2010 1:39 pm
Location: United Kingdom

Compilation Error with Swordfish Toolsuite

Post by bitfogav » Thu May 29, 2014 1:24 am

Hey, I recently got windows 8.1 OS (64bit), and installed Swordfish. I have a problem compiling any programmes including any of the sample codes.
The compiler keeps showing an "ASM Error"
I have tried to completely uninstall Swordfish and reinstall with same results.
I am running the latest swordfish compiler version 2.2.2.2

I have attached the test prog with asm file included?
sf test.zip
(4.7 KiB) Downloaded 167 times
error.jpg
error.jpg (163.17 KiB) Viewed 2714 times
Last edited by bitfogav on Thu May 29, 2014 11:01 am, edited 1 time in total.

User avatar
David Barker
Swordfish Developer
Posts: 1214
Joined: Tue Oct 03, 2006 7:01 pm
Location: Saltburn by the Sea, UK
Contact:

Re: Compilation Error with Swordfish Toolsuite

Post by David Barker » Thu May 29, 2014 8:10 am

I don't have windows 8 so cannot test here. I've tried the installation on windows 7 with no problems so I can only put the problem down to either win 8 or you OS configuration (anti-virus?) - Does anyone else have the same problem with windows 8?

Ralph
Posts: 15
Joined: Tue Apr 01, 2008 3:15 am
Location: Melbourne, Australia

Re: Compilation Error with Swordfish Toolsuite

Post by Ralph » Thu May 29, 2014 8:23 am

I am also running SF 2.2.2.2 on Windows 8.1 64bit and it compiles fine for me. Please let me know if you'd like me to examine any of my Windows settings to help you isolate the problem further.

bitfogav
Registered User
Registered User
Posts: 169
Joined: Sat Oct 09, 2010 1:39 pm
Location: United Kingdom

Re: Compilation Error with Swordfish Toolsuite - *Fixed*

Post by bitfogav » Thu May 29, 2014 11:21 am

Thank you Dave and Ralph for your replies..

Here is a list of things I have tried.
1. I am not using any additional anti-virus (this is a fresh install of windows 8 ), but I did try to disable any anti malware within the system - but did not fix issue.
2. I have set every folder/exe etc with "run as admin" - did not fix issue.
3. Tried to install Swordfish into different folders etc - did not fix the issue.
4. Run windows in safe mode - but same results.

This is how I have fixed the issue with my system:
I have a Swordfish short-cut on my desktop - Right click on short-cut -> Properties
There is a Tab within the Properties which is called "Compatibility" In here I have selected "run as admin" and also Run Swordfish
Compatibility Mode "Vista (Service Pack 2)", this has fixed the ASM Error messages and everything compiles correctly.

I hope this helps anyone else who may have the same issue?.
CompatibilityMode.png
CompatibilityMode.png (17.68 KiB) Viewed 2699 times
Just in case anyone wanted to compare the asm files I have attached the compiled code after a successful compile:
sf test fixed.zip
(7.66 KiB) Downloaded 203 times

User avatar
Jason
Posts: 50
Joined: Mon Mar 10, 2008 1:10 pm
Location: Australia

Re: Compilation Error with Swordfish Toolsuite

Post by Jason » Tue Jun 10, 2014 2:18 pm

Guys, this forum is so cool.

I just got a second hand macbook air (off my daughter, since I got her a new windows 8 one) and I've just put windows 8.1 on it and was just about to install Swordfish on it and get going with some projects, and I thought I'd just check in with the crew to see whats new, and straight away answers to my imminent problems. This is the shit!!

Swordfish is Awesome. Thanks David!

Jason.
Down under, Perth, Western Australia.

Post Reply