Compile custom variations on Mini vMac

About Mini vMac and all other 68k emulators, including SoftMac, Executor, and MESS.

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
Zacchi4k
Student Driver
Posts: 22
Joined: Tue Sep 23, 2014 12:00 pm

Compile custom variations on Mini vMac

Post by Zacchi4k »

Hi, I have two problems compiling personal Mini vMac variation:

F̶i̶r̶s̶t̶,̶ ̶w̶h̶e̶n̶ ̶I̶ ̶t̶y̶p̶e̶ ̶i̶n̶ ̶s̶o̶m̶e̶ ̶o̶p̶t̶i̶o̶n̶s̶ ̶a̶n̶d̶ ̶I̶ ̶c̶l̶i̶c̶k̶ ̶"̶G̶o̶"̶,̶ ̶a̶f̶t̶e̶r̶ ̶s̶a̶v̶i̶n̶g̶ ̶t̶h̶e̶ ̶a̶r̶c̶h̶i̶v̶e̶ ̶I̶ ̶g̶e̶t̶ ̶t̶h̶i̶s̶ ̶e̶r̶r̶o̶r̶:̶ ̶h̶t̶t̶p̶s̶:̶/̶/̶m̶e̶g̶a̶.̶c̶o̶.̶n̶z̶/̶#̶!̶q̶N̶5̶1̶C̶R̶L̶T̶!̶v̶p̶J̶R̶4̶2̶4̶W̶H̶4̶x̶E̶E̶V̶O̶4̶N̶t̶m̶8̶M̶2̶O̶H̶o̶C̶X̶U̶4̶e̶F̶C̶2̶P̶9̶J̶W̶i̶C̶A̶i̶C̶g̶ ̶ Fixed, I was doing it wrong.

Second, when I "export" the RAR, i don't get any EXE, but a Visual C++ project.
I've tried to open it in Visual Basic 2013, but:
1) When I open it I get an error that says something like a conversion, and I also get a report (here's it: https://mega.co.nz/#!zZ5XWD5I!KUcX4n-7l ... g39xSHcE_Q but it doesn't help that much - because it's in italian), also the folder content is changed.
2) When I click "Local Windows Debugger" on Visual Studio, I get this error:

Unable to launch the program
C:\Users\...\Desktop\minivmac\.\bld\minivmac.exe
Unable to find specified file


Original folder content: https://mega.co.nz/#!CMIlFBBC!rXjzNxfmr ... tKO5llhX0A
Content after: https://mega.co.nz/#!Hd5VQIKR!JT4Nc4pit ... LIyHZjLvyA

Can someone please help me?
User avatar
sentient06
Mac Mechanic
Posts: 187
Joined: Tue Mar 29, 2011 8:57 pm
Location: London, UK

Re: Compile custom variations on Mini vMac

Post by sentient06 »

Mmmm can't help much, I'm on a mac and it generates an XCode project. It worked when I tested.

Did you try an older version of Visual Studio?
emendelson
Forum All-Star
Posts: 1231
Joined: Tue Oct 14, 2008 12:12 am

Re: Compile custom variations on Mini vMac

Post by emendelson »

You're probably entering the wrong things in the interface. When you do it correctly, you get an EXE file on the variations page.

Try this: go to the customs variations page:

http://www.gryphel.com/c/var/index.html

Make only ONE change to what you see there: under the line that says "Your computer runs", use the drop down menu to select "Microsoft Windows - Intel".

Then (and only then, when you are sure that you see "Microsoft Windows - Intel") click the "Request Custom Variation" button. You can come back later to find the result.

But if you want to see a typical result, like the one you asked for above, go to the batches page:

http://www.gryphel.com/c/var/latest/index.html#latest

Find an item on the list that includes the string "t-wx86" or "t-wx64"; click on the link, and you will see that you get an EXE file - exactly what you're looking for.

PS: You said in your original message that you pressed "Go." That is a sure sign that you were on the wrong page, because there is no "Go" button on the page where you enter the options.
User avatar
gryphel
Nice Guy
Posts: 106
Joined: Sat Nov 17, 2007 6:46 pm

Re: Compile custom variations on Mini vMac

Post by gryphel »

As mentioned by emendelson, the easiest way to get a custom variation is to ask me to compile it for you, using the custom variations page.

But you are also welcome and encouraged to compile your own variations.

I wondered why you are using Visual Basic when it is Visual C++ project. But looking at the Microsoft Visual Studio web page, I get the impression that the different languages are now combined in a single development environment. The real problem is likely to be that I haven't looked at changes to Microsoft Visual Studio recently, and the project generated by the Mini vMac build system for an earlier version isn't working. So sentient06's suggestion to use an older version may work.

But do try using the option -ev 10000 to generate a project for Microsoft Visual Studio 2010, the last version supported by the build system. When not specified, the default is -ev 8000, for Microsoft Visual Studio 2005, which is more or less what I'm using to compile the Windows versions with.
Zacchi4k
Student Driver
Posts: 22
Joined: Tue Sep 23, 2014 12:00 pm

Re: Compile custom variations on Mini vMac

Post by Zacchi4k »

emendelson wrote:You're probably entering the wrong things in the interface. When you do it correctly, you get an EXE file on the variations page.

Try this: go to the customs variations page:

http://www.gryphel.com/c/var/index.html

Make only ONE change to what you see there: under the line that says "Your computer runs", use the drop down menu to select "Microsoft Windows - Intel".

Then (and only then, when you are sure that you see "Microsoft Windows - Intel") click the "Request Custom Variation" button. You can come back later to find the result.

But if you want to see a typical result, like the one you asked for above, go to the batches page:

http://www.gryphel.com/c/var/latest/index.html#latest

Find an item on the list that includes the string "t-wx86" or "t-wx64"; click on the link, and you will see that you get an EXE file - exactly what you're looking for.

PS: You said in your original message that you pressed "Go." That is a sure sign that you were on the wrong page, because there is no "Go" button on the page where you enter the options.
I'm using the SDK provided by Gryphel, not the variations "service".
gryphel wrote:I wondered why you are using Visual Basic when it is Visual C++ project.
I'm using Visual Studio 2013, i typed Basic for mistake.


Also, i've tried using Visual C++ 2005, but as soon I press the Debug button I get an error that says that there was a compilation error.
But then i've tried the -ev 10000 option and now it works with Visual Studio 2013!

Also, gryphel, i have a question: because in the website you say that "the Macintosh II emulation will be incomplete for all the 3.3.x versions", will you complete it in the 3.4.x editions (it would be nice because the Macintosh II is the only supported Macintosh with colored monitor)?
User avatar
adespoton
Forum All-Star
Posts: 3098
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Compile custom variations on Mini vMac

Post by adespoton »

I won't answer for Gryphel, but I know he's pretty busy.

Current Mac II development (by those other than Gryphel) is being focused in Shoebill; you might want to try compiling that too :)
afberendsen
Inquisitive Elf
Posts: 26
Joined: Fri Jul 21, 2017 3:27 am
Location: Berlin, Germany

Re: Compile custom variations on Mini vMac

Post by afberendsen »

I am having problems compiling Mini vMac on my Windows 10 x65, with cygwin.
Clearly is a macro definition missing somewhere.
I am not sure if the problem is because I am using cygwin or something else.

Code: Select all

$ make
gcc "src/MINEM68K.c" -o "bld/MINEM68K.o" -c -Wall -Wmissing-prototypes -Wno-uninitialized -Wundef -Wstrict-prototypes -Icfg/ -Isrc/ -Os
gcc "src/OSGLUWIN.c" -o "bld/OSGLUWIN.o" -c -Wall -Wmissing-prototypes -Wno-uninitialized -Wundef -Wstrict-prototypes -Icfg/ -Isrc/ -Os
src/OSGLUWIN.c: In function ‘GetAppDir’:
src/OSGLUWIN.c:153:47: error: ‘_MAX_PATH’ undeclared (first use in this function); did you mean ‘MAX_PATH’?
  153 |  if (GetModuleFileName(AppInstance, pathName, _MAX_PATH) == 0) {
      |                                               ^~~~~~~~~
      |                                               MAX_PATH
Post Reply