Closed fdan closed 8 years ago
We'd be happy to try to help, but you'd need to post more details. We have a google group for discussion about the language that is a good place to seek this kind of help. -A
Here are some of my notes from building on Windows:
set INCLUDE=%INCLUDE%;C:\Program Files (x86)\GnuWin32\include set LIB=%LIB%;C:\Program Files (x86)\GnuWin32\lib set PATH=%PATH%;C:\Program Files (x86)\GnuWin32\bin;C:\Qt\4.8.5\bin
Some dependencies:
C:/Program Files (x86)/CMake 2.8
C:/Qt/4.8.5
C:\Program Files
HTH
Janet
On Wed, Mar 26, 2014 at 7:10 PM, Andrew Selle notifications@github.comwrote:
We'd be happy to try to help, but you'd need to post more details. We have a google group for discussion about the language that is a good place to seek this kind of help. -A
Reply to this email directly or view it on GitHubhttps://github.com/wdas/SeExpr/issues/14#issuecomment-38762330 .
One more note, fwiw, the cmake command:
cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX:PATH=Z:\tmp\seexpr .. nmake
On Wed, Mar 26, 2014 at 7:10 PM, Andrew Selle notifications@github.comwrote:
We'd be happy to try to help, but you'd need to post more details. We have a google group for discussion about the language that is a good place to seek this kind of help. -A
Reply to this email directly or view it on GitHubhttps://github.com/wdas/SeExpr/issues/14#issuecomment-38762330 .
Hi Andrew, do you have a link for that google group? I couldn't see it anywhere.
Janet, that is very helpful thank you. I had been trying to track down deps one by one, but GnuWin32 makes it much easier. Cmake now completes ok, but I have alot of nmake errors which make me suspect I have something wrong with my environment, a couple are shown below. Happy to puruse this on the google group though if that is a more appropriate place.
nmake output:
cl /DWIN32 /D_WINDOWS /W3 /Zm1000 /EHsc /GR /MD /O2 /Ob2 /D NDEBUG -IC:\ff\SeExpr\src\SeExpr -IC:\ff\SeExpr\src\SeExprEditor -DSeExpr_EXPORTS -DSEEXPR_WIN32 /TP /FoCMakeFiles\SeExpr.dir\SeCurve.obj /FdC:\ff\SeExpr\src\SeExpr\SeExpr.pdb -c C:\ff\SeExpr\src\SeExpr\SeCurve.cpp
SeCurve.cpp C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/INCLUDE\yvals.h(194) : warning C4068: unknown pragma C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/INCLUDE\yvals.h(199) : warning C4068: unknown pragma C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/INCLUDE\xtr1common(355) : error C2143: syntax error : missing ',' before '&&' C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/INCLUDE\xtr1common(356) : error C2143: syntax error : missing ';' before '{' C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/INCLUDE\xtr1common(358) : error C2143: syntax error : missing ';' before '}' ... NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~2.0\VC\bin\amd64\cl.exe' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\nmake.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\nmake.exe"' : return code '0x2' Stop.
Google group link: https://groups.google.com/forum/#!forum/seexpr-discuss
I just tried a build and didn't see these same errors. Two things I'm doing that may or may not help you:
1) I'm running my build commands from the Visual Studio Command Prompt, rather than from the VS UI.
2) I took a shortcut and copied over these generated files from a Linux build to my Windows build, ie:
src/SeExpr/generated/SeExprParser.cpp src/SeExpr/generated/SeExprParserLex.cpp src/SeExpr/generated/SeExprParser.tab.h
src/SeExprEditor/generated/SeExprSpecParser.cpp src/SeExprEditor/generated/SeExprSpecParserLex.cpp src/SeExprEditor/generated/SeExprSpecParser.tab.h
Let me see how I can best share these generated files so you can try your build with them.
Okay, I put these files in a /windows7 directory in the code base. It's currently awaiting a pull request into the mainline.
If you still need help with building for Windows, please see this discussion in the forum and feel free to add any comments or questions:
https://groups.google.com/forum/#!topic/seexpr-discuss/TAsGkXIjiH4
Janet
Any chance some info on the dependencies could be provided (or pointed out if I'm overlooking it)? Trying to compile in Windows 7 with quite a few problems with zlib, libpng, qt. For instance I have qt installed, and cmake finds most of it, but outputs quite a few errors. The resulting VS file is only 1kb and can't be opened.