• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Programming v
« Previous 1 2 3 4
Need help getting started. Error with "rr(wings)."

 
  • 1 Vote(s) - 5 Average
Need help getting started. Error with "rr(wings)."

micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,676
Threads: 183
Joined: Jun 2012
#4
11-26-2013, 11:05 AM (This post was last modified: 11-26-2013, 11:05 AM by micheus.)
eugene, it seems someone had the same problem and asked at stackoverflow: post - maybe it can help in some way.

anyway, from the beam_lib module help:
Quote:Chunk data can be returned as binaries or as compound terms. Compound terms are returned when chunks are referenced by names (atoms) rather than identifiers (strings). The names recognized and the corresponding identifiers are:
  • abstract_code ("Abst")
also, from the shell module help:
Quote:rr(Module)
Reads record definitions from a module's BEAM file. If there are no record definitions in the BEAM file, the source file is located and read instead. Returns the names of the record definitions read. Module is an atom.

So, you probably need to call the rr() using the wildcard option (check the help linked) and inform the full path to the wings.beam file. Or, just get into the wings's ebin folder - where you will find it (changing the directories) and use the command as you did before.

(11-26-2013, 02:50 AM)eugene Wrote: I am trying to get started with programming for Wings 3D.
I don't think you need to learn this kind of stuff if you intend to code for wings - You don't need to know much from the shell.
It seems you want learn how to use Erlang shell commands.

Something that you can read to start coding wings:
- Exploring Wings3D through the Erlang Shell (for beginners)
- How To Write Wings3D Plugins (for beginners)
and you will need also take a look at some sources just to know what you can find there. Some ones are exporting functions that you don't need to code again.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
Need help getting started. Error with "rr(wings)." - by eugene - 11-26-2013, 02:50 AM
RE: Need help getting started. Error with "rr(wings)." - by ggaliens - 11-26-2013, 04:27 AM
RE: Need help getting started. Error with "rr(wings)." - by ggaliens - 11-26-2013, 09:53 AM
RE: Need help getting started. Error with "rr(wings)." - by micheus - 11-26-2013, 11:05 AM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode