- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have about 13 projects in my solution (some are libraries, some are executables) and I am running into some bizarre LNK errors.
I am wondering if there is a limit to the number of projects you can have in one solution... If yes... what is it?
Thanks,
Olivier
I am wondering if there is a limit to the number of projects you can have in one solution... If yes... what is it?
Thanks,
Olivier
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oliver,
I have a solution with 13 projects no problems.
You do have to get your dependencies correct and you have to be aware that modules produce a .mod file (similar to a precompiled header) and dependent on the contents of the module an .obj file containing the code and/or initialization data. The .mod file has to be in your include path and the .obj files have to be in a modules path. This was confusing to me at first.
The confusing thing is the _input_ path for modules is specified in the Fortran | Output Files property page under the assumption that theFortran compilation of your Main is the project producing the module .obj files. In my case and most likely yours the module .obj files (and .mod files)are created in a seperate project. The output path of the Main (or the librarian) has to include the output path of the project that was used to create the module .obj files.
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - opmkl
I have about 13 projects in my solution (some are libraries, some are executables) and I am running into some bizarre LNK errors.
I am wondering if there is a limit to the number of projects you can have in one solution... If yes... what is it?
Thanks,
Olivier
I am wondering if there is a limit to the number of projects you can have in one solution... If yes... what is it?
Thanks,
Olivier
I have a solution with 44 projects. It's work fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jim,
Thanks for your answer - I was actually able to find the source of the error. As you pointed out, I didn't have my project dependencies updated (talk about a silly mistake...). So, all the input paths for my libraries and include files were correct, but I didn't check any of the boxes you get when you right click a project's icon then choose Project dependencies... I wasted an entire afternoon trying to understand why a seemingly innocent project was suddenly wreaking havoc in my solution.
Thanks again!
Olivier
Thanks for your answer - I was actually able to find the source of the error. As you pointed out, I didn't have my project dependencies updated (talk about a silly mistake...). So, all the input paths for my libraries and include files were correct, but I didn't check any of the boxes you get when you right click a project's icon then choose Project dependencies... I wasted an entire afternoon trying to understand why a seemingly innocent project was suddenly wreaking havoc in my solution.
Thanks again!
Olivier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Olivier,
Also note, when upgrading versions of software, occacionally the dependencies go away. Keep this in mind for problems after upgrade.
Jim

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