- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
When I am trying to build exeramsess, errors pop up such as "error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MODELING]" ..... The problem Visual studio isnt being able to fetch the modules(.mod files) which are in the same directory. What should I do?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Were the .mod files compiled by the same compiler you're using to build the application? Your screenshot doesn't show anything helpful in diagnosing the problem. (The buildlog.htm would give a clue - zip it and attach to a reply here.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve,
So the problem is my compiler is not knowing where to fetch the .mod files . (We tried the same project on another laptop it worked fine).
I open Uramses.sln then rebuild the exeramses as shown in the first image.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Where is the file modeling.mod?
In the solution folder, for the project that builds the application, have you set the Additional Include Directories to something like this:
** Note, in your case, the Configuration should be Debug.
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
All the modules are in modules file, I did as you told me by including them in additional directory. However, several errors popped up.
But errors related to include path disappeared.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When a module is built, it produces two files:
YourModuleNameHere.mod
YourModuleNameHere.obj
The .mod files are analogous to a .h file
And the .obj file (when generated), contains the static data and/or contained code.
On your system that works, look for the .obj files and include them in your build
*** Typically, when the modules are NOT built in the solution, one builds the module files in a library project (either static or .dll).
*** This produces one or more .mod files and a .lib file (or .dll with export library .lib).
The error messages indicate that the .lib (or .obj) files are not linked into your application.
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For example, downloading the newest version from github "https://github.com/SPS-L/URAMSES" and following the steps by including my file. I then add the directory to tell my compiler from where it can fetch the modules. Inside the modules folder, there is an libramses.lib is that what are you talking about or these in the debug folder (if these I also included them in the additional directory and still getting the same error?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>> there is an libramses.lib is that what are you talking about
yes
From part of your screenshot:
...
...
It would appear that the library holding the output for "OBSERV_MOD" was not loaded.
And the .DLL import library for the module "BRANCH" was not loaded.
Jim Dempsey

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page