- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all, I've successfully compiled the source code for a video demo (written by someone else) under windows/cygwin.
However I'm now doing identically the same except on Ubuntu Linux nios command shell. The make fails to locate simple header files 'no such file or directory' - but the files are present and correct! nios2-elf-gcc -xc -etc... -etc... -c -Isrc/alt_video_display -Isrc/alt_ etc.. etc... Surely if the -I is correct for the correct folders, then the compiler must be able to locate the include files? I'm a newbie - is this use of -I correct for the folder ./src/alt_video_display? (the error occurs with several folders/files (same command is fine under cygwin)) The makefile was generated by a script written by the author - I cant see why it works with cygwin but fails on linux with such a simple fault. Any help appreciated, cheers, JB.Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check that you've not mistyped the filenames - the linux filesystem will be case sensitive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Check that you've not mistyped the filenames - the linux filesystem will be case sensitive. --- Quote End --- Thanks but no typo mistakes! - as I say there is no difference between what successfully occured under windows/cygwin, and what I am now repeating on Linux - strange.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You were almost right - the author had used a backslash instead of a forward slash in paths to header files in some of the source code - hence it worked in cygwin, but not linux. Thanks, JB.

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