Problem Building Win32

Discussion and help for Compilation problems and platform portability.

Moderators: Dade, coordinators

Re: Problem Building Win32

Postby Lord Crc » Tue Jul 14, 2009 10:28 am

In the custom build step for luxparse.y, is bison prefixed by a path? If not, have you added the path to bison (and flex) to the system path? Otherwise change the build step to specify the correct path to bison (and flex).
May contain traces of nuts.
User avatar
Lord Crc
Developer
 
Posts: 5032
Joined: Sat Nov 17, 2007 2:10 pm

Re: Problem Building Win32

Postby SolaraSolarwind » Wed Jul 15, 2009 9:03 am

Lord Crc wrote:In the custom build step for luxparse.y, is bison prefixed by a path? If not, have you added the path to bison (and flex) to the system path? Otherwise change the build step to specify the correct path to bison (and flex).


Actually... :oops: I must admit.... I am not really a programmer, and I deeply apologize for not being able to answer your question.

Also, I am unsure how to change the build step to specify the correct path to bison and flex. I have just learned what a compiler is as of the day I made this post. Would you be willing to explain to me how I can make those adjustments to the paths?

Also, is wxWidgets necessary to build this renderer?

Sincerely

Solara
SolaraSolarwind
 
Posts: 44
Joined: Sat Jun 27, 2009 8:14 am

Re: Problem Building Win32

Postby Lord Crc » Wed Jul 15, 2009 11:04 am

If you want to build the GUI you'll need wxWidgets. I also use wxWidgets for jpeg/png/tiff support. As I mentioned in the chat, the "UK Mirror" download site seems to work, so try that.

I assume you're using Visual Studio. Open the solution, and in the "Solution Explorer" find the "Parser Files" folder, and under it you should find luxlex.l and luxparse.y.

ss1.png


Right click on luxparse.y and select properties, and select "Custom build step". Either modify the path to bison there, or add the directory with bison and flex to the system path and remove all path info from the build step (which is what I have done).

ss2.png
May contain traces of nuts.
User avatar
Lord Crc
Developer
 
Posts: 5032
Joined: Sat Nov 17, 2007 2:10 pm

Re: Problem Building Win32

Postby SolaraSolarwind » Sat Jul 18, 2009 9:08 pm

WOW thankyou for the quick reply! I truly appreciate your help dear! Thankyou so much!

I did get the parser working, I placed both bison and flex (located in the bin folder under the Gnuwin32 directory) into the "c:\luxrender source/lux/core/" directory

Unfortunately Express Studio C++ does not seem to recognize Flex.... :roll:
I wonder if having Visual Express Studio has anything to do with this....

Anyway, I really appreciate your effort to help in this situation. Thankyou dear!

Sincerely

Solara
SolaraSolarwind
 
Posts: 44
Joined: Sat Jun 27, 2009 8:14 am

Re: Problem Building Win32

Postby patlecoq » Sun Jul 19, 2009 7:05 am

Unfortunately Express Studio C++ does not seem to recognize Flex.... :roll:
I wonder if having Visual Express Studio has anything to do with this....

I compile LuxRender with Visual C++ 2008 Express Edition without any problem.
I adapted Lord Crc explinations to 32 bit and it worked fine:
viewtopic.php?f=13&t=357&p=8335&hilit=automated#p8335

Patrice
patlecoq
 
Posts: 92
Joined: Wed Feb 27, 2008 9:07 am

Re: Problem Building Win32

Postby SolaraSolarwind » Thu Jul 23, 2009 10:31 am

oh? Okay I will try that! thankyou for your help as well patrice!
SolaraSolarwind
 
Posts: 44
Joined: Sat Jun 27, 2009 8:14 am

Previous

Return to Compilation & Portability

Who is online

Users browsing this forum: No registered users and 1 guest