Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Problem with .dll and .lua
Started by sleczek.mateusz Oct 23 2018 03:04 PM

2 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

sleczek.mateusz

[GLOBAL: userInfoPane.html]
sleczek.mateusz
  • Observer

  • 3 posts
  • Corona SDK

Im making a side scroller with a physic "space ship" and when i tried to add a physic engine to my main and restarted a simulator it showed up. Any tips ? 

 

 

13:06:44.760  ERROR: Runtime error
13:06:44.760  module 'physic' not found:
13:06:44.760  no field package.preload['physic']
13:06:44.760  no file 'C:\Users\slecz\AppData\Roaming\Corona Labs\Corona Simulator\Plugins\physic.lua'
13:06:44.760  no file 'C:\Users\slecz\Desktop\GRA\physic.lua'
13:06:44.760  no file 'C:\Program Files (x86)\Corona Labs\Corona\Resources\physic.lua'
13:06:44.760  no file '.\physic.lua'
13:06:44.760  no file 'C:\Program Files (x86)\Corona Labs\Corona\lua\physic.lua'
13:06:44.760  no file 'C:\Program Files (x86)\Corona Labs\Corona\lua\physic\init.lua'
13:06:44.760  no file 'C:\Program Files (x86)\Corona Labs\Corona\physic.lua'
13:06:44.760  no file 'C:\Program Files (x86)\Corona Labs\Corona\physic\init.lua'
13:06:44.760  no file 'C:\Users\slecz\AppData\Roaming\Corona Labs\Corona Simulator\Plugins\physic.dll'
13:06:44.760  no file '.\physic.dll'
13:06:44.760  no file 'C:\Program Files (x86)\Corona Labs\Corona\Resources\physic.dll'
13:06:44.760  no file '.\physic.dll'
13:06:44.760  no file 'C:\Program Files (x86)\Corona Labs\Corona\physic.dll'
13:06:44.760  no file 'C:\Program Files (x86)\Corona Labs\Corona\loadall.dll'
13:06:44.760  no file 'C:\Users\slecz\AppData\Roaming\Corona Labs\Corona Simulator\Plugins\physic.dll'
13:06:44.760  no file '.\physic.dll'
13:06:44.760  no file 'C:\Program Files (x86)\Corona Labs\Corona\Resources\physic.dll'
13:06:44.760  no file '.\physic.dll'
13:06:44.760  no file 'C:\Program Files (x86)\Corona Labs\Corona\physic.dll'
13:06:44.760  no file 'C:\Program Files (x86)\Corona Labs\Corona\loadall.dll'
13:06:44.760  stack traceback:
13:06:44.760  [C]: in function 'require'
13:06:44.760  ?: in function 'require'
13:06:44.760  C:\Users\slecz\Desktop\GRA\main.lua:3: in main chunk


[TOPIC: post.html]
#2

XeduR @Spyric

[GLOBAL: userInfoPane.html]
XeduR @Spyric
  • Contributor

  • 293 posts
  • Corona SDK

Here's a tip: Check for typos. :D

It's "physics" not "physic", see https://docs.coronalabs.com/guide/physics/physicsSetup/index.html.


  • nick_sherman and sleczek.mateusz like this

[TOPIC: post.html]
#3

sleczek.mateusz

[GLOBAL: userInfoPane.html]
sleczek.mateusz
  • Observer

  • 3 posts
  • Corona SDK

Wow, i was 100% sure its physic, thanks anyway. It work's




[topic_controls]
[/topic_controls]