Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Compiling question from a programming idiot  (Read 3344 times)

0 Members and 1 Guest are viewing this topic.

lcmgadgets

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 471
  • Last login:July 31, 2023, 01:46:12 pm
  • Can u guess what game this image is from?
Compiling question from a programming idiot
« on: January 07, 2022, 01:30:08 pm »
Hi again, all.
I'm back again, working on my endless project Legacy. & I'm trying to pick up where I left off, on the automated rotating monitor, which is where I threw my hands up in frustration some time ago & gave up for a while. I'm following weissaupt's plans, & he very helpfully provided me with one on one help which got me to where I can actually run a motor out of a parallel port, & incredible feat for me given my knowledge.
He also gave me an updated copy of the program he used to drive the motor, which works beautifully for him....but only gives back error messages for me. I edited the text copy of the program he provided following his advice, & tried to compile it using microsoft visual studio....without success. The compiler gives back error messages that I can't decipher....looking them up just leads to more questions which leads to more questions which leads to....
Anyway, here's a screen shot of the results of trying to compile this thing. If anyone out there has any ideas....sorry I'm such an idiot. In the meantime I'm going to work on the mount for my star wars flight yoke. If I can't solve this I may just put a switch in & rotate the monitor manually
"Godzilla is a warning. A warning to each and every one of us. When mankind falls into conflict with nature, monsters are born."
Professor Hayashida

Gilrock

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1049
  • Last login:March 14, 2024, 05:47:24 pm
Re: Compiling question from a programming idiot
« Reply #1 on: January 10, 2022, 01:46:04 pm »
Its a linker error saying you don't have the "main" entry point.  Were you given an entire project or just the one source file?  You could probably start a new project for whatever application type you need which is probably a Win32 Console application and just get a "Hello World" type program running which will print that out when working right.  Then add in your file and have the "main" function call the function in your file.