ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 11-30-2010
Robert Liu Robert Liu is offline
Flexsim User
 
Join Date: Oct 2009
Posts: 24
Downloads: 70
Uploads: 0
Thanks: 13
Thanked 0 Times in 0 Posts
Rep Power: 129
Robert Liu is on a distinguished road
Default compiling error

when I compile my model, each model, comliler error will apear like the pictures.
who can tell me why?
I use Flexsim5, my OS is win764 bit.
Thanks a lot!
Attached Files
File Type: zip compiler error.zip (51.7 KB, 158 views)
  #2  
Old 12-01-2010
Lars-Olof Leven Lars-Olof Leven is offline
Flexsim Distributor
 
Join Date: Aug 2007
Location: Sweden, Borlnge
Posts: 312
Downloads: 278
Uploads: 2
Thanks: 300
Thanked 256 Times in 139 Posts
Rep Power: 330
Lars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to behold
Default

Hi,

3 questions.
  1. Why do you want to compile the model? Normally you do not need to compile your model.
  2. Do you have Visual Studio C++ installed? It must be 2005 or newer.
  3. If Visual C++ is installed have you configured to the right version?
Lars-Olof
The Following User Says Thank You to Lars-Olof Leven For This Useful Post:
Phil BoBo (12-01-2010)
  #3  
Old 12-01-2010
Jason Lightfoot Jason Lightfoot is offline
Flexsim Consultant
 
Join Date: Aug 2007
Location: Somerset, UK
Posts: 719
Downloads: 20
Uploads: 0
Thanks: 123
Thanked 953 Times in 446 Posts
Rep Power: 773
Jason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond repute
Default

Also if it's not taking you to model errors, have you tried running 'Compile Entire Session'?
The Following User Says Thank You to Jason Lightfoot For This Useful Post:
Phil BoBo (12-01-2010)
  #4  
Old 12-02-2010
Robert Liu Robert Liu is offline
Flexsim User
 
Join Date: Oct 2009
Posts: 24
Downloads: 70
Uploads: 0
Thanks: 13
Thanked 0 Times in 0 Posts
Rep Power: 129
Robert Liu is on a distinguished road
Default

Thanks Lars-Olof and Jason!
compile is useful when I had made my model through C++ codes?
I had tried running 'Compile entire session',the error is same. Oh!!!
my Visual C++ installed is like the picture show.
Attached Thumbnails
Click image for larger version
Name:	vs2008.JPG
Views:	155
Size:	76.1 KB
ID:	1203  
  #5  
Old 12-02-2010
Lars-Olof Leven Lars-Olof Leven is offline
Flexsim Distributor
 
Join Date: Aug 2007
Location: Sweden, Borlnge
Posts: 312
Downloads: 278
Uploads: 2
Thanks: 300
Thanked 256 Times in 139 Posts
Rep Power: 330
Lars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to behold
Default

Hi,

With out the model it is almost impossibly to know what the problem is.

My guess is is that there is some problem with your C++ code you have added.
When I asked to open Visual C++, do that and the compile the code from Visual C++.
Then you will get better error message and hopefully that will help you to find what the problem is.

Lars-Olof
  #6  
Old 12-02-2010
Jason Lightfoot Jason Lightfoot is offline
Flexsim Consultant
 
Join Date: Aug 2007
Location: Somerset, UK
Posts: 719
Downloads: 20
Uploads: 0
Thanks: 123
Thanked 953 Times in 446 Posts
Rep Power: 773
Jason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond repute
Default

Does Flexsim compile okay without any model loaded? Same for the Entire Session with no model? If so, then I agree with Lars-Olof.


Thread Thread Starter Forum Replies Last Post
Compiling a DLL in release mode Steven Hamoen Q&A 1 04-29-2010 09:02 AM
compiling all models, all such problems,why? LINWEIXU Q&A 9 07-31-2009 12:46 AM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.