Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » Shamans

Closed Thread
 
LinkBack Thread Tools
Old 12/08/08, 6:52 PM   #926
Cyaxeres
Glass Joe
 
Tauren Shaman
 
Hyjal
I have consistently gotten a strongly negative value for haste at my current gear level, between -3 and -4. I keep thinking I did something wrong in setting up my simulation run. I can post my config and results a bit later when I am back at my main computer if that would be any help. What specifically should I post?

Offline
Old 12/08/08, 7:01 PM   #927
Rouncer
Deeper Shade of Blue
 
Rouncer's Avatar
 
Rouncer
Orc Shaman
 
No WoW Account
Originally Posted by tukez View Post
I was thinking about those haste levels. Some people have gotten negative values from haste. I'm not sure though, was it because of RNG or not.
Actually there are some values for haste that can be very bad for shaman. Toots has got a list up somewhere but basically if you are using Windfury on only one weapon and cross over a certain weapon speed due to haste you can suddenly get a large loss of dps. I actually started stacking haste a bit due to this since I am using 2.5 speed weapons and since I couldn't get below that haste point since I am using double mongoose I figured it was easier to just push past that point.

Once I hit about 7% haste the EP value for haste rating came back up to what I feel is a more normal level.

Online
Old 12/08/08, 8:39 PM   #928
Bart00
Glass Joe
 
Gnome Death Knight
 
Warsong
Originally Posted by Rako View Post
How would increasing any stat result in a lowering of DPS.
RNG mostly I would guess.

Offline
Old 12/08/08, 10:29 PM   #929
Raut
Major Berserk
 
Raut's Avatar
 
Raut
Tauren Shaman
 
No WoW Account (EU)
Originally Posted by rastotem View Post
A got a newbie question, how often should i check&update the ep value? every item? was also wondering about the basic ep values set in the gui, the amounts it check for variation, do i need to change it or just leave it?
Boderline off-topic, but nevermind.

Yes, in an EP setting you should recalculate EP after every change. If it's something minor, like 20 AP or 10 int, chances are that nothing will change, but most stats will give screw the balance when you increase or decrease them. A superior item can greatly change you EP. Moving away from a 40 hit poor item for a 200 AP, no hit item and thus bringing you below the spell hit cap will make hit EP go up.

You don't need to fiddle with EP ranges, if that is what you mean. Chances are the defaults are fine.

Baby, you can hold my balls.

10:10 < buu_> Raut: You are a hero of the internet.

Norway Online
Old 12/08/08, 11:00 PM   #930
gilf
Glass Joe
 
Draenei Shaman
 
Arygos
Mac Compilage of 1.5

Originally Posted by Rosboeuf View Post
When you start the new project in Xcode perhaps choose the Command Line Utility -> C++ Tool template. Save the project somewhere else on your drive. Delete the main.cpp in Xcode that came with the template, then add all of the source code to the project from the source folder in the unrarred version - checking the checkbox "Copy to ... if needed".
Drag the SFMT (or whatever it is) in the same way. Then you need to download the boost library and put it into a subdir in the project folder (not in Xcode) called libraries and add that to the libraries search path. Then define NOTHREADS in enhsim.h so that you don't have to install zthreads...
After attempting to wait it out and hope that someone would update the Mac binary, I am attempting to compile the new version on my Mac using Xcode. My apologies if this is off-topic, but hopefully I can get some help here. If I can get this working, I would be happy to write up a tutorial for others in my situation. I have pretty extensive experience writing code, but very little in C++ itself and am not a 'real' developer (am a sciences grad student). This is my first time using Xcode.

I have followed the above procedures, more or less. I found that you need to list the 'libraries' folder mentioned above as a header search path--not a library search path. Moreover, you shouldn't set Xcode to recursively search for subdirectories--it breaks things in a buggy way. (Documented via Google.)

At any rate, the compile is still failing with the errors like:

/Users/greer/Documents/EnhSim/stats.cpp:187: error: no match for 'operator<<' in '(+ enh::eout. enh::EnhSimOutput::operator<<(std::endl [with _CharT = char, _Traits = std::char_traits<char>]))->enh::EnhSimOutput::operator<<(std::fixed) << enh::setprecision(2)'
It then proceeds to list a number of possible candidates, such as:

/Users/greer/Documents/EnhSim/enhsimoutput.h:37: note: candidates are: enh::EnhSimOutput& enh::EnhSimOutput::operator<<(bool)
/Users/greer/Documents/EnhSim/enhsimoutput.h:38: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(short int)
/Users/greer/Documents/EnhSim/enhsimoutput.h:39: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(short unsigned int)
(There are 25 in total I think.) Each error is an unmatched << operator to enh::eout it looks like.

My C++ is very rusty, but it looks like something might be stomping on the output stream somehow? Or I don't have the stream defined somewhere?

This fails in stats.cpp (29 errors), and enhsimconfig.cpp (17 errors).

I am compiling in Xcode 3.1.2 with GCC 4.2 and the OSX 10.5 Base SDK. Boost release is 1.37.0. Computer is a Macbook Pro 2.4 GHz Intel Core 2 Duo running OSX 10.5.5 with 2 GB of memory.

Offline
Old 12/09/08, 12:11 AM   #931
Malan
Mind the gap.
 
Malan's Avatar
 
Malan
Tauren Shaman
 
No WoW Account
Just followed the steps as you outlined and I had the same results.

I'm not too savvy with C++ but is this just a typecast error? It looks like the overloaded operators you've defined for << may be interpreting enh::setw(26) incorrectly.

Oh and to elaborate on the steps to get to this point:
1) Download EnhSim and unpack.
2) Download Boost and unpack.
3) Invoke Xcode. Define a new project anywhere on the drive.
4) Right click main.cpp in Xcode and Delete this file (send to trash)
5) In the left hand panel (Groups & Files) right click the name of the project you created (should be the top entry) and choose Add -> Existing Files. Navigate to the Source folder and hit ok. If asked if you want to copy the files to the project path, choose to do so.
6) In the Finder (not in Xcode) create a new folder called 'libraries' and put Boost into it. Move that entire directory into the project path that you created in 3.
7) In Xcode go to Project -> Edit Project Settings, then the Build tab. Scroll down till you see the header that says "Search Paths". Double click the entry for "Header Search Paths", and in the dialog use the + button to add a new path. Do not select the Recursive check box. Type in the path to the Boost folder you copied, it should look like: "libraries/boost_1_37_0", and then exit all those menus.
8) Hit the Build button.

Last edited by Malan : 12/09/08 at 12:42 AM.

United States Offline
Old 12/09/08, 12:52 AM   #932
gilf
Glass Joe
 
Draenei Shaman
 
Arygos
Originally Posted by Malan View Post
Just followed the steps as you outlined and I had the same results.

I'm not too savvy with C++ but is this just a typecast error? It looks like the overloaded operators you've defined for << may be interpreting enh::setw(26) incorrectly.

Oh and to elaborate on the steps to get to this point:
1) Download EnhSim and unpack.
2) Download Boost and unpack.
3) Invoke Xcode. Define a new project anywhere on the drive.
4) Right click main.cpp in Xcode and Delete this file (send to trash)
5) In the left hand panel (Groups & Files) right click the name of the project you created (should be the top entry) and choose Add -> Existing Files. Navigate to the Source folder and hit ok. If asked if you want to copy the files to the project path, choose to do so.
6) In the Finder (not in Xcode) create a new folder called 'libraries' and put Boost into it. Move that entire directory into the project path that you created in 3.
7) In Xcode go to Project -> Edit Project Settings, then the Build tab. Scroll down till you see the header that says "Search Paths". Double click the entry for "Header Search Paths", and in the dialog use the + button to add a new path. Do not select the Recursive check box. Type in the path to the Boost folder you copied, it should look like: "libraries/boost_1_37_0", and then exit all those menus.
8) Hit the Build button.
To be fair, I've not defined anything to do with the output stream, that's all tukez, presumably. I am hoping this error is one that between his knowledge of the code, and my ability to click radio buttons, we can solve on the Mac.

As for the procedure, I did one extra step that you didn't list: I added #define NOTHREADS in enhsim.h. I did this so that I didn't have to install zthreads or whatever. If you didn't do this, and got the same result, I suppose it's possible that my build just fails before it tries to link and never gets that far or something. My boost path is slightly different, but I don't think that matters, as long as the directory structure starting at the boost/ directory and below is intact. Other than that, however, this looks right. I spent a good deal of time trying to build with the different SDKs and versions of GCC provided with my install, but had no success. I've tried the versions of GCC provided with xcode: 3.3, 4.0, and 4.2. Presumably these are all similar to the gcc provided by GNU, but horribly warped by Apple in some way. I tried compiling with both the 10.4 and 10.5 SDKs.

It's possible that I'm doing something extremely basic incorrectly. MATLAB this ain't.

Last edited by gilf : 12/09/08 at 12:59 AM.

Offline
Old 12/09/08, 5:11 AM   #933
tukez
Don Flamenco
 
Orc Shaman
 
Dragonblight (EU)
Originally Posted by gilf View Post
After attempting to wait it out and hope that someone would update the Mac binary, I am attempting to compile the new version on my Mac using Xcode.
Try with this. I modified the source in hopes of it would compile on XCode.
Megaupload - EnhSim 1.5.0

EnhSim, shaman DPS simulator

Offline
Old 12/09/08, 6:25 AM   #934
ganrak
Glass Joe
 
Draenei Shaman
 
Al'Akir (EU)
Just tried compiling with the source code from megaupload and getting the same errors when following Malan's steps above.

Offline
Old 12/09/08, 8:47 AM   #935
tukez
Don Flamenco
 
Orc Shaman
 
Dragonblight (EU)
Originally Posted by ganrak View Post
Just tried compiling with the source code from megaupload and getting the same errors when following Malan's steps above.
Could you post all the errors?

EnhSim, shaman DPS simulator

Offline
Old 12/09/08, 11:33 AM   #936
Malan
Mind the gap.
 
Malan's Avatar
 
Malan
Tauren Shaman
 
No WoW Account
Originally Posted by gilf View Post
To be fair, I've not defined anything to do with the output stream, that's all tukez, presumably.
Ah of course, I wasn't referring to you in my post above at all, by 'you' I meant 'tukez'.

As for the procedure, I did one extra step that you didn't list: I added #define NOTHREADS in enhsim.h.
I did this as well, just failed to note it in the steps above.

I've tried the versions of GCC provided with xcode: 3.3, 4.0, and 4.2. Presumably these are all similar to the gcc provided by GNU, but horribly warped by Apple in some way. I tried compiling with both the 10.4 and 10.5 SDKs.
I wonder, did you also try using the 4.2 g++? If the gcc and g++ aren't the same version all sorts of funny things can happen. I just ran the build out of the box so to speak, I didn't even bother to check what gcc/g++ version it was using.


Tukez I'll get you a full print of the errors in about 2 hours when I get home for lunch.

United States Offline
Old 12/09/08, 11:46 AM   #937
gilf
Glass Joe
 
Draenei Shaman
 
Arygos
EDIT: Split the build output to make it more readable.

tukez--

Thanks for your help with this. Enhsim is an amazing tool. Below is a direct cut-and-paste of the build output from Xcode using your repackaged download.

Unless I've missed one, all the errors are the unmatched operator<< errors.

There seems to be one in main.cpp that I don't remember from last night.

Building target “EnhSimRepack” of project “EnhSimRepack” with configuration “Debug” — (74 errors, 5 warnings)
	    cd /Users/greer/Documents/EnhSimRepack
    /Developer/usr/bin/gcc-4.0 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mfix-and-continue -fvisibility-inlines-hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-generated-files.hmap -I/Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-own-target-headers.hmap -I/Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-all-target-headers.hmap -iquote /Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-project-headers.hmap -F/Users/greer/Documents/EnhSimRepack/build/Debug -I/Users/greer/Documents/EnhSimRepack/build/Debug/include -ILibraries -I/Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/DerivedSources -c /Users/greer/Documents/EnhSimRepack/stats.cpp -o /Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/Objects-normal/i386/stats.o
/Users/greer/Documents/EnhSimRepack/stats.cpp: In member function 'void Statistics::print()':
/Users/greer/Documents/EnhSimRepack/stats.cpp:187: error: no match for 'operator<<' in 'enh::eout << enh::endl()'

/Users/greer/Documents/EnhSimRepack/stats.cpp:205: error: no match for 'operator<<' in 'enh::eout << enh::setw(20)'

/Users/greer/Documents/EnhSimRepack/stats.cpp:206: error: no match for 'operator<<' in 'enh::eout << enh::setw(20)'

/Users/greer/Documents/EnhSimRepack/stats.cpp:244: error: no match for 'operator<<' in 'enh::eout << enh::setw(20)'

/Users/greer/Documents/EnhSimRepack/stats.cpp:245: error: no match for 'operator<<' in 'enh::eout << enh::setw(20)'

/Users/greer/Documents/EnhSimRepack/stats.cpp:282: error: no match for 'operator<<' in 'enh::eout << enh::setw(20)'

/Users/greer/Documents/EnhSimRepack/stats.cpp:343: error: no match for 'operator<<' in 'enh::eout << enh::setw(20)'

/Users/greer/Documents/EnhSimRepack/stats.cpp:346: error: no match for 'operator<<' in 'enh::eout << enh::endl()'

/Users/greer/Documents/EnhSimRepack/stats.cpp:347: error: no match for 'operator<<' in 'enh::eout << enh::setw(31)'

/Users/greer/Documents/EnhSimRepack/stats.cpp:348: error: no match for 'operator<<' in 'enh::eout << enh::setw(31)'

/Users/greer/Documents/EnhSimRepack/stats.cpp:349: error: no match for 'operator<<' in 'enh::eout << enh::setw(31)'

/Users/greer/Documents/EnhSimRepack/stats.cpp:350: error: no match for 'operator<<' in 'enh::eout << enh::setw(31)'

/Users/greer/Documents/EnhSimRepack/stats.cpp:352: error: no match for 'operator<<' in 'enh::eout << enh::setw(31)'

/Users/greer/Documents/EnhSimRepack/stats.cpp:353: error: no match for 'operator<<' in 'enh::eout << enh::setw(31)'

/Users/greer/Documents/EnhSimRepack/stats.cpp:354: error: no match for 'operator<<' in 'enh::eout << enh::setw(31)'

/Users/greer/Documents/EnhSimRepack/stats.cpp:355: error: no match for 'operator<<' in 'enh::eout << enh::setw(31)'

/Users/greer/Documents/EnhSimRepack/stats.cpp:356: error: no match for 'operator<<' in 'enh::eout << enh::setw(31)'

/Users/greer/Documents/EnhSimRepack/stats.cpp:357: error: no match for 'operator<<' in 'enh::eout << enh::setw(31)'

/Users/greer/Documents/EnhSimRepack/stats.cpp:358: error: no match for 'operator<<' in 'enh::eout << enh::setw(31)'

/Users/greer/Documents/EnhSimRepack/stats.cpp:360: error: no match for 'operator<<' in 'enh::eout << enh::setw(20)'

/Users/greer/Documents/EnhSimRepack/stats.cpp:369: error: no match for 'operator<<' in 'enh::eout << enh::endl()'

/Users/greer/Documents/EnhSimRepack/stats.cpp:371: error: no match for 'operator<<' in 'enh::eout << enh::setw(20)'

/Users/greer/Documents/EnhSimRepack/stats.cpp:387: error: no match for 'operator<<' in 'enh::eout << enh::endl()'

/Users/greer/Documents/EnhSimRepack/stats.cpp:388: error: no match for 'operator<<' in 'enh::eout << enh::setw(20)'

/Users/greer/Documents/EnhSimRepack/stats.cpp:389: error: no match for 'operator<<' in 'enh::eout << enh::setw(20)'

/Users/greer/Documents/EnhSimRepack/stats.cpp:390: error: no match for 'operator<<' in 'enh::eout << enh::setw(20)'

/Users/greer/Documents/EnhSimRepack/stats.cpp:391: error: no match for 'operator<<' in 'enh::eout << enh::setw(20)'

/Users/greer/Documents/EnhSimRepack/stats.cpp:392: error: no match for 'operator<<' in 'enh::eout << enh::setw(20)'

/Users/greer/Documents/EnhSimRepack/stats.cpp:402: error: no match for 'operator<<' in 'enh::eout << enh::endl()'

/Users/greer/Documents/EnhSimRepack/stats.cpp: In member function 'void Statistics::printValueAndPercentRegen(const std::string&, const double&, const double&)':
/Users/greer/Documents/EnhSimRepack/stats.cpp:406: error: no match for 'operator<<' in 'enh::eout << enh::setw(20)'

/Users/greer/Documents/EnhSimRepack/stats.cpp: In member function 'void Statistics::printValueAndPercent(const std::string&, const double&, const double&)':
/Users/greer/Documents/EnhSimRepack/stats.cpp:410: error: no match for 'operator<<' in 'enh::eout << enh::setw(20)'

/Users/greer/Documents/EnhSimRepack/stats.cpp: In member function 'void Statistics::printValueAndPercentFinal(const std::string&, const double&, const double&, const double&)':
/Users/greer/Documents/EnhSimRepack/stats.cpp:421: error: no match for 'operator<<' in 'enh::eout << enh::setw(20)'

/Users/greer/Documents/EnhSimRepack/stats.cpp: In member function 'void Statistics::printValueAndPercentFinalMana(const std::string&, const double&, const double&, const double&, const double&, const double&)':
/Users/greer/Documents/EnhSimRepack/stats.cpp:433: error: no match for 'operator<<' in 'enh::eout << enh::setw(20)'

	    cd /Users/greer/Documents/EnhSimRepack
    /Developer/usr/bin/gcc-4.0 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mfix-and-continue -fvisibility-inlines-hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-generated-files.hmap -I/Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-own-target-headers.hmap -I/Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-all-target-headers.hmap -iquote /Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-project-headers.hmap -F/Users/greer/Documents/EnhSimRepack/build/Debug -I/Users/greer/Documents/EnhSimRepack/build/Debug/include -ILibraries -I/Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/DerivedSources -c /Users/greer/Documents/EnhSimRepack/skills.cpp -o /Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/Objects-normal/i386/skills.o
/Users/greer/Documents/EnhSimRepack/skills.cpp: In member function 'void LightningShield::consumeCharge()':
/Users/greer/Documents/EnhSimRepack/skills.cpp:682: warning: unused variable 'dmg'
	    cd /Users/greer/Documents/EnhSimRepack
    /Developer/usr/bin/gcc-4.0 -x c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mfix-and-continue -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-generated-files.hmap -I/Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-own-target-headers.hmap -I/Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-all-target-headers.hmap -iquote /Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-project-headers.hmap -F/Users/greer/Documents/EnhSimRepack/build/Debug -I/Users/greer/Documents/EnhSimRepack/build/Debug/include -ILibraries -I/Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/DerivedSources -c /Users/greer/Documents/EnhSimRepack/SFMT/SFMT.c -o /Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/Objects-normal/i386/SFMT.o
In file included from /Users/greer/Documents/EnhSimRepack/SFMT/SFMT.c:16:
/Users/greer/Documents/EnhSimRepack/SFMT/SFMT-params.h:6:4: warning: #warning "MEXP is not defined. I assume MEXP is 19937."
	    cd /Users/greer/Documents/EnhSimRepack
    /Developer/usr/bin/gcc-4.0 -x c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mfix-and-continue -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-generated-files.hmap -I/Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-own-target-headers.hmap -I/Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-all-target-headers.hmap -iquote /Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-project-headers.hmap -F/Users/greer/Documents/EnhSimRepack/build/Debug -I/Users/greer/Documents/EnhSimRepack/build/Debug/include -ILibraries -I/Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/DerivedSources -c /Users/greer/Documents/EnhSimRepack/SFMT/test.c -o /Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/Objects-normal/i386/test.o
In file included from /Users/greer/Documents/EnhSimRepack/SFMT/SFMT.c:16,
                 from /Users/greer/Documents/EnhSimRepack/SFMT/test.c:19:
/Users/greer/Documents/EnhSimRepack/SFMT/SFMT-params.h:6:4: warning: #warning "MEXP is not defined. I assume MEXP is 19937."
	    cd /Users/greer/Documents/EnhSimRepack
    /Developer/usr/bin/gcc-4.0 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mfix-and-continue -fvisibility-inlines-hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-generated-files.hmap -I/Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-own-target-headers.hmap -I/Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-all-target-headers.hmap -iquote /Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-project-headers.hmap -F/Users/greer/Documents/EnhSimRepack/build/Debug -I/Users/greer/Documents/EnhSimRepack/build/Debug/include -ILibraries -I/Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/DerivedSources -c /Users/greer/Documents/EnhSimRepack/main.cpp -o /Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/Objects-normal/i386/main.o
/Users/greer/Documents/EnhSimRepack/main.cpp: In function 'int main(int, char**)':
/Users/greer/Documents/EnhSimRepack/main.cpp:319: error: no match for 'operator<<' in '(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"simulation speed: ")))->enh::EnhSimOutput::operator<<(#'fix_trunc_expr' not supported by dump_expr#<expression error>))->enh::EnhSimOutput::operator<<(((const char*)"x")) << enh::endl()'

	    cd /Users/greer/Documents/EnhSimRepack
    /Developer/usr/bin/gcc-4.0 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mfix-and-continue -fvisibility-inlines-hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-generated-files.hmap -I/Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-own-target-headers.hmap -I/Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-all-target-headers.hmap -iquote /Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-project-headers.hmap -F/Users/greer/Documents/EnhSimRepack/build/Debug -I/Users/greer/Documents/EnhSimRepack/build/Debug/include -ILibraries -I/Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/DerivedSources -c /Users/greer/Documents/EnhSimRepack/globalutil.cpp -o /Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/Objects-normal/i386/globalutil.o
In file included from /Users/greer/Documents/EnhSimRepack/SFMT/SFMT.c:16,
                 from /Users/greer/Documents/EnhSimRepack/globalutil.cpp:7:
/Users/greer/Documents/EnhSimRepack/SFMT/SFMT-params.h:6:4: warning: #warning "MEXP is not defined. I assume MEXP is 19937."
	    cd /Users/greer/Documents/EnhSimRepack
    /Developer/usr/bin/gcc-4.0 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mfix-and-continue -fvisibility-inlines-hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-generated-files.hmap -I/Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-own-target-headers.hmap -I/Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-all-target-headers.hmap -iquote /Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/EnhSimRepack-project-headers.hmap -F/Users/greer/Documents/EnhSimRepack/build/Debug -I/Users/greer/Documents/EnhSimRepack/build/Debug/include -ILibraries -I/Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/DerivedSources -c /Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp -o /Users/greer/Documents/EnhSimRepack/build/EnhSimRepack.build/Debug/EnhSimRepack.build/Objects-normal/i386/enhsimconfig.o
/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp: In member function 'void EPThread::run()':
/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:252: error: no match for 'operator<<' in 'enh::eout. enh::EnhSimOutput::operator<<(((std::string&)(& message))) << enh::endl()'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp: In member function 'void EnhSimConfig::printEPValues(const f32&)':
/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:337: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:338: error: no match for 'operator<<' in 'enh::eout << enh::setw(46)'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:339: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:340: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:341: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:342: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:343: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:344: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:345: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:346: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:347: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:349: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:351: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:353: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:354: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:355: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:356: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:361: error: no match for 'operator<<' in 'enh::eout << enh::endl()'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:405: error: no match for 'operator<<' in 'enh::eout. enh::EnhSimOutput::operator<<(((std::string&)(+ lines. __gnu_debug_def::vector<_Tp, _Allocator>::operator[] [with _Tp = std::string, _Allocator = std::allocator<std::string>](((long unsigned int)i))))) << enh::endl()'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:408: error: no match for 'operator<<' in 'enh::eout << enh::endl()'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp: In member function 'void EnhSimConfig::setMhWeaponEnchant(const std::string&)':
/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:969: error: no match for 'operator<<' in '(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Imbue ")))->enh::EnhSimOutput::operator<<(((const std::string&)(+ name))))->enh::EnhSimOutput::operator<<(((const char*)" not found.")) << enh::endl()'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp: In member function 'void EnhSimConfig::setOhWeaponEnchant(const std::string&)':
/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:1006: error: no match for 'operator<<' in '(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Imbue ")))->enh::EnhSimOutput::operator<<(((const std::string&)(+ name))))->enh::EnhSimOutput::operator<<(((const char*)" not found.")) << enh::endl()'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp: In member function 'void EnhSimConfig::setMhEnchant(const std::string&)':
/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:1051: error: no match for 'operator<<' in '(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Enchant ")))->enh::EnhSimOutput::operator<<(((const std::string&)(+ name))))->enh::EnhSimOutput::operator<<(((const char*)" not found.")) << enh::endl()'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp: In member function 'void EnhSimConfig::setOhEnchant(const std::string&)':
/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:1096: error: no match for 'operator<<' in '(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Enchant ")))->enh::EnhSimOutput::operator<<(((const std::string&)(+ name))))->enh::EnhSimOutput::operator<<(((const char*)" not found.")) << enh::endl()'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp: In member function 'void EnhSimConfig::setTrinket(const std::string&, const int&)':
/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:1296: error: no match for 'operator<<' in '(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Trinket ")))->enh::EnhSimOutput::operator<<(((const std::string&)(+ name))))->enh::EnhSimOutput::operator<<(((const char*)" not found.")) << enh::endl()'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp: In member function 'void EnhSimConfig::setTotem(const std::string&)':
/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:1383: error: no match for 'operator<<' in '(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Totem ")))->enh::EnhSimOutput::operator<<(((const std::string&)(+ name))))->enh::EnhSimOutput::operator<<(((const char*)" not found.")) << enh::endl()'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp: In member function 'void EnhSimConfig::setSetBonus(const std::string&)':
/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:1460: error: no match for 'operator<<' in '(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Set bonus ")))->enh::EnhSimOutput::operator<<(((const std::string&)(+ name))))->enh::EnhSimOutput::operator<<(((const char*)" not found.")) << enh::endl()'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp: In member function 'void EnhSimConfig::setMetagem(const std::string&)':
/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:1509: error: no match for 'operator<<' in '(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Metagem ")))->enh::EnhSimOutput::operator<<(((const std::string&)(+ name))))->enh::EnhSimOutput::operator<<(((const char*)" not found.")) << enh::endl()'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp: In member function 'void EnhSimConfig::setConsumable(const std::string&)':
/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:1949: error: no match for 'operator<<' in '(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Consumable ")))->enh::EnhSimOutput::operator<<(((const std::string&)(+ name))))->enh::EnhSimOutput::operator<<(((const char*)" not found.")) << enh::endl()'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp: In member function 'void EnhSimConfig::setMiscItem(const std::string&)':
/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:1975: error: no match for 'operator<<' in '(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Misc item ")))->enh::EnhSimOutput::operator<<(((const std::string&)(+ name))))->enh::EnhSimOutput::operator<<(((const char*)" not found.")) << enh::endl()'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp: In member function 'void EnhSimConfig::setGlyph(const std::string&)':
/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:2039: error: no match for 'operator<<' in '(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Glyph ")))->enh::EnhSimOutput::operator<<(((const std::string&)(+ name))))->enh::EnhSimOutput::operator<<(((const char*)" not found.")) << enh::endl()'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp: In member function 'f32 EnhSimConfig::calculateEPValues(const f32&)':
/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:2201: error: no match for 'operator<<' in 'enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Hit is past caps, EP hit test will be skipped.")) << enh::endl()'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:2205: error: no match for 'operator<<' in '(+(+(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Mh hit + EP range goes past cap by ")))->enh::EnhSimOutput::operator<<(((mhhit - miss) / 1.0e+2)))->enh::EnhSimOutput::operator<<(((const char*)"% (")))->enh::EnhSimOutput::operator<<(((mhhit - miss) / ((double)HIT_RATING_TO_HIT))))->enh::EnhSimOutput::operator<<(((const char*)" hit rating).")) << enh::endl()'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:2208: error: no match for 'operator<<' in '(+(+(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Oh hit + EP range goes past cap by ")))->enh::EnhSimOutput::operator<<(((ohhit - miss) / 1.0e+2)))->enh::EnhSimOutput::operator<<(((const char*)"% (")))->enh::EnhSimOutput::operator<<(((ohhit - miss) / ((double)HIT_RATING_TO_HIT))))->enh::EnhSimOutput::operator<<(((const char*)" hit rating).")) << enh::endl()'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:2211: error: no match for 'operator<<' in '(+(+(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Spell hit + EP range goes past cap by ")))->enh::EnhSimOutput::operator<<(((spellhit - #'float_expr' not supported by dump_expr#<expression error>) / 1.0e+2)))->enh::EnhSimOutput::operator<<(((const char*)"% (")))->enh::EnhSimOutput::operator<<(((spellhit - #'float_expr' not supported by dump_expr#<expression error>) / ((double)HIT_RATING_TO_SPELLHIT))))->enh::EnhSimOutput::operator<<(((const char*)" hit rating).")) << enh::endl()'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:2219: error: no match for 'operator<<' in 'enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Expertise is past cap, EP expertise test will be skipped.")) << enh::endl()'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:2223: error: no match for 'operator<<' in '(+(+(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Mh expertise + EP range goes past cap by ")))->enh::EnhSimOutput::operator<<(((mhexp - expcap) / ((double)EXPERTISE_RATING_TO_EXPERTISE))))->enh::EnhSimOutput::operator<<(((const char*)" expertise (")))->enh::EnhSimOutput::operator<<((mhexp - expcap)))->enh::EnhSimOutput::operator<<(((const char*)" expertise rating).")) << enh::endl()'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:2226: error: no match for 'operator<<' in '(+(+(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Oh expertise + EP range goes past cap by ")))->enh::EnhSimOutput::operator<<(((ohexp - expcap) / ((double)EXPERTISE_RATING_TO_EXPERTISE))))->enh::EnhSimOutput::operator<<(((const char*)" expertise (")))->enh::EnhSimOutput::operator<<((ohexp - expcap)))->enh::EnhSimOutput::operator<<(((const char*)" expertise rating).")) << enh::endl()'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:2229: error: no match for 'operator<<' in 'enh::eout << enh::endl()'

/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:2185: warning: unused variable 'skipped'
		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:252: error: no match for 'operator<<' in 'enh::eout. enh::EnhSimOutput::operator<<(((std::string&)(& message))) << enh::endl()'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:337: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:338: error: no match for 'operator<<' in 'enh::eout << enh::setw(46)'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:339: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:340: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:341: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:342: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:343: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:344: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:345: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:346: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:347: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:349: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:351: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:353: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:354: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:355: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:356: error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:361: error: no match for 'operator<<' in 'enh::eout << enh::endl()'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:405: error: no match for 'operator<<' in 'enh::eout. enh::EnhSimOutput::operator<<(((std::string&)(+ lines. __gnu_debug_def::vector<_Tp, _Allocator>::operator[] [with _Tp = std::string, _Allocator = std::allocator<std::string>](((long unsigned int)i))))) << enh::endl()'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:408: error: no match for 'operator<<' in 'enh::eout << enh::endl()'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:969: error: no match for 'operator<<' in '(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Imbue ")))->enh::EnhSimOutput::operator<<(((const std::string&)(+ name))))->enh::EnhSimOutput::operator<<(((const char*)" not found.")) << enh::endl()'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:1006: error: no match for 'operator<<' in '(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Imbue ")))->enh::EnhSimOutput::operator<<(((const std::string&)(+ name))))->enh::EnhSimOutput::operator<<(((const char*)" not found.")) << enh::endl()'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:1051: error: no match for 'operator<<' in '(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Enchant ")))->enh::EnhSimOutput::operator<<(((const std::string&)(+ name))))->enh::EnhSimOutput::operator<<(((const char*)" not found.")) << enh::endl()'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:1096: error: no match for 'operator<<' in '(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Enchant ")))->enh::EnhSimOutput::operator<<(((const std::string&)(+ name))))->enh::EnhSimOutput::operator<<(((const char*)" not found.")) << enh::endl()'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:1296: error: no match for 'operator<<' in '(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Trinket ")))->enh::EnhSimOutput::operator<<(((const std::string&)(+ name))))->enh::EnhSimOutput::operator<<(((const char*)" not found.")) << enh::endl()'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:1383: error: no match for 'operator<<' in '(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Totem ")))->enh::EnhSimOutput::operator<<(((const std::string&)(+ name))))->enh::EnhSimOutput::operator<<(((const char*)" not found.")) << enh::endl()'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:1460: error: no match for 'operator<<' in '(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Set bonus ")))->enh::EnhSimOutput::operator<<(((const std::string&)(+ name))))->enh::EnhSimOutput::operator<<(((const char*)" not found.")) << enh::endl()'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:1509: error: no match for 'operator<<' in '(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Metagem ")))->enh::EnhSimOutput::operator<<(((const std::string&)(+ name))))->enh::EnhSimOutput::operator<<(((const char*)" not found.")) << enh::endl()'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:1949: error: no match for 'operator<<' in '(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Consumable ")))->enh::EnhSimOutput::operator<<(((const std::string&)(+ name))))->enh::EnhSimOutput::operator<<(((const char*)" not found.")) << enh::endl()'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:1975: error: no match for 'operator<<' in '(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Misc item ")))->enh::EnhSimOutput::operator<<(((const std::string&)(+ name))))->enh::EnhSimOutput::operator<<(((const char*)" not found.")) << enh::endl()'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:2039: error: no match for 'operator<<' in '(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Glyph ")))->enh::EnhSimOutput::operator<<(((const std::string&)(+ name))))->enh::EnhSimOutput::operator<<(((const char*)" not found.")) << enh::endl()'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:2201: error: no match for 'operator<<' in 'enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Hit is past caps, EP hit test will be skipped.")) << enh::endl()'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:2205: error: no match for 'operator<<' in '(+(+(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Mh hit + EP range goes past cap by ")))->enh::EnhSimOutput::operator<<(((mhhit - miss) / 1.0e+2)))->enh::EnhSimOutput::operator<<(((const char*)"% (")))->enh::EnhSimOutput::operator<<(((mhhit - miss) / ((double)HIT_RATING_TO_HIT))))->enh::EnhSimOutput::operator<<(((const char*)" hit rating).")) << enh::endl()'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:2208: error: no match for 'operator<<' in '(+(+(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Oh hit + EP range goes past cap by ")))->enh::EnhSimOutput::operator<<(((ohhit - miss) / 1.0e+2)))->enh::EnhSimOutput::operator<<(((const char*)"% (")))->enh::EnhSimOutput::operator<<(((ohhit - miss) / ((double)HIT_RATING_TO_HIT))))->enh::EnhSimOutput::operator<<(((const char*)" hit rating).")) << enh::endl()'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:2211: error: no match for 'operator<<' in '(+(+(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Spell hit + EP range goes past cap by ")))->enh::EnhSimOutput::operator<<(((spellhit - #'float_expr' not supported by dump_expr#<expression error>) / 1.0e+2)))->enh::EnhSimOutput::operator<<(((const char*)"% (")))->enh::EnhSimOutput::operator<<(((spellhit - #'float_expr' not supported by dump_expr#<expression error>) / ((double)HIT_RATING_TO_SPELLHIT))))->enh::EnhSimOutput::operator<<(((const char*)" hit rating).")) << enh::endl()'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:2219: error: no match for 'operator<<' in 'enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Expertise is past cap, EP expertise test will be skipped.")) << enh::endl()'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:2223: error: no match for 'operator<<' in '(+(+(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Mh expertise + EP range goes past cap by ")))->enh::EnhSimOutput::operator<<(((mhexp - expcap) / ((double)EXPERTISE_RATING_TO_EXPERTISE))))->enh::EnhSimOutput::operator<<(((const char*)" expertise (")))->enh::EnhSimOutput::operator<<((mhexp - expcap)))->enh::EnhSimOutput::operator<<(((const char*)" expertise rating).")) << enh::endl()'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:2226: error: no match for 'operator<<' in '(+(+(+(+ enh::eout. enh::EnhSimOutput::operator<<(((const char*)"Oh expertise + EP range goes past cap by ")))->enh::EnhSimOutput::operator<<(((ohexp - expcap) / ((double)EXPERTISE_RATING_TO_EXPERTISE))))->enh::EnhSimOutput::operator<<(((const char*)" expertise (")))->enh::EnhSimOutput::operator<<((ohexp - expcap)))->enh::EnhSimOutput::operator<<(((const char*)" expertise rating).")) << enh::endl()'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:2229: error: no match for 'operator<<' in 'enh::eout << enh::endl()'

		/Users/greer/Documents/EnhSimRepack/enhsimconfig.cpp:2185: warning: unused variable 'skipped'
Build failed (74 errors, 5 warnings)
After every 'error: no match for 'operator<<' line there is the following collection of lines that seems identical for each instance:

/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:48: note: candidates are: enh::EnhSimOutput& enh::EnhSimOutput::operator<<(bool)
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:49: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(short int)
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:50: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(short unsigned int)
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:51: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(int)
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:52: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(unsigned int)
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:53: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(long int)
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:54: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(long unsigned int)
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:55: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(float)
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:56: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(double)
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:57: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(long double)
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:58: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(void*)
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:60: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(std::string&)
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:61: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(const std::string&)
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:62: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(std::streambuf*)
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:63: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(std::ostream& (*)(std::ostream&))
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:64: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(std::ios& (*)(std::ios&))
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:65: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(std::ios_base& (*)(std::ios_base&))
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:67: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(enh::setprecision&)
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:68: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(enh::setw&)
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:69: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(enh::fixed&)
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:70: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(enh::endl&)
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:72: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(char)
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:73: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(signed char)
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:74: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(unsigned char)
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:75: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(const char*)
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:76: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(const signed char*)
/Users/greer/Documents/EnhSimRepack/enhsimoutput.h:77: note:                 enh::EnhSimOutput& enh::EnhSimOutput::operator<<(const unsigned char*)
I trimmed these from the output since it boosts the list to unwieldy length for a forum post.

Malan--

I wonder, did you also try using the 4.2 g++? If the gcc and g++ aren't the same version all sorts of funny things can happen. I just ran the build out of the box so to speak, I didn't even bother to check what gcc/g++ version it was using.
This makes sense and I checked. There's a pulldown box that allows you to pick the C/C++ Compiler Version, which I figured would take care of this issue. I don't see a way to select them individually.

Last edited by gilf : 12/09/08 at 12:08 PM.

Offline
Old 12/09/08, 12:26 PM   #938
Bonquida
Glass Joe
 
Draenei Shaman
 
Khaz Modan
I finally successfully ran Enhsim after dinking with it fruitlessly for a while (yay for googling the error message). After putting in all of my values, I clicked "Simulate" and the following appeared:

"Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately."

Obviously I have a problem. I can only hope that this isn't the result of me not doing some idiotically simple thing that I should obviously have done.

I can post the details section of the error message if this isn't enough to go on. I seem to encounter every possible problem under the sun with every new thing I try.

Anyhow, I appreciate any help on the subject.

Offline
Old 12/09/08, 12:29 PM   #939
tukez
Don Flamenco
 
Orc Shaman
 
Dragonblight (EU)
Originally Posted by Bonquida View Post
I finally successfully ran Enhsim after dinking with it fruitlessly for a while (yay for googling the error message). After putting in all of my values, I clicked "Simulate" and the following appeared:

"Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately."

Obviously I have a problem. I can only hope that this isn't the result of me not doing some idiotically simple thing that I should obviously have done.

I can post the details section of the error message if this isn't enough to go on. I seem to encounter every possible problem under the sun with every new thing I try.

Anyhow, I appreciate any help on the subject.
Yeah, post the error message along with the config file and your system specs.

EnhSim, shaman DPS simulator

Offline
Old 12/09/08, 12:39 PM   #940
gilf
Glass Joe
 
Draenei Shaman
 
Arygos
Now here is something interesting: I tried with the 1.3.4 version of Enhsim, since that's the one MacEnh was built off of. I only got one error this time, and it was different:

    mkdir /Users/greer/Documents/EnhSim1.3.4/build/Debug
    cd /Users/greer/Documents/EnhSim1.3.4
    setenv MACOSX_DEPLOYMENT_TARGET 10.5
    /Developer/usr/bin/g++-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -L/Users/greer/Documents/EnhSim1.3.4/build/Debug -F/Users/greer/Documents/EnhSim1.3.4/build/Debug -filelist /Users/greer/Documents/EnhSim1.3.4/build/EnhSim1.3.4.build/Debug/EnhSim1.3.4.build/Objects-normal/i386/EnhSim1.3.4.LinkFileList -mmacosx-version-min=10.5 -o /Users/greer/Documents/EnhSim1.3.4/build/Debug/EnhSim1.3.4
ld: duplicate symbol _get_idstring in /Users/greer/Documents/EnhSim1.3.4/build/EnhSim1.3.4.build/Debug/EnhSim1.3.4.build/Objects-normal/i386/test.o and /Users/greer/Documents/EnhSim1.3.4/build/EnhSim1.3.4.build/Debug/EnhSim1.3.4.build/Objects-normal/i386/SFMT.o
collect2: ld returned 1 exit status
	ld: duplicate symbol _get_idstring in /Users/greer/Documents/EnhSim1.3.4/build/EnhSim1.3.4.build/Debug/EnhSim1.3.4.build/Objects-normal/i386/test.o and /Users/greer/Documents/EnhSim1.3.4/build/EnhSim1.3.4.build/Debug/EnhSim1.3.4.build/Objects-normal/i386/SFMT.o
	collect2: ld returned 1 exit status
It appears that either I'm not quite following all the steps used in making the first executable, or perhaps the development environment has changed.

UPDATE: 1.4.2 fails like 1.3.4 (linking). 1.4.8 and 1.4.9 fail like 1.5 (output stream errors). I need to run now though. I will work on this some more later.

Last edited by gilf : 12/09/08 at 12:57 PM.

Offline
Old 12/09/08, 12:56 PM   #941
tukez
Don Flamenco
 
Orc Shaman
 
Dragonblight (EU)
Originally Posted by gilf View Post
Now here is something interesting: I tried with the 1.3.4 version of Enhsim, since that's the one MacEnh was built off of. I only got one error this time, and it was different: ...
I made changes to outputting. Because on Windows you can't use command line parameters to output to a file and screen at the same time, I coded it in the software. Obviously it does not work on gcc or whatever.

Here is the a slighty modified source, this is like shooting in the dark MEGAUPLOAD - The leading online storage and file delivery service

If it doesn't work, do these replacements on the whole project:

enh::eout << ==> std::cout <<
enh::endl() ==> std::endl
enh::fixed() ==> std::fixed
enh::setprecision ==> std::setprecision
enh::setw ==> std::setw
That SHOULD do the trick, but then it doesn't output anything to a file. What a clusterfuck

EnhSim, shaman DPS simulator

Offline
Old 12/09/08, 1:57 PM   #942
Nevets_69
Piston Honda
 
Nevets_69's Avatar
 
Orc Shaman
 
<TG>
Arthas
Originally Posted by Bonquida View Post
I finally successfully ran Enhsim after dinking with it fruitlessly for a while (yay for googling the error message). After putting in all of my values, I clicked "Simulate" and the following appeared:

"Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately."

Obviously I have a problem. I can only hope that this isn't the result of me not doing some idiotically simple thing that I should obviously have done.

I can post the details section of the error message if this isn't enough to go on. I seem to encounter every possible problem under the sun with every new thing I try.

Anyhow, I appreciate any help on the subject.
This error is a little more obvious. In the lower right of the gui, you have to change which .exe is being targetted. By default the gui is still trying to use Enhsim_80.exe which no longer exists. Just change it to target the correct Enhsim.exe file. I did this a couple of times before facepalming. Then everything worked fine.

Elemental Shaman: You're OOM.
Enhancement Shaman: So are you.

Offline
Old 12/09/08, 1:58 PM   #943
Malan
Mind the gap.
 
Malan's Avatar
 
Malan
Tauren Shaman
 
No WoW Account
Ok we're getting somewhere now Tukez! The repack you just posted had only one failure this time (and 5 warnings mostly about unused vars).

Linking /Users/zach/EnhanceSim/build/EnhanceSim.build/Release/EnhanceSim.build/Objects-normal/ppc/EnhanceSim (1 error)
Line Location Tool:0: Command /Developer/usr/bin/g++-4.0 failed with exit code 1
Line Location Tool:0: duplicate symbol _get_idstring in /Users/zach/EnhanceSim/build/EnhanceSim.build/Release/EnhanceSim.build/Objects-normal/ppc/test.o and /Users/zach/EnhanceSim/build/EnhanceSim.build/Release/EnhanceSim.build/Objects-normal/ppc/SFMT.o

    cd /Users/zach/EnhanceSim
    /Developer/usr/bin/g++-4.0 -o /Users/zach/EnhanceSim/build/EnhanceSim.build/Release/EnhanceSim.build/Objects-normal/ppc/EnhanceSim -L/Users/zach/EnhanceSim/build/Release -F/Users/zach/EnhanceSim/build/Release -filelist /Users/zach/EnhanceSim/build/EnhanceSim.build/Release/EnhanceSim.build/Objects-normal/ppc/EnhanceSim.LinkFileList -arch ppc -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk
ld: duplicate symbol _get_idstring in /Users/zach/EnhanceSim/build/EnhanceSim.build/Release/EnhanceSim.build/Objects-normal/ppc/test.o and /Users/zach/EnhanceSim/build/EnhanceSim.build/Release/EnhanceSim.build/Objects-normal/ppc/SFMT.o

collect2: ld returned 1 exit status
	ld: duplicate symbol _get_idstring in /Users/zach/EnhanceSim/build/EnhanceSim.build/Release/EnhanceSim.build/Objects-normal/ppc/test.o and /Users/zach/EnhanceSim/build/EnhanceSim.build/Release/EnhanceSim.build/Objects-normal/ppc/SFMT.o
	collect2: ld returned 1 exit status


And in case you care to later clean up the source, here are the warnings too -
    cd /Users/zach/EnhanceSim
    /Developer/usr/bin/gcc-4.0 -x c++ -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic -Wreturn-type -Wunused-variable -fmessage-length=0 -mtune=G5 -fvisibility=hidden -fvisibility-inlines-hidden -mmacosx-version-min=10.5 -gdwarf-2 -I/Users/zach/EnhanceSim/build/EnhanceSim.build/Release/EnhanceSim.build/EnhanceSim.hmap -F/Users/zach/EnhanceSim/build/Release -I/Users/zach/EnhanceSim/build/Release/include -Iboost_1_37_0 -I/Users/zach/EnhanceSim/build/EnhanceSim.build/Release/EnhanceSim.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.5.sdk -c /Users/zach/EnhanceSim/enhsimconfig.cpp -o /Users/zach/EnhanceSim/build/EnhanceSim.build/Release/EnhanceSim.build/Objects-normal/ppc/enhsimconfig.o
/Users/zach/EnhanceSim/enhsimconfig.cpp: In member function 'f32 EnhSimConfig::calculateEPValues(const f32&)':
/Users/zach/EnhanceSim/enhsimconfig.cpp:2185: warning: unused variable 'skipped'
	/Users/zach/EnhanceSim/enhsimconfig.cpp:2185: warning: unused variable 'skipped'
    cd /Users/zach/EnhanceSim
    /Developer/usr/bin/gcc-4.0 -x c++ -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic -Wreturn-type -Wunused-variable -fmessage-length=0 -mtune=G5 -fvisibility=hidden -fvisibility-inlines-hidden -mmacosx-version-min=10.5 -gdwarf-2 -I/Users/zach/EnhanceSim/build/EnhanceSim.build/Release/EnhanceSim.build/EnhanceSim.hmap -F/Users/zach/EnhanceSim/build/Release -I/Users/zach/EnhanceSim/build/Release/include -Iboost_1_37_0 -I/Users/zach/EnhanceSim/build/EnhanceSim.build/Release/EnhanceSim.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.5.sdk -c /Users/zach/EnhanceSim/globalutil.cpp -o /Users/zach/EnhanceSim/build/EnhanceSim.build/Release/EnhanceSim.build/Objects-normal/ppc/globalutil.o
In file included from /Users/zach/EnhanceSim/SFMT/SFMT.c:16,
                 from /Users/zach/EnhanceSim/globalutil.cpp:7:
/Users/zach/EnhanceSim/SFMT/SFMT-params.h:6:4: warning: #warning "MEXP is not defined. I assume MEXP is 19937."
	                 from /Users/zach/EnhanceSim/globalutil.cpp:7:
		In file included from /Users/zach/EnhanceSim/SFMT/SFMT.c:16,
			/Users/zach/EnhanceSim/SFMT/SFMT-params.h:6:4: warning: #warning "MEXP is not defined. I assume MEXP is 19937."
    cd /Users/zach/EnhanceSim
    /Developer/usr/bin/gcc-4.0 -x c -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic -Wreturn-type -Wunused-variable -fmessage-length=0 -mtune=G5 -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -I/Users/zach/EnhanceSim/build/EnhanceSim.build/Release/EnhanceSim.build/EnhanceSim.hmap -F/Users/zach/EnhanceSim/build/Release -I/Users/zach/EnhanceSim/build/Release/include -Iboost_1_37_0 -I/Users/zach/EnhanceSim/build/EnhanceSim.build/Release/EnhanceSim.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.5.sdk -c /Users/zach/EnhanceSim/SFMT/SFMT.c -o /Users/zach/EnhanceSim/build/EnhanceSim.build/Release/EnhanceSim.build/Objects-normal/ppc/SFMT.o
In file included from /Users/zach/EnhanceSim/SFMT/SFMT.c:16:
/Users/zach/EnhanceSim/SFMT/SFMT-params.h:6:4: warning: #warning "MEXP is not defined. I assume MEXP is 19937."
	In file included from /Users/zach/EnhanceSim/SFMT/SFMT.c:16:
		/Users/zach/EnhanceSim/SFMT/SFMT-params.h:6:4: warning: #warning "MEXP is not defined. I assume MEXP is 19937."
    cd /Users/zach/EnhanceSim
    /Developer/usr/bin/gcc-4.0 -x c -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic -Wreturn-type -Wunused-variable -fmessage-length=0 -mtune=G5 -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -I/Users/zach/EnhanceSim/build/EnhanceSim.build/Release/EnhanceSim.build/EnhanceSim.hmap -F/Users/zach/EnhanceSim/build/Release -I/Users/zach/EnhanceSim/build/Release/include -Iboost_1_37_0 -I/Users/zach/EnhanceSim/build/EnhanceSim.build/Release/EnhanceSim.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.5.sdk -c /Users/zach/EnhanceSim/SFMT/test.c -o /Users/zach/EnhanceSim/build/EnhanceSim.build/Release/EnhanceSim.build/Objects-normal/ppc/test.o
In file included from /Users/zach/EnhanceSim/SFMT/SFMT.c:16,
                 from /Users/zach/EnhanceSim/SFMT/test.c:19:
/Users/zach/EnhanceSim/SFMT/SFMT-params.h:6:4: warning: #warning "MEXP is not defined. I assume MEXP is 19937."
	                 from /Users/zach/EnhanceSim/SFMT/test.c:19:
		In file included from /Users/zach/EnhanceSim/SFMT/SFMT.c:16,
			/Users/zach/EnhanceSim/SFMT/SFMT-params.h:6:4: warning: #warning "MEXP is not defined. I assume MEXP is 19937."
    cd /Users/zach/EnhanceSim
    /Developer/usr/bin/gcc-4.0 -x c++ -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic -Wreturn-type -Wunused-variable -fmessage-length=0 -mtune=G5 -fvisibility=hidden -fvisibility-inlines-hidden -mmacosx-version-min=10.5 -gdwarf-2 -I/Users/zach/EnhanceSim/build/EnhanceSim.build/Release/EnhanceSim.build/EnhanceSim.hmap -F/Users/zach/EnhanceSim/build/Release -I/Users/zach/EnhanceSim/build/Release/include -Iboost_1_37_0 -I/Users/zach/EnhanceSim/build/EnhanceSim.build/Release/EnhanceSim.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.5.sdk -c /Users/zach/EnhanceSim/skills.cpp -o /Users/zach/EnhanceSim/build/EnhanceSim.build/Release/EnhanceSim.build/Objects-normal/ppc/skills.o
/Users/zach/EnhanceSim/skills.cpp: In member function 'void LightningShield::consumeCharge()':
/Users/zach/EnhanceSim/skills.cpp:682: warning: unused variable 'dmg'
	/Users/zach/EnhanceSim/skills.cpp:682: warning: unused variable 'dmg'

United States Offline
Old 12/09/08, 2:10 PM   #944
gilf
Glass Joe
 
Draenei Shaman
 
Arygos
That looks like the same linking error I was getting with versions 1.3.4 on, Malan.

One thing I haven't tried is compiling the 1.3.4 source included with MacEnh 1.0. Perhaps there was some change made that Rosabeuf's developer buddy neglected to mention.

If there isn't, then something about our environment has changed since MacEnh 1.0 was compiled...

Offline
Old 12/09/08, 2:29 PM   #945
tukez
Don Flamenco
 
Orc Shaman
 
Dragonblight (EU)
Originally Posted by gilf View Post
That looks like the same linking error I was getting with versions 1.3.4 on, Malan.

One thing I haven't tried is compiling the 1.3.4 source included with MacEnh 1.0. Perhaps there was some change made that Rosabeuf's developer buddy neglected to mention.

If there isn't, then something about our environment has changed since MacEnh 1.0 was compiled...
Ok, I noticed you included every file in the source dir including subdirs. Problem is that in the SFMT directory, there is test.c, which is a test program for SFMT. This of course messes up the linking. You can exclude the test.c from the project, so it doesn't get compiled. Actually you should include only the source dir, not the subdirs. It should work because subdirs have only header files.

Remember to put some optimization flags on when you compile. Here are some flags, which should work http://www.linuxfromscratch.org/hint...timization.txt.

EnhSim, shaman DPS simulator

Offline
Old 12/09/08, 2:40 PM   #946
Malan
Mind the gap.
 
Malan's Avatar
 
Malan
Tauren Shaman
 
No WoW Account
New error thrown after excluding the SMTF code from the build -

Line Location c++locale.h:72: error: 'snprintf' is not a member of 'std'
Line Location c++locale.h:72: error: 'snprintf' is not a member of 'std'

These are being thrown [while compiling] from effects.cpp and consumables.cpp

Looks like xcode doesn't like this block from c++locale.h
#ifdef _GLIBCXX_USE_C99
      const int __ret = std::snprintf(__out, __size, __fmt, __prec, __v);
#else
      const int __ret = std::sprintf(__out, __fmt, __prec, __v);
#endif

Last edited by Malan : 12/09/08 at 2:50 PM.

United States Offline
Old 12/09/08, 2:51 PM   #947
tukez
Don Flamenco
 
Orc Shaman
 
Dragonblight (EU)
Originally Posted by Malan View Post
New error thrown after excluding the SMTF code from the build -

Line Location c++locale.h:72: error: 'snprintf' is not a member of 'std'
Line Location c++locale.h:72: error: 'snprintf' is not a member of 'std'

These are being thrown from effects.cpp and consumables.cpp
Hard to say, I don't use snprintf anywhere...I found this: Re: Compile Error: 'snprintf' is not a member of 'std'. You could try to include that #include <cstring> in those files.

Another solution I found: Nabble - Boost - Users - Mac Xcode 3.0 Boost compile issue

Hi,
I had the same problem with Xcode 3 and boost 1.34.1.

To fix my problem, I had to uncheck the "recursive" checkbox button in the "Header Search Paths" section of the "Debug" target project settings for the boost header path. Once I unchecked the "recursive" checkbox, I was able to compile my target.

I hope this helps you.

EnhSim, shaman DPS simulator

Offline
Old 12/09/08, 3:01 PM   #948
Malan
Mind the gap.
 
Malan's Avatar
 
Malan
Tauren Shaman
 
No WoW Account
Bah, shit that was it. I still had the recursive box checked. It just built fine!

I'll repost a set of OS X instructions for you in a few minutes once I verify its working properly with a config file.

Voila!
Attached Thumbnails
sim_grab.jpg  

Last edited by Malan : 12/09/08 at 3:07 PM.

United States Offline
Old 12/09/08, 3:10 PM   #949
gilf
Glass Joe
 
Draenei Shaman
 
Arygos
We win!

Good job Malan and especially thanks tukez!

Offline
Old 12/09/08, 3:14 PM   #950
Malan
Mind the gap.
 
Malan's Avatar
 
Malan
Tauren Shaman
 
No WoW Account
Compile instructions for mac:
  • Invoke xCode (install from OS X cds under Developer Tools if you don't have it)
  • Start a new project (the name of the project will by default be the name of the binary that you have to run, so be concise). Immediately delete the main.cpp file when the project appears.
  • Right click in the left panel of xCode on the name of the project and choose Add -> Existing Files, then browse to the source code for EnhSim and choose all the files, including the SFMT subdirectory.
  • In the list of source files in xCode, un-check the box in the right-most column next to the test.c and SFMT.c files so that these are not included in the build.
  • Edit the file enhsim.h (double click it) and add the text "#define NOTHREADS", then save the file. (CMD-S)
  • In finder, unpack and then copy Boost (Should appear as something like 'boost_1_37_0' when unpacked) directly to the project path that you created in xCode. Do not do this *in* xCode, do it in Finder.
  • In the main menu choose Project -> Edit Project Settings then the Build tab. Scroll down till you see the header that says "Search Paths". Double click the entry for "Header Search Paths", and in the dialog use the + button to add a new path. You must ensure that the 'Recursive' checkbox is cleared or the build will fail. Type in the relative path to the Boost folder you copied, it should look like: "boost_1_37_0" and then close the menu.
  • In xCode choose Build. When its complete your binary executable for the sim will appear in [path to project]/[project name]/build/Release. You can copy the binary file to anywhere else in the system so that you can run it in Terminal with your config file.

Final step - tell your wife she no longer has to be pissy that you have to use her windows laptop to run the sim.

United States Offline
Closed Thread

Go Back   Elitist Jerks » Shamans

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
DPS Simulator Grim13 Warriors 133 11/12/08 8:20 AM
Teron Gorefiend Ghost Simulator Zugstab Public Discussion 31 01/16/08 8:14 PM
[Mage] DPS Simulator zurmagus Class Mechanics 41 11/08/07 10:11 PM
[Shaman] Experimental combat simulator draghkar Class Mechanics 182 08/30/07 5:33 AM