• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Windows OS problems
#2
Hi John,

All platforms are compatible with the same CanelaDB folder that is exported from LCM. The main thing to keep in mind for Windows and Linux is the placement of the CanelaDB folder. The libraries are having trouble finding the Config file. Our provided initializeCanelaDB code may not match the actual location of the CanelaDB folder.

It is just fine to put the CanelaDB folder where you like. We default it to being at the same level as your executable. If this is not the case, simply update the path in the initializeCanelaDB handler to the actual path of the CanelaDB folder.

You should look at this section of the init handler (paying attention to the case "Win32":


Code:
switch the platform
               case "android"
               case "iPhone"
                    put specialFolderPath("engine") & "/CanelaDB/libraries/" into tLibraryPath
                    break
                    
               case "MacOS"
                    put specialFolderPath("resources") & "/CanelaDB/libraries/" into tLibraryPath
                    break
                    
               case "Win32"
               case "Linux"
                    put item 1 to -2 of (the fileName of this stack) into tLibraryPath
                    put "/CanelaDB/libraries/" after tLibraryPath
                    break
end switch
  Reply


Messages In This Thread
Windows OS problems - by Bizbuzz - 04-06-2020, 01:55 PM
RE: Windows OS problems - by mark_talluto - 04-09-2020, 12:30 AM
RE: Windows OS problems - by Bizbuzz - 04-23-2020, 01:52 PM
RE: Windows OS problems - by mark_talluto - 04-23-2020, 04:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)