Author Topic: Running on linux  (Read 14488 times)

bradrh

  • Newbie
  • *
  • Posts: 1
    • View Profile
Running on linux
« on: January 02, 2012, 06:26:33 PM »
I'm trying to get topofusion running on my linux box (ubuntu 10.04).   I found 1 post here from about 1 yr ago where some guy had it working, but no tips on how to get it working.   I found this which showed how to install directX, but it was about 3 yrs old:
http://www.handlebarsandwich.com/topofusion-on-linux
I followed those instructions, but got some errors, after some googling I found this, which said DO NOT DO IT THAT WAY:
http://wiki.winehq.org/FAQ#head-fbaa851e07d7484640cc10b6d0c48abc741260b2
"8.1. Does Wine support DirectX? Can I install Microsoft's DirectX under Wine?

Wine itself provides a DirectX implementation that, although it has a few bugs left, should run fine. Wine supports DirectX 9.0c at this time. Plans for DirectX 10 are underway.

/!\ If you attempt to install Microsoft's DirectX, you will run into problems. It is not recommended nor supported by Wine HQ to attempt this... "

So I uninstalled wine & directX & started over.  Got much further this time,  it was still needing at least 1 dll, (err:module:import_dll Library MSVBVM60.DLL (which is needed by L"C:\\windows\\system32\\COMCT332.OCX") not found).   So, based on another web suggestion I used winetricks to get past that:
winetricks vcrun6 vb6run

That got me further, but now when I try to run topofusion I get this error:
"Can't initialize DirectX: Couldn't load 'point' tga"

Any ideas out there?   

donXfive

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Running on linux
« Reply #1 on: February 25, 2012, 11:14:13 AM »
In my recent fiddling with wine I renamed my .wine directory and did a clean re-install of both wine and TF. I got the same errors you (bradrh) got, switched back to my old directory, still got errors until I re-installed MSVBVM60.DLL.

dianblake

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Transport Essay
Re: Running on linux
« Reply #2 on: July 10, 2013, 04:16:39 AM »
Same problem here, still fixing.

varxx

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Running on linux
« Reply #3 on: November 02, 2013, 07:20:13 AM »
I'm also trying to get TF 4.81 running on Linux using Wine (actually, I'm using CrossOver Office by Codeweavers, a implementation of Wine), so I guess I should add to this thread rather than start a new one.

The showstopper I get, when I try to install into a Windows XP "bottle", is this message: "GPXMaster.ocx failed to register. If you are updating, check to make sure TopoFusion isn't running. If this is a new install, make sure you have DirectX9 and contact support@topofusion.com for help."

If I choose to see detailed info from the TF installation routine, I get this as the final line:

Code: [Select]
Output folder: C:\users\crossover\My Documents\My TopoFusion Files\GIS
Create folder: C:\users\crossover\Start Menu\Programs\TopoFusion
Create shortcut: C:\users\crossover\Start Menu\Programs\TopoFusion\TopoFusion.lnk
Create shortcut: C:\users\crossover\Start Menu\Programs\TopoFusion\TopoFusion Readme.lnk
Create shortcut: C:\users\crossover\Start Menu\Programs\TopoFusion\TopoFusion Revision History.lnk
Create shortcut: C:\users\crossover\Start Menu\Programs\TopoFusion\TopoFusion Manual.lnk
Create shortcut: C:\users\crossover\Start Menu\Programs\TopoFusion\Reset TF to Default Settings.lnk
Create shortcut: C:\users\crossover\Start Menu\Programs\TopoFusion\TopoFusion Diagnostic Log.lnk
Create shortcut: C:\users\crossover\Start Menu\Programs\TopoFusion\Uninstall.lnk
Extract: city-small.gpx... 100%
Extract: continents.gpx... 100%
Extract: states.gpx... 100%
Output folder: C:\Program Files\TopoFusion
Extract: GPSMaster.ocx... 100%
Extract: License.rtf... 100%
Extract: Readme.rtf... 100%
Extract: TopoFusion.exe... 100%
Extract: revhistory.rtf... 100%
Output folder: C:\Program Files\TopoFusion
Create folder: C:\users\crossover\My Documents\My TopoFusion Files
Created uninstaller: C:\Program Files\TopoFusion\uninstall.exe
Extract: C:\windows\system32\MSCOMCTL.OCX... 100%
Registering: C:\windows\system32\MSCOMCTL.OCX
Extract: C:\windows\system32\COMCT332.OCX... 100%
Could not load: C:\windows\system32\COMCT332.OCX


I've tried installing DirectX9 into another WinXP bottle, then installing TF into that bottle. I get the same messages.

And here is the installation log generated at my request by CrossOver Office (Wine):

Code: [Select]
** Sat Nov  2 10:16:36 2013
Starting '/home/clawuefi/cxoffice/bin/wineloader' 'winewrapper.exe' '--workdir' '/home/clawuefi/.cxoffice/Microsoft DirectX Runtime - Modern/dosdevices/c:/Program Files/TopoFusion' '--start' '--'
'/home/clawuefi/.cxoffice/Microsoft DirectX Runtime - Modern/dosdevices/../drive_c/Program Files/TopoFusion/TopoFusion.exe'

Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 15: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 15: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 15: reading configurations from ~/.fonts.conf is deprecated.
fixme:exec:SHELL_execute flags ignored: 0x00000100
err:module:import_dll Library MSVBVM60.DLL (which is needed by L"C:\\Program Files\\TopoFusion\\TopoFusion.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\TopoFusion\\TopoFusion.exe" failed, status c0000135

I normally have good results with this approach to using Wine, and I have a handful of Windows apps that I use from time to time on my Linux machine (ArchLinux). This problem has me stymied, though.

Thanks.

ScottMorris

  • Administrator
  • Sr. Member
  • *****
  • Posts: 2756
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Re: Running on linux
« Reply #4 on: November 05, 2013, 09:17:12 PM »
Hmm, COMCT332.OCX and MSVBVM60.DLL are both components of visual basic, which TopoFusion.exe uses.  They are pretty standard deals, for older software anyway.  Searching for getting VB6 applications to install on wine could lead somewhere.

I could try an installer than doesn't include the standard VB files, but they'll be needed somewhere if it's going to run.
Scott Morris - founder and co-author of TopoFusion
email: smorris@topofusion.com